more pci fixes
authorMike Baker <mbm@openwrt.org>
Fri, 13 May 2005 00:35:33 +0000 (00:35 +0000)
committerMike Baker <mbm@openwrt.org>
Fri, 13 May 2005 00:35:33 +0000 (00:35 +0000)
SVN-Revision: 862

openwrt/package/linux/kernel-source/arch/mips/brcm-boards/bcm947xx/sbpci.c
openwrt/package/linux/kernel-source/include/bcmdevs.h

index 28415193502b0e0647a5c452484479e9d669d0c1..538dea57ba1ff7b08a4493faf29efc7e80a5d6dd 100644 (file)
@@ -282,7 +282,9 @@ sbpci_init(void *sbh)
         * PCI is bonded out, some boards may leave the pins
         * floating.
         */
-       if (((chip == BCM4712_DEVICE_ID) && (chippkg == BCM4712SMALL_PKG_ID)) ||
+       if (((chip == BCM4712_DEVICE_ID) &&
+            ((chippkg == BCM4712SMALL_PKG_ID) ||
+             (chippkg == BCM4712MID_PKG_ID))) ||
            (boardflags & BFL_NOPCI))
                pci_disabled = TRUE;
 
index 5e41b87c89d6a943331230bbfda92c8c815f3f98..92590287cd096ff28efbefb68abb7f08fbd4fd3d 100644 (file)
@@ -98,7 +98,9 @@
 
 #define        BCM4712_DEVICE_ID       0x4712          /* 4712 chipcommon chipid */
 #define        BCM4712_MIPS_ID         0x4720          /* 4712 base devid */
+#define        BCM4712LARGE_PKG_ID     0               /* 340pin 4712 package id */
 #define        BCM4712SMALL_PKG_ID     1               /* 200pin 4712 package id */
+#define        BCM4712MID_PKG_ID       2               /* 225pin 4712 package id */
 
 #define        SDIOH_FPGA_ID           0x4380          /* sdio host fpga */