Changeset 42166


Ignore:
Timestamp:
2014-08-14T23:23:36+02:00 (3 years ago)
Author:
hauke
Message:

BB: brcm47xx: fix brcm47xx.legacy build

we should check for ssb here.

backport of r42164.

Signed-off-by: Hauke Mehrtens <hauke@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/barrier_breaker/target/linux/brcm47xx/patches-3.10/144-make-reboot-more-reliable.patch

    r42086 r42166  
    2626 #ifdef CONFIG_BCM47XX_SSB 
    2727        case BCM47XX_BUS_TYPE_SSB: 
    28 +               if (bcm47xx_bus.bcma.bus.chipinfo.id == 0x4785) 
     28+               if (bcm47xx_bus.ssb.chip_id == 0x4785) 
    2929+                       write_c0_diag4(1 << 22); 
    3030                ssb_watchdog_timer_set(&bcm47xx_bus.ssb, 1); 
    31 +               if (bcm47xx_bus.bcma.bus.chipinfo.id == 0x4785) { 
     31+               if (bcm47xx_bus.ssb.chip_id == 0x4785) { 
    3232+                       __asm__ __volatile__( 
    3333+                               ".set\tmips3\n\t" 
Note: See TracChangeset for help on using the changeset viewer.