summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* brcm47xx: add a new version of the nvram rewrite patchhauke2013-01-0310-69/+345
| | | | | | | This is the version like it was send for mainline inclusion. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: move patches already in the mainline kernel to the fronthauke2013-01-035-8/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: remove support for kernel version 3.3hauke2013-01-0357-9780/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: bcma: correct M25P32 serial flash IDhauke2012-12-271-0/+11
| | | | | | | Thank you Rafał Miłecki. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34900 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵mirko2012-12-191-1/+1
| | | | | | /lib/functions.sh) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not overload mount-call - trying to reduce confusionmirko2012-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'. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.6 to 3.6.11juhosg2012-12-181-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: improve suppressing printing if a module was found in preinit ↵hauke2012-12-141-1/+1
| | | | | | | | | function. Thank you Bastian Bittorf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: Additional BCM4716 supporthauke2012-12-132-0/+8
| | | | | | | | | Additional BCM4716 support. Still needs working ethernet driver. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: BCMA - Broadcom 2011 SDK Updateshauke2012-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: return the real irq number in bcma_core_irqhauke2012-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: this usb patch is not needed, the Broadcom SDK does it the other way.hauke2012-12-131-11/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use kernel 3.6.10 by default nowhauke2012-12-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: suppress printing if a module was found in preinit function.hauke2012-12-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: in kernel 3.6.8 and later tg3 depends on hwmon.kohauke2012-12-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testinghauke2012-12-1227-899/+103
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.3: move OHCI and EHCI platform drivers to genericflorian2012-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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: read sprom vars without prefix for boardrev and boardtype if the ↵hauke2012-12-021-0/+17
| | | | | | prefixed one is not available. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove common symbols from 3.6 configsjuhosg2012-11-291-1/+0
| | | | | | | | The removed symbols are present in the generic configuration. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34404 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove common symbols from 3.3 configsjuhosg2012-11-291-2/+0
| | | | | | | | The removed symbols are present in the generic configuration. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34403 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.6 to 3.6.8juhosg2012-11-291-29/+29
| | | | | | | | Also refresh the affected patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34402 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix title of Bcm4705-wl profilehauke2012-11-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add profile for bcm4705 with wl driverhauke2012-11-251-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: whitespace cleanupshauke2012-11-257-16/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix cpu clock detection on ASUS WL-520gUhauke2012-11-241-0/+44
| | | | | | | | | | The ASUS WL-520gU and some other similar Asus devices have a BCM5354 running at 200MHZ and not at 240 which is the default for this SoC. This fixes #4083. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34325 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: watchdog: deactivate NOWAYOUT.hauke2012-11-246-28/+34
| | | | | | | | | | In the old configuration the SoC issued a reboot if the watchdog was killed also if it was kill with TERM and not KILL. This will fix #11724. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34324 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update watchdog driverhauke2012-11-2417-103/+1566
| | | | | | | | | This watchdog driver should work with SoC having a PMU. This fixes #11720. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34323 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patcheshauke2012-11-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add support for kernel 3.6hauke2012-11-1843-0/+7628
| | | | | | | This is based on the patch by Peter Wagner. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: revert r33935: check for .ELF header in partition parserhauke2012-11-151-8/+2
| | | | | | | | | For sysupgrade the generic image should be used and the special image for the wgt634u is just needed for initial flashing over CFE. russell reported that with this patch sysupgrdae did not worked for him any more and he could not reproduce the error described in #11420. With the patch the linux partition also contained the loader which is in the first 128KB. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34201 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: remove double definition of kmod-tg3 added in r34150hauke2012-11-122-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix cfe config detection on WGT634U broken in r33920hauke2012-11-121-9/+10
| | | | | | | Thanks Russell Senior for reporting this. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34175 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: remove ssb-gige packagehauke2012-11-114-16/+3
| | | | | | | | CONFIG_SSB_DRIVER_GIGE is set in the target config of the brcm47xx target, so it will always be activated and the kmod-ssb-gige is not needed any more. The kmod-ssb-gige package is not generated in an build as it does not contain any files and the makes the image builder fail when generating a image integrating this package. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34150 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: generate images for the D-Link DWL-3150 as wellkaloz2012-10-271-2/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: check for .ELF header in partition parserhauke2012-10-251-2/+8
| | | | | | | | | | | | | The image format for the wgt634u is different from the normal format. Without this patch the partition parser detects a 128kb bigger partition after every update. This closes #11420 Thank you b.sander for the patch. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to master-2012-10-18 from wireless-testinghauke2012-10-2532-3266/+2263
| | | | | | | | * update the flash driver for bcm47xx to use the stubs already in bcma * do some misc enhancements to the flash drivers for bcm47xx git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: move the bcma fallback sprom fix to genericjogo2012-10-231-15/+0
| | | | | | bcm63xx needs the bcma fallback sprom fix, too. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* drop GPIODEV platform codeblogic2012-10-171-23/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: bcma: do not initialize deactivated PCIe coreshauke2012-10-042-6/+32
| | | | | | | | | | Before it was tried to initialize the deactivated PCIe core in client mode, but this causes the SoC to hang. Just do not initialize it at all and ignore the core it is not working and nothing is connected to it when the specific bit is set in the boardflags. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33620 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: use memcmp in mem size detection as suggested by blogichauke2012-10-041-7/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: bcma: use fallback sprom if sprom on card was not validhauke2012-09-301-0/+15
| | | | | | | | | Sometimes the PCIe card indicates that it has a sprom somewhere and we are able to read the memory region, but it is empty and not valid. In these cases we should try to use the fallback sprom as a last chance. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: bcma: initialize sprom earlierhauke2012-09-303-4/+222
| | | | | | | | | | The chip common and the PCIe code are accessing the sprom struct which is not filled when these cores are initialized. Fix this by adding an early initialize and fill the sprom struct before accessing it in other code. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33600 3c298f89-4303-0410-b956-a3cf2f4a3e73