mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-25 08:02:32 +00:00
brcm47xx: fix brcm47xx.legacy build
we should check for ssb here. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42164
This commit is contained in:
parent
006cdbfdbc
commit
254b4df66f
@ -25,10 +25,10 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
||||
switch (bcm47xx_bus_type) {
|
||||
#ifdef CONFIG_BCM47XX_SSB
|
||||
case BCM47XX_BUS_TYPE_SSB:
|
||||
+ if (bcm47xx_bus.bcma.bus.chipinfo.id == 0x4785)
|
||||
+ if (bcm47xx_bus.ssb.chip_id == 0x4785)
|
||||
+ write_c0_diag4(1 << 22);
|
||||
ssb_watchdog_timer_set(&bcm47xx_bus.ssb, 1);
|
||||
+ if (bcm47xx_bus.bcma.bus.chipinfo.id == 0x4785) {
|
||||
+ if (bcm47xx_bus.ssb.chip_id == 0x4785) {
|
||||
+ __asm__ __volatile__(
|
||||
+ ".set\tmips3\n\t"
|
||||
+ "sync\n\t"
|
||||
|
@ -25,10 +25,10 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
||||
switch (bcm47xx_bus_type) {
|
||||
#ifdef CONFIG_BCM47XX_SSB
|
||||
case BCM47XX_BUS_TYPE_SSB:
|
||||
+ if (bcm47xx_bus.bcma.bus.chipinfo.id == 0x4785)
|
||||
+ if (bcm47xx_bus.ssb.chip_id == 0x4785)
|
||||
+ write_c0_diag4(1 << 22);
|
||||
ssb_watchdog_timer_set(&bcm47xx_bus.ssb, 1);
|
||||
+ if (bcm47xx_bus.bcma.bus.chipinfo.id == 0x4785) {
|
||||
+ if (bcm47xx_bus.ssb.chip_id == 0x4785) {
|
||||
+ __asm__ __volatile__(
|
||||
+ ".set\tmips3\n\t"
|
||||
+ "sync\n\t"
|
||||
|
Loading…
Reference in New Issue
Block a user