Author: hauke
Date: 2014-08-14 23:21:27 +0200 (Thu, 14 Aug 2014)
New Revision: 42164

Modified:
   trunk/target/linux/brcm47xx/patches-3.10/144-make-reboot-more-reliable.patch
   trunk/target/linux/brcm47xx/patches-3.14/144-make-reboot-more-reliable.patch
Log:
brcm47xx: fix brcm47xx.legacy build

we should check for ssb here.

Signed-off-by: Hauke Mehrtens <[email protected]>


Modified: 
trunk/target/linux/brcm47xx/patches-3.10/144-make-reboot-more-reliable.patch
===================================================================
--- 
trunk/target/linux/brcm47xx/patches-3.10/144-make-reboot-more-reliable.patch    
    2014-08-14 09:03:23 UTC (rev 42163)
+++ 
trunk/target/linux/brcm47xx/patches-3.10/144-make-reboot-more-reliable.patch    
    2014-08-14 21:21:27 UTC (rev 42164)
@@ -25,10 +25,10 @@
        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"

Modified: 
trunk/target/linux/brcm47xx/patches-3.14/144-make-reboot-more-reliable.patch
===================================================================
--- 
trunk/target/linux/brcm47xx/patches-3.14/144-make-reboot-more-reliable.patch    
    2014-08-14 09:03:23 UTC (rev 42163)
+++ 
trunk/target/linux/brcm47xx/patches-3.14/144-make-reboot-more-reliable.patch    
    2014-08-14 21:21:27 UTC (rev 42164)
@@ -25,10 +25,10 @@
        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"
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to