Ticket #604: fix-wr850g.diff

File fix-wr850g.diff, 579 bytes (added by bcrl@…, 12 years ago)

fix WR850Gv1 PCI not being scanned

  • ./build_mipsel/linux-2.4-brcm/linux-2.4.32/arch/mips/bcm947xx/sbpci.c

    diff -u ./build_mipsel/linux-2.4-brcm/linux-2.4.32/arch/mips/bcm947xx/sbpci.c.orig ./build_mipsel/linux-2.4-brcm/linux-2.4.32/arch/mips/bcm947xx/sbpci.c
    old new  
    497497                return -1; 
    498498        } 
    499499 
    500         if ((chip == 0x4710) && (chiprev == 0)) 
     500        if ((chip == 0x4310) && (chiprev == 0)) 
    501501                pci_disabled = TRUE; 
    502502         
    503503        sb = (sbconfig_t *)((ulong) pci + SBCONFIGOFF);