Ticket #4192: 0002-remove-reverted-patch.patch

File 0002-remove-reverted-patch.patch, 2.2 KB (added by Hauke <hauke@…>, 8 years ago)

Removes reverted patch for kernel 2.6.25

  • deleted file target/linux/brcm47xx/patches-2.6.25/620-ssb-modinit-fix.patch

    From 6d681a5349ecbc9af8d766ead22e6fb66f8663ec Mon Sep 17 00:00:00 2001
    From: Hauke Mehrtens <hauke@hauke-m.de>
    Date: Sat, 8 Nov 2008 14:10:40 +0100
    Subject: [PATCH] remove reverted patch
    
    
    Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
    ---
     .../patches-2.6.25/620-ssb-modinit-fix.patch       |   13 -------------
     .../690-mips-allow-pciregister-after-boot.patch    |   13 -------------
     2 files changed, 0 insertions(+), 26 deletions(-)
     delete mode 100644 target/linux/brcm47xx/patches-2.6.25/620-ssb-modinit-fix.patch
    
    diff --git a/target/linux/brcm47xx/patches-2.6.25/620-ssb-modinit-fix.patch b/target/linux/brcm47xx/patches-2.6.25/620-ssb-modinit-fix.patch
    deleted file mode 100644
    index af251d5..0000000
    + -  
    1 --- a/drivers/ssb/main.c 
    2 +++ b/drivers/ssb/main.c 
    3 @@ -1173,7 +1173,9 @@ static int __init ssb_modinit(void) 
    4  /* ssb must be initialized after PCI but before the ssb drivers. 
    5   * That means we must use some initcall between subsys_initcall 
    6   * and device_initcall. */ 
    7 -fs_initcall(ssb_modinit); 
    8 +//FIXME on embedded we need to be early to make sure we can register 
    9 +//      a new PCI bus, if needed. 
    10 +subsys_initcall(ssb_modinit); 
    11   
    12  static void __exit ssb_modexit(void) 
    13  { 
  • target/linux/brcm47xx/patches-2.6.25/690-mips-allow-pciregister-after-boot.patch

    diff --git a/target/linux/brcm47xx/patches-2.6.25/690-mips-allow-pciregister-after-boot.patch b/target/linux/brcm47xx/patches-2.6.25/690-mips-allow-pciregister-after-boot.patch
    index 8b0445f..455db3a 100644
    a b This is an ugly hack and needs to be rewritten before going upstream. 
    144144  
    145145        return 0; 
    146146 } 
    147 --- a/drivers/ssb/main.c 
    148 +++ b/drivers/ssb/main.c 
    149 @@ -1191,9 +1191,7 @@ static int __init ssb_modinit(void) 
    150  /* ssb must be initialized after PCI but before the ssb drivers. 
    151   * That means we must use some initcall between subsys_initcall 
    152   * and device_initcall. */ 
    153 -//FIXME on embedded we need to be early to make sure we can register 
    154 -//      a new PCI bus, if needed. 
    155 -subsys_initcall(ssb_modinit); 
    156 +fs_initcall(ssb_modinit); 
    157   
    158  static void __exit ssb_modexit(void) 
    159  {