Changeset 42164


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

brcm47xx: fix brcm47xx.legacy build

we should check for ssb here.

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

Location:
trunk/target/linux/brcm47xx
Files:
2 edited

Legend:

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

    r42083 r42164  
    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" 
  • trunk/target/linux/brcm47xx/patches-3.14/144-make-reboot-more-reliable.patch

    r42088 r42164  
    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.