Commit graph

22 commits

Author SHA1 Message Date
Hauke Mehrtens
2bf03f971d brcm47xx: BCMA - Update default IRQ assignment per upstream change
Update the default IRQ assignment for unrecognized devices per
the upstream change.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 35121
2013-01-12 15:00:01 +00:00
Hauke Mehrtens
548cb59826 brcm47xx: update bgmac driver to the version in mainline kernel
SVN-Revision: 35083
2013-01-10 14:22:19 +00:00
Hauke Mehrtens
885eea1842 kernel: update bcma and ssb to master-2013-01-09 from wireless-testing
SVN-Revision: 35080
2013-01-10 14:05:18 +00:00
Hauke Mehrtens
7b0af8193b brcm47xx: BGMAC Driver corrections
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
2013-01-07 22:51:39 +00:00
Hauke Mehrtens
a105eea1a1 brcm47xx: various fixes and code cleanups for irq code
This is based on a patch send by Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34997
2013-01-03 16:56:54 +00:00
Hauke Mehrtens
4443997fd8 brcm47xx: add bgmac driver
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
2013-01-03 02:05:22 +00:00
Hauke Mehrtens
97b2b601c7 brcm47xx: BCMA - IRQ Update - Fix IRQ Flag for I2S Core
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
2013-01-03 01:56:13 +00:00
Hauke Mehrtens
f74e847301 brcm47xx: improve IRQ handling for bcma based devices
This was party inspirited by patches send by Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34989
2013-01-03 01:55:34 +00:00
Hauke Mehrtens
25afeba608 brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.

SVN-Revision: 34988
2013-01-03 01:53:30 +00:00
Hauke Mehrtens
edc7ab525f brcm47xx: move patches already in the mainline kernel to the front
SVN-Revision: 34987
2013-01-03 01:51:31 +00:00
Hauke Mehrtens
981b7410f8 brcm47xx: bcma: correct M25P32 serial flash ID
Thank you Rafał Miłecki.

SVN-Revision: 34900
2012-12-27 19:18:40 +00:00
Hauke Mehrtens
6672d869da brcm47xx: BCMA - Broadcom 2011 SDK Updates
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
2012-12-13 18:54:04 +00:00
Hauke Mehrtens
97d22306da brcm47xx: return the real irq number in bcma_core_irq
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
2012-12-13 18:51:10 +00:00
Hauke Mehrtens
71712ec522 brcm47xx: this usb patch is not needed, the Broadcom SDK does it the other way.
SVN-Revision: 34655
2012-12-13 00:12:42 +00:00
Hauke Mehrtens
1bd8db0bd6 kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
SVN-Revision: 34651
2012-12-12 22:42:18 +00:00
Hauke Mehrtens
2ac9ac5163 brcm47xx: read sprom vars without prefix for boardrev and boardtype if the prefixed one is not available.
SVN-Revision: 34454
2012-12-02 16:11:39 +00:00
Gabor Juhos
3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34402
2012-11-29 07:42:19 +00:00
Hauke Mehrtens
be77f9951c brcm47xx: fix cpu clock detection on ASUS WL-520gU
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.

SVN-Revision: 34325
2012-11-24 20:28:06 +00:00
Hauke Mehrtens
264873b3c5 brcm47xx: watchdog: deactivate NOWAYOUT.
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.

SVN-Revision: 34324
2012-11-24 20:24:27 +00:00
Hauke Mehrtens
c62d86ecb8 brcm47xx: update watchdog driver
This watchdog driver should work with SoC having a PMU.

This fixes #11720.

SVN-Revision: 34323
2012-11-24 20:07:25 +00:00
Hauke Mehrtens
4fa5781a95 kernel: refresh patches
SVN-Revision: 34253
2012-11-18 21:40:30 +00:00
Hauke Mehrtens
86cc79ac98 brcm47xx: add support for kernel 3.6
This is based on the patch by Peter Wagner.

SVN-Revision: 34252
2012-11-18 21:27:00 +00:00