summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* firmware-utils/mktplinkfw: add support for the TL-WDR4900 v1juhosg2013-02-131-0/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35593 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: enable swconfig and the ar8216 driverjuhosg2013-02-131-0/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35592 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: enable the squashfs driverjuhosg2013-02-131-1/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: enable XZ_DEC_BCJ and XZ_DEC_POWERPC supportjuhosg2013-02-131-0/+2
| | | | | | | | | | | | | | | | | Squashfs is unable to decompress some blocks without that: [ 199.494500] SQUASHFS error: xz_dec_run error, data probably corrupt [ 199.500910] SQUASHFS error: squashfs_read_data failed to read block 0xbff26 [ 199.508016] SQUASHFS error: Unable to read data cache entry [bff26] [ 199.514440] SQUASHFS error: Unable to read page, block bff26, size 153f8 [ 199.521311] SQUASHFS error: Unable to read data cache entry [bff26] [ 199.527724] SQUASHFS error: Unable to read page, block bff26, size 153f8 [ 199.534594] SQUASHFS error: Unable to read data cache entry [bff26] [ 199.541009] SQUASHFS error: Unable to read page, block bff26, size 153f8 Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35590 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix factory image creation for dir-825-c1juhosg2013-02-131-1/+1
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix switch-config for dir-825-c1juhosg2013-02-131-7/+1
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: configure vlan correctly on some recent devices.hauke2013-02-131-1/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: add support for BCM53125hauke2013-02-131-3/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35586 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: resetting and enabling vlan write for gigabit switcheshauke2013-02-131-7/+45
| | | | | | | | | This patch makes it possible to reset and enable writing vlans to recent switchs. This is based on a patch by jcharest and the Broadcom SDK. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35585 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: read and write vlan config from and to gigabit switcheshauke2013-02-131-30/+105
| | | | | | | | | This patch makes it possible to read and write the vlan config from and to recent switchs. This is based on a patch by jcharest and the Broadcom SDK. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: improve robo_switch_enable()hauke2013-02-131-2/+6
| | | | | | | This is based on a patch by jcharest and the Broadcom SDK. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: fix switches with more than 6 portshauke2013-02-131-4/+9
| | | | | | | This is based on a patch by jcharest and the Broadcom SDK. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: reverse if else in handle_vlan_port_read()hauke2013-02-131-14/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: the BCM5365 is a special switch and the BCM5350 or BCM5325 is the ↵hauke2013-02-132-47/+40
| | | | | | | | | normal case. This makes it easier to compare this code with the code from the Broadcom SDK. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: reset switch before using it.hauke2013-02-131-2/+70
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35579 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: improve error handling in robo_probe()hauke2013-02-131-13/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35578 3c298f89-4303-0410-b956-a3cf2f4a3e73
* switch: run cleanfile over the source codehauke2013-02-131-3/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35577 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add some small fixes for minstrel_ht CCK supportnbd2013-02-131-9/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35576 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add some more fixes to bgmachauke2013-02-121-7/+35
| | | | | | | Thank you Rafał Miłecki and Nathan Hintz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35574 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update tg3 to the version send upstreamhauke2013-02-121-114/+63
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35573 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: remove boards suffixluka2013-02-121-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35572 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.7juhosg2013-02-1218-19/+19
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: allow setting a user-provided prefix as wellcyrus2013-02-123-3/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: fix bad PKG_RELEASE in previous commitjow2013-02-111-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35569 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iptables: add --lenient switch to iptables-restore and ip6tables-restore ↵jow2013-02-112-2/+174
| | | | | | that allows to skip erroneous lines git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35568 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add script for automatic switch name migrationjuhosg2013-02-111-0/+106
| | | | | | | | Thanks to Jonas Gorski for the help. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35567 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add CCK rate support to minstrel_ht to improve rangenbd2013-02-111-0/+518
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35566 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211/hostapd: short_preamble is a per-vif option and should be enabled ↵nbd2013-02-112-3/+4
| | | | | | by default git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35565 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow unknown multicast frames to pass to the CPU on AR934xnbd2013-02-111-2/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35564 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar8216: remove superfluous code from ar8216_config_initjuhosg2013-02-111-12/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35562 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use switchX names in network configurationjuhosg2013-02-111-34/+34
| | | | | | | | | | | | Accessing the AR8xxx switches via the name of the attached ethernet device is not possible since r35560. Change the uci-defaults script to use switchX names in switch configurations. Reported-by: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35561 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: don't use ethernet device name in register_switchjuhosg2013-02-111-3/+4
| | | | | | | | | | The switches are accessed via an MDIO bus. Set the alias to the name of the MDIO bus, and show that in the message along with the name of the switch switch device. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: reuse the private data from ar8216_probejuhosg2013-02-111-33/+40
| | | | | | | | | | | The private data of the switch is already allocated in ar8216_priv, assign that to each PHY on the same MDIO bus. Also remove the redundant code from ar8216_config_init. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35559 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use phydev instead of pdev everywherejuhosg2013-02-111-33/+33
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35555 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: use pr_* macros for kernel messagesjuhosg2013-02-111-8/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35554 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: Various bugfixescyrus2013-02-111-2/+2
| | | | | | | * Don't send undesired suggestions for preferred and valid lifetimes * Be less verbose in logging git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35553 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: fix PHY features setupjuhosg2013-02-111-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | Sujith says: This commit breaks the WAN port on my AP96 - DHCP fails. Reverting it fixes the issue. commit b67cc3a0cdd02973610d4d5a63226d1c44841e94 Author: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Fri Feb 8 09:13:18 2013 +0000 generic: ar8216: simplify phy features setup Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@355183c298f89-4303-0410-b956-a3cf2f4a3e73 This change restores the previous behaviour and moves the code into the ar8216_probe function. Reported-by: Sujith Manoharan <sujith@msujith.org> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Tested-by: Sujith Manoharan <sujith@msujith.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35549 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add ar8xxx_probe_switch helperjuhosg2013-02-101-31/+42
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: rename ar8xxx_mib_cleanup to ar8xxx_mib_stopjuhosg2013-02-101-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: free mib counters from ar8xxx_freejuhosg2013-02-101-4/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add ar8xxx_free helperjuhosg2013-02-101-6/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add ar8xxx_create{,mii} helpersjuhosg2013-02-101-14/+33
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35543 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: remove redundant phy address checkjuhosg2013-02-101-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35542 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: only set phy_ptr if packet mangling is usedjuhosg2013-02-101-2/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add defines for the AR8316 POSTRIP registerjuhosg2013-02-102-2/+32
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35539 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: don't probe the chip multiple timesjuhosg2013-02-101-8/+8
| | | | | | | | It is only needed when the private data is allocated. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35538 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: add sanity check to ar8216_probejuhosg2013-02-101-0/+41
| | | | | | | | | Verify that the mdio bus has PHY devices with a supported PHY ID at address 0-4. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35537 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: skip probe on unused PHY addressesjuhosg2013-02-101-0/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35536 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: register the micro sd card reader on RB493Gjogo2013-02-101-0/+3
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35535 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: b53: fix reverted error check in probejogo2013-02-101-1/+1
| | | | | | | | | | | | b53_switch_detect returns value returned by b53_read8, which is 0 for success. So fail (and return error) only if b53_switch_detect returned something else than 0. This fixes supported and advertising being zeros for MDIO access. Cc: Jonas Gorski <jogo@openwrt.org> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35534 3c298f89-4303-0410-b956-a3cf2f4a3e73