Ignore:
Timestamp:
2008-02-19T02:32:06+01:00 (9 years ago)
Author:
mb
Message:

ssb: Workaround: Need subsys_initcall to be able to register a PCI bus.

This needs a different fix, but use this workaround for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/brcm47xx/patches-2.6.23/610-ssb-watchdog-fix.patch

    r10489 r10491  
    1 --- a/drivers/ssb/driver_mipscore.c     2007-12-06 08:07:00.000000000 +0100 
    2 +++ b/drivers/ssb/driver_mipscore.c     2007-12-06 10:27:43.000000000 +0100 
    3 @@ -31,6 +31,19 @@ 
    4         ssb_write32(extif->dev, offset, value); 
     1Index: linux-2.6.23.16/drivers/ssb/driver_mipscore.c 
     2=================================================================== 
     3--- linux-2.6.23.16.orig/drivers/ssb/driver_mipscore.c  2008-02-19 02:13:15.000000000 +0100 
     4+++ linux-2.6.23.16/drivers/ssb/driver_mipscore.c       2008-02-19 02:13:17.000000000 +0100 
     5@@ -31,6 +31,19 @@ static inline void mips_write32(struct s 
     6        ssb_write32(mcore->dev, offset, value); 
    57 } 
    68  
     
    2123        0, 
    2224        SSB_IPSFLAG_IRQ1, 
    23 --- a/include/linux/ssb/ssb_driver_mips.h       2007-12-06 08:07:00.000000000 +0100 
    24 +++ b/include/linux/ssb/ssb_driver_mips.h       2007-12-06 10:32:36.000000000 +0100 
    25 @@ -30,6 +30,8 @@ 
     25Index: linux-2.6.23.16/include/linux/ssb/ssb_driver_mips.h 
     26=================================================================== 
     27--- linux-2.6.23.16.orig/include/linux/ssb/ssb_driver_mips.h    2008-02-19 02:13:15.000000000 +0100 
     28+++ linux-2.6.23.16/include/linux/ssb/ssb_driver_mips.h 2008-02-19 02:13:17.000000000 +0100 
     29@@ -30,6 +30,8 @@ extern u32 ssb_cpu_clock(struct ssb_mips 
    2630  
    2731 extern unsigned int ssb_mips_irq(struct ssb_device *dev); 
     
    3236 #else /* CONFIG_SSB_DRIVER_MIPS */ 
    3337  
    34 --- a/arch/mips/bcm947xx/setup.c        2007-12-06 08:07:00.000000000 +0100 
    35 +++ b/arch/mips/bcm947xx/setup.c        2007-12-06 10:33:39.000000000 +0100 
    36 @@ -55,7 +55,7 @@ 
     38Index: linux-2.6.23.16/arch/mips/bcm947xx/setup.c 
     39=================================================================== 
     40--- linux-2.6.23.16.orig/arch/mips/bcm947xx/setup.c     2008-02-19 02:13:15.000000000 +0100 
     41+++ linux-2.6.23.16/arch/mips/bcm947xx/setup.c  2008-02-19 02:13:17.000000000 +0100 
     42@@ -55,7 +55,7 @@ static void bcm47xx_machine_restart(char 
    3743         */ 
    3844  
     
    4349                cpu_relax(); 
    4450 } 
    45 @@ -64,7 +64,7 @@ 
     51@@ -64,7 +64,7 @@ static void bcm47xx_machine_halt(void) 
    4652 { 
    4753        /* Disable interrupts and watchdog and spin forever */ 
Note: See TracChangeset for help on using the changeset viewer.