summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update linux 3.7 to 3.7.9juhosg2013-02-1715-15/+15
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: cleanup function/variable namesjuhosg2013-02-171-110/+110
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: rename struct ar8216_priv to ar8xxx_privjuhosg2013-02-171-94/+94
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35641 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the Mikrotik RB951G boardjuhosg2013-02-172-0/+4
| | | | | | | | | | [juhosg: change rb-951g to rb-951g-2hnd in the scripts] Patchwork: http://patchwork.openwrt.org/patch/3257/ Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the Mikrotik RB951G boardjuhosg2013-02-173-0/+264
| | | | | | | | | | | | | | | | | This is platform definition for the RB951G device. It's mostly rework of RB2011UAS patchset with network taken from the RB751 patches. The main difference is the flash layout used by this device. [juhosg: - remove dead code from mach-rb951g - add "-2HnD" suffix to the machine name - use a separate 615-MIPS-ath79-RB951G-support.patch] Patchwork: http://patchwork.openwrt.org/patch/3257/ Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35633 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add initial support for kernel 3.8hauke2013-02-1656-0/+8809
| | | | | | | | | | | | | This contains the following new bigger changes: * new partition parser which still could lake some features or have bugs * new nand flash driver * using physmap-flash flash driver for parallel flash * some changes to the serial flash driver With these changes OpenWrt starts using more of the mainline flash drivers. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix kmod-usb2 package namejuhosg2013-02-161-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix kmod-usb2 package namejuhosg2013-02-161-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: add input drivers to default packages, and load those during preinitjuhosg2013-02-162-1/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35626 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: BGMAC - Adjust AutoLoad number to be prior to switch moduleshauke2013-02-161-1/+1
| | | | | | | | | | | Adjust the "AutoLoad" number for the BGMAC module to be prior to the switch modules. This probably isn't real important as the modules are loaded in the correct order by preinit anyway. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35625 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: improve cpuport detection for filesafehauke2013-02-161-13/+9
| | | | | | | | | Do not try to load bcm57xx.ko any more this is not needed for kernel 2.6 and 3.X Ask the switch driver where the CPU port is. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix network config on simpleshare hauke2013-02-161-0/+6
| | | | | | | | | | | The included patch will generate a correct network configuration on the simpletech simpleshare. Thank you for the patch Will Holmes (RealOpty) This closes #12361. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35623 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: handle return values of cfe_env_get() correctly.hauke2013-02-161-4/+5
| | | | | | | This closes #12746. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35622 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: bgmac: fix unaligned accesses to network headers.hauke2013-02-161-8/+60
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix unaligned access to mac addresshauke2013-02-161-0/+18
| | | | | | | | | | The mac address should be aligned to u16 to prevent an unaligned access in drivers/ssb/pci.c where it is casted to __be16. This closes #9824. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: try to automatically detect if the wan port is at port 4 and not ↵hauke2013-02-161-1/+12
| | | | | | | | | at port 0. This should fix #13000. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35617 3c298f89-4303-0410-b956-a3cf2f4a3e73
* update x86 generic to kernel v3.7juhosg2013-02-162-0/+206
| | | | | | | Signed-off-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use the new macaddr_* helpers instead of maccalcjuhosg2013-02-163-19/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35615 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use the mtd_get_mac_* helpersjuhosg2013-02-163-66/+30
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35613 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config optionsjogo2013-02-164-0/+4
| | | | | | | | | r35336 exposed PTP, which has additional drivers on ixp4xx, causing it to not build with PTP enabled. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: make nvram checksum failures non fataljogo2013-02-1540-152/+188
| | | | | | | | fixes #12982. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35605 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.8juhosg2013-02-1518-21/+21
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: move PHY4 RGMII workaround code out of the loopjuhosg2013-02-141-11/+11
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: ar8216: register the switch from the probe routinejuhosg2013-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: update config-3.7 for x86 (turn off CONFIG_GPIO_ICH)florian2013-02-141-0/+1
| | | | | | | Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: if the cpuport of the switch is port 8 assume vlan0ports: "1 2 3 4 ↵hauke2013-02-141-16/+8
| | | | | | 8" and vlan0ports: "0 8" git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35597 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
* 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-1217-17/+17
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 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
* 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
* 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