aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* generic: ar8216: move PHY4 RGMII workaround code out of the loopGabor Juhos2013-02-141-11/+11
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35603
* generic: ar8216: register the switch from the probe routineGabor Juhos2013-02-141-17/+12
| | | | | | | | | | | | | | | | | Currently the switch gets registered when an ethernet driver connects to a PHY of the switch. This method does not work with the ethernet drivers which are connecting to the PHY from their ndo_open callback. With those ethernet drivers, the driver tries to register the switch each time when the etherned device is opened and this causes a deadlock. Move the switch registration into the probe routine to fix this problem. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35602
* x86: update config-3.7 for x86 (turn off CONFIG_GPIO_ICH)Florian Fainelli2013-02-141-0/+1
| | | | | | | Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35601
* openssl: update OpenSSL to 1.0.1e, fix Cisco DTLS.Florian Fainelli2013-02-142-4/+34
| | | | | | | | | | | | | | | | 1.0.1d had a rushed fix for CVE-2013-0169 which broke in certain circumstances. 1.0.1e has the fix for TLS. Also include a further patch from the 1.0.1 branch which fixes the breakage this introduced for Cisco's outdated pre-standard version of DTLS, as used by OpenConnect. Update mirror URLs to reflect current reality. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 35600
* brcm47xx: if the cpuport of the switch is port 8 assume vlan0ports: "1 2 3 4 ↵Hauke Mehrtens2013-02-141-16/+8
| | | | | | 8" and vlan0ports: "0 8" SVN-Revision: 35597
* switch: export name of device found via /procHauke Mehrtens2013-02-144-1/+16
| | | | SVN-Revision: 35596
* switch: export cpuport, ports and vlans via /procHauke Mehrtens2013-02-141-0/+21
| | | | SVN-Revision: 35595
* firmware-utils/mktplinkfw: add support for the TL-WDR4900 v1Gabor Juhos2013-02-131-0/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35593
* mpc85xx: enable swconfig and the ar8216 driverGabor Juhos2013-02-131-0/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35592
* mpc85xx: enable the squashfs driverGabor Juhos2013-02-131-1/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35591
* mpc85xx: enable XZ_DEC_BCJ and XZ_DEC_POWERPC supportGabor Juhos2013-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> SVN-Revision: 35590
* ar71xx: fix factory image creation for dir-825-c1Gabor Juhos2013-02-131-1/+1
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35589
* ar71xx: fix switch-config for dir-825-c1Gabor Juhos2013-02-131-7/+1
| | | | | | | Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35588
* brcm47xx: configure vlan correctly on some recent devices.Hauke Mehrtens2013-02-131-1/+4
| | | | SVN-Revision: 35587
* switch: add support for BCM53125Hauke Mehrtens2013-02-131-3/+14
| | | | SVN-Revision: 35586
* switch: resetting and enabling vlan write for gigabit switchesHauke Mehrtens2013-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. SVN-Revision: 35585
* switch: read and write vlan config from and to gigabit switchesHauke Mehrtens2013-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. SVN-Revision: 35584
* switch: improve robo_switch_enable()Hauke Mehrtens2013-02-131-2/+6
| | | | | | This is based on a patch by jcharest and the Broadcom SDK. SVN-Revision: 35583
* switch: fix switches with more than 6 portsHauke Mehrtens2013-02-131-4/+9
| | | | | | This is based on a patch by jcharest and the Broadcom SDK. SVN-Revision: 35582
* switch: reverse if else in handle_vlan_port_read()Hauke Mehrtens2013-02-131-14/+16
| | | | SVN-Revision: 35581
* switch: the BCM5365 is a special switch and the BCM5350 or BCM5325 is the ↵Hauke Mehrtens2013-02-132-47/+40
| | | | | | | | normal case. This makes it easier to compare this code with the code from the Broadcom SDK. SVN-Revision: 35580
* switch: reset switch before using it.Hauke Mehrtens2013-02-131-2/+70
| | | | SVN-Revision: 35579
* switch: improve error handling in robo_probe()Hauke Mehrtens2013-02-131-13/+16
| | | | SVN-Revision: 35578
* switch: run cleanfile over the source codeHauke Mehrtens2013-02-131-3/+3
| | | | SVN-Revision: 35577
* mac80211: add some small fixes for minstrel_ht CCK supportFelix Fietkau2013-02-131-9/+9
| | | | SVN-Revision: 35576
* brcm47xx: add some more fixes to bgmacHauke Mehrtens2013-02-121-7/+35
| | | | | | Thank you Rafał Miłecki and Nathan Hintz SVN-Revision: 35574
* brcm47xx: update tg3 to the version send upstreamHauke Mehrtens2013-02-121-114/+63
| | | | SVN-Revision: 35573
* mvebu: remove boards suffixLuka Perkov2013-02-121-2/+2
| | | | SVN-Revision: 35572
* kernel: update linux 3.7 to 3.7.7Gabor Juhos2013-02-1218-19/+19
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35571
* odhcp6c: allow setting a user-provided prefix as wellSteven Barth2013-02-123-3/+7
| | | | SVN-Revision: 35570
* iptables: fix bad PKG_RELEASE in previous commitJo-Philipp Wich2013-02-111-1/+1
| | | | SVN-Revision: 35569
* iptables: add --lenient switch to iptables-restore and ip6tables-restore ↵Jo-Philipp Wich2013-02-112-2/+174
| | | | | | that allows to skip erroneous lines SVN-Revision: 35568
* ar71xx: add script for automatic switch name migrationGabor Juhos2013-02-111-0/+106
| | | | | | | | Thanks to Jonas Gorski for the help. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35567
* mac80211: add CCK rate support to minstrel_ht to improve rangeFelix Fietkau2013-02-111-0/+518
| | | | SVN-Revision: 35566
* mac80211/hostapd: short_preamble is a per-vif option and should be enabled ↵Felix Fietkau2013-02-112-3/+4
| | | | | | by default SVN-Revision: 35565
* ar71xx: allow unknown multicast frames to pass to the CPU on AR934xFelix Fietkau2013-02-111-2/+4
| | | | SVN-Revision: 35564
* ar8216: remove superfluous code from ar8216_config_initGabor Juhos2013-02-111-12/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35562
* ar71xx: use switchX names in network configurationGabor Juhos2013-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> SVN-Revision: 35561
* generic: ar8216: don't use ethernet device name in register_switchGabor Juhos2013-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> SVN-Revision: 35560
* generic: ar8216: reuse the private data from ar8216_probeGabor Juhos2013-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> SVN-Revision: 35559
* generic: ar8216: use phydev instead of pdev everywhereGabor Juhos2013-02-111-33/+33
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35555
* generic: ar8216: use pr_* macros for kernel messagesGabor Juhos2013-02-111-8/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35554
* odhcp6c: Various bugfixes * Don't send undesired suggestions for preferred ↵Steven Barth2013-02-111-2/+2
| | | | | | and valid lifetimes * Be less verbose in logging SVN-Revision: 35553
* generic: ar8216: fix PHY features setupGabor Juhos2013-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> SVN-Revision: 35549
* generic: ar8216: add ar8xxx_probe_switch helperGabor Juhos2013-02-101-31/+42
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35547
* generic: ar8216: rename ar8xxx_mib_cleanup to ar8xxx_mib_stopGabor Juhos2013-02-101-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35546
* generic: ar8216: free mib counters from ar8xxx_freeGabor Juhos2013-02-101-4/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35545
* generic: ar8216: add ar8xxx_free helperGabor Juhos2013-02-101-6/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35544
* generic: ar8216: add ar8xxx_create{,mii} helpersGabor Juhos2013-02-101-14/+33
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35543
* generic: ar8216: remove redundant phy address checkGabor Juhos2013-02-101-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 35542