summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
Commit message (Collapse)AuthorAgeFilesLines
* kernel: backport SSB/BCMA changes in preparation for a compat-wireless updatenbd2013-04-195-15/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36367 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use old partition names again for kernel 3.8hauke2013-04-062-1/+21
| | | | | | | | | This fixes sysupgrade. The partition names are used all over the Internet in various howtos. Thank you russell for spotting this problem. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36235 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix error in board detection when nvram is not available.hauke2013-04-062-4/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36234 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.6juhosg2013-04-061-12/+12
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36215 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: generate images for Linksys E.... modelshauke2013-03-271-0/+9
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36139 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: activate image generation for some Netgear devices which are on ↵hauke2013-03-271-7/+7
| | | | | | the market and should be supported. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: generate images for more WRT...N modelshauke2013-03-271-0/+5
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: generate images for some more deviceshauke2013-03-201-3/+3
| | | | | | | These devices should be supported by trunk now. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.8 to 3.8.3juhosg2013-03-152-15/+15
| | | | | | | | Also refresh the related generic/platform patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: refresh confighauke2013-03-102-6/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add some more partition parser fixes by Rafał Miłeckihauke2013-03-094-14/+156
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: netconfig: add bacis support for swconfighauke2013-03-091-25/+27
| | | | | | | Parse the cpu port from swconfig and explicitly mark the cpu port as tagged. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: bgmac: omit the fcshauke2013-02-282-0/+38
| | | | | | | This fixes #13058 and hopefully #12927 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35834 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: bgmac: update to version form netdev git repositoryhauke2013-02-282-26/+134
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35833 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use bcm47xx_board_get() and detect some more boards in flash ↵hauke2013-02-251-74/+37
| | | | | | partition driver git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35791 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: board detection WNDR3400v2hauke2013-02-253-4/+9
| | | | | | | | | | | | | | | | | WNDR3400v2 is based on BCM53xx . Image that is created breaks the router somehow therefore "#". CFE and NVRAM contain different vars - example: CFE line original: Device eth0: hwaddr 74-44-01-37-C6-69, ipaddr 192.168.1.1, mask 255.255.255.0 CFE after openwrt: Device eth0: hwaddr 00-FF-FF-FF-FF-FF, ipaddr 192.168.1.1, mask 255.255.255.0 Logs were posted earlier on this mailing list: https://lists.openwrt.org/pipermail/openwrt-devel/2012-July/016174.html Different logs with factory firmware are in the wiki: http://wiki.openwrt.org/toh/netgear/wndr3400#wndr3400v2 (and on wikidevi for example) Signed off by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use same board detection code as kernel 3.8hauke2013-02-241-24/+24
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: do not use vlan0 any more.hauke2013-02-203-43/+43
| | | | | | | | | | The Broadcom switch driver says that vlan0 should not be used with any switch other than bcm5325. This makes OpenWrt always use vlan1 and vlan2 instead. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35704 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add initial support for kernel 3.8hauke2013-02-1654-0/+7785
| | | | | | | | | | | | | 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
* 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
* 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
* 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
* brcm47xx: fix name of kmod-ocf-ubsec-ssbhauke2013-02-061-1/+1
| | | | | | | | | This also removes kmod-ocf, because kmod-crypto-ocf is automatically selected by kmod-ocf-ubsec-ssb. Thank you Manuel Munz <freifunk@somakoma.de> for the patch. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35509 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: bgmac: make it possible to set the devices into promisc mode when ↵hauke2013-02-062-0/+206
| | | | | | | | | it is already up This fixes #12927. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35507 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix detection of Asus RT-N16hauke2013-02-041-3/+4
| | | | | | | This fixes #12936. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Add Failsafe support for Linksys E3000V1 / WRT610NV2hauke2013-02-041-0/+1
| | | | | | | | | | | | | | Adds specification of the correct cpu_port for Linksys E3000V1 and WRT610NV2 in /lib/preinit/05_init_interfaces_brcm. The list of devices will need to be expanded. Is there a way to determine the correct cpu_port to use in a generic sense; for instance, if "/proc/switch/eth0/port/8" exists, or if "/sys/class/net/eth0/device/driver/module/drivers/bcma:bgmac" exists? Could a similar method be used in "/etc/init.d/netconfig"? Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: Fix switch config on 4716/53115 deviceshauke2013-02-041-1/+1
| | | | | | | Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: load pps_core and ptp before tg3 to make the interface available ↵hauke2013-01-271-0/+2
| | | | | | for failsafe. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35341 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: create image for Netgear WNDR3400 V1hauke2013-01-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add initial board detection codehauke2013-01-265-6/+366
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35322 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add gpio to irq function againhauke2013-01-262-0/+116
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35321 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: change generic profileshauke2013-01-2417-78/+218
| | | | | | | | | The default profile now contains Ethernet drivers for all the types found on supported boards. There are other profiles for each Ethernet driver. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: BCMA - Update default IRQ assignment per upstream changehauke2013-01-121-0/+9
| | | | | | | | | | Update the default IRQ assignment for unrecognized devices per the upstream change. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update bgmac driver to the version in mainline kernelhauke2013-01-101-156/+454
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to master-2013-01-09 from wireless-testinghauke2013-01-1026-1076/+610
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: BGMAC Driver correctionshauke2013-01-071-3/+3
| | | | | | | | | | | | | | 1) Fix what appears to be a logic error in bgmac_phy_advertise. 2) Fix bgmac_ioctl to use passed phy_id; needed for switch-robo interface w/ the driver to work correctly. I still have the issue with the interface always being HD when the speed/duplex is set manually (e.g., echo "100FD" > /proc/switch/eth0/port/N/media). Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: various fixes and code cleanups for irq codehauke2013-01-037-27/+72
| | | | | | | This is based on a patch send by Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34997 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add bgmac driverhauke2013-01-033-0/+1696
| | | | | | | | | | This Ethernet driver is in early development stage and still has some problems. This was working on my bcm4716 based device. Thanks to Rafał Miłecki <zajec5@gmail.com> for writing this driver. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: build b44 as a modulehauke2013-01-0310-12/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: run ifup before starting the switchhauke2013-01-031-2/+2
| | | | | | | In addition check_module is not needed, nobody checks the return value. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: BCMA - IRQ Update - Fix IRQ Flag for I2S Corehauke2013-01-031-0/+54
| | | | | | | | | | | Adjust the IRQ Flag value from 8 to 7 for I2S Core for BCM4716 and BCM4748 (per the Broadcom SDK). IRQ Flag values greater than 7 are ignored when setting the interrupt masks. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: improve IRQ handling for bcma based deviceshauke2013-01-035-5/+227
| | | | | | | This was party inspirited by patches send by Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34989 3c298f89-4303-0410-b956-a3cf2f4a3e73