summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: add initial support for kernel 3.8Hauke Mehrtens2013-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. SVN-Revision: 35632
* brcm47xx: BGMAC - Adjust AutoLoad number to be prior to switch modulesHauke Mehrtens2013-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> SVN-Revision: 35625
* brcm47xx: improve cpuport detection for filesafeHauke Mehrtens2013-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. SVN-Revision: 35624
* brcm47xx: fix network config on simpleshareHauke Mehrtens2013-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. SVN-Revision: 35623
* brcm47xx: handle return values of cfe_env_get() correctly.Hauke Mehrtens2013-02-161-4/+5
| | | | | | This closes #12746. SVN-Revision: 35622
* brcm47xx: bgmac: fix unaligned accesses to network headers.Hauke Mehrtens2013-02-161-8/+60
| | | | SVN-Revision: 35621
* brcm47xx: fix unaligned access to mac addressHauke Mehrtens2013-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. SVN-Revision: 35618
* brcm47xx: try to automatically detect if the wan port is at port 4 and not ↵Hauke Mehrtens2013-02-161-1/+12
| | | | | | | | at port 0. This should fix #13000. SVN-Revision: 35617
* 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
* brcm47xx: configure vlan correctly on some recent devices.Hauke Mehrtens2013-02-131-1/+4
| | | | SVN-Revision: 35587
* 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
* brcm47xx: fix name of kmod-ocf-ubsec-ssbHauke Mehrtens2013-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. SVN-Revision: 35509
* brcm47xx: bgmac: make it possible to set the devices into promisc mode when ↵Hauke Mehrtens2013-02-062-0/+206
| | | | | | | | it is already up This fixes #12927. SVN-Revision: 35507
* brcm47xx: fix detection of Asus RT-N16Hauke Mehrtens2013-02-041-3/+4
| | | | | | This fixes #12936. SVN-Revision: 35492
* Add Failsafe support for Linksys E3000V1 / WRT610NV2Hauke Mehrtens2013-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> SVN-Revision: 35491
* brcm47xx: Fix switch config on 4716/53115 devicesHauke Mehrtens2013-02-041-1/+1
| | | | | | Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com> SVN-Revision: 35490
* brcm47xx: load pps_core and ptp before tg3 to make the interface available ↵Hauke Mehrtens2013-01-271-0/+2
| | | | | | for failsafe. SVN-Revision: 35341
* brcm47xx: create image for Netgear WNDR3400 V1Hauke Mehrtens2013-01-261-1/+1
| | | | SVN-Revision: 35323
* brcm47xx: add initial board detection codeHauke Mehrtens2013-01-265-6/+366
| | | | SVN-Revision: 35322
* brcm47xx: add gpio to irq function againHauke Mehrtens2013-01-262-0/+116
| | | | SVN-Revision: 35321
* brcm47xx: change generic profilesHauke Mehrtens2013-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. SVN-Revision: 35314
* brcm47xx: BCMA - Update default IRQ assignment per upstream changeHauke Mehrtens2013-01-121-0/+9
| | | | | | | | | Update the default IRQ assignment for unrecognized devices per the upstream change. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 35121
* brcm47xx: update bgmac driver to the version in mainline kernelHauke Mehrtens2013-01-101-156/+454
| | | | SVN-Revision: 35083
* kernel: update bcma and ssb to master-2013-01-09 from wireless-testingHauke Mehrtens2013-01-1026-1076/+610
| | | | SVN-Revision: 35080
* brcm47xx: BGMAC Driver correctionsHauke Mehrtens2013-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> SVN-Revision: 35052
* brcm47xx: various fixes and code cleanups for irq codeHauke Mehrtens2013-01-037-27/+72
| | | | | | This is based on a patch send by Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34997
* brcm47xx: add bgmac driverHauke Mehrtens2013-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. SVN-Revision: 34995
* brcm47xx: build b44 as a moduleHauke Mehrtens2013-01-0310-12/+9
| | | | SVN-Revision: 34994
* brcm47xx: run ifup before starting the switchHauke Mehrtens2013-01-031-2/+2
| | | | | | In addition check_module is not needed, nobody checks the return value. SVN-Revision: 34993
* brcm47xx: BCMA - IRQ Update - Fix IRQ Flag for I2S CoreHauke Mehrtens2013-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> SVN-Revision: 34990
* brcm47xx: improve IRQ handling for bcma based devicesHauke Mehrtens2013-01-035-5/+227
| | | | | | This was party inspirited by patches send by Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34989
* brcm47xx: add a new version of the nvram rewrite patchHauke Mehrtens2013-01-0310-69/+345
| | | | | | This is the version like it was send for mainline inclusion. SVN-Revision: 34988
* brcm47xx: move patches already in the mainline kernel to the frontHauke Mehrtens2013-01-035-8/+8
| | | | SVN-Revision: 34987
* brcm47xx: remove support for kernel version 3.3Hauke Mehrtens2013-01-0357-9780/+0
| | | | SVN-Revision: 34986
* brcm47xx: bcma: correct M25P32 serial flash IDHauke Mehrtens2012-12-271-0/+11
| | | | | | Thank you Rafał Miłecki. SVN-Revision: 34900
* Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵Mirko Vogt2012-12-191-1/+1
| | | | | | /lib/functions.sh) SVN-Revision: 34793
* Do not overload mount-call - trying to reduce confusionMirko Vogt2012-12-191-1/+1
| | | | | | | | | | | The behaviour of calling 'mount' differed depending on whether it called the busybox-mount, the mount of util-linux, the mount defined in /lib/functions.sh and /lib/functions/boot.sh /etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh, both re-defining 'mount'. SVN-Revision: 34792
* kernel: update linux 3.6 to 3.6.11Gabor Juhos2012-12-181-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34748
* brcm47xx: improve suppressing printing if a module was found in preinit ↵Hauke Mehrtens2012-12-141-1/+1
| | | | | | | | function. Thank you Bastian Bittorf SVN-Revision: 34680
* brcm47xx: Additional BCM4716 supportHauke Mehrtens2012-12-132-0/+8
| | | | | | | | Additional BCM4716 support. Still needs working ethernet driver. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34672
* brcm47xx: BCMA - Broadcom 2011 SDK UpdatesHauke Mehrtens2012-12-131-0/+50
| | | | | | | | | | I noticed these changes when reviewing the 2011 Broadcom SDK. I haven't noticed any obvious changes in behavior with them applied; but thought I should at least pass them on. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34670
* brcm47xx: return the real irq number in bcma_core_irqHauke Mehrtens2012-12-131-0/+87
| | | | | | | | | | The irq signal numbers that are send by the cpu are increased by 2 from the number programmed into the mips core by bcma. Return the irq number on which the irqs are send in bcma_core_irq() now. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34669
* brcm47xx: this usb patch is not needed, the Broadcom SDK does it the other way.Hauke Mehrtens2012-12-131-11/+0
| | | | SVN-Revision: 34655
* brcm47xx: use kernel 3.6.10 by default nowHauke Mehrtens2012-12-131-1/+1
| | | | SVN-Revision: 34654
* brcm47xx: suppress printing if a module was found in preinit function.Hauke Mehrtens2012-12-131-1/+1
| | | | SVN-Revision: 34653
* kernel: in kernel 3.6.8 and later tg3 depends on hwmon.koHauke Mehrtens2012-12-131-0/+1
| | | | SVN-Revision: 34652
* kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testingHauke Mehrtens2012-12-1227-899/+103
| | | | SVN-Revision: 34651
* kernel/3.3: move OHCI and EHCI platform drivers to genericFlorian Fainelli2012-12-053-565/+0
| | | | | | | | | These patches are not specific to bcm47xx and will be used on other platforms as well. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34501
* brcm47xx: read sprom vars without prefix for boardrev and boardtype if the ↵Hauke Mehrtens2012-12-021-0/+17
| | | | | | prefixed one is not available. SVN-Revision: 34454