diff options
author | Mike Baker <mbm@openwrt.org> | 2005-05-13 00:35:33 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2005-05-13 00:35:33 +0000 |
commit | 644a46b764bd191d5c0723b9b2c40afa4081428d (patch) | |
tree | 1910947c8c23a8a570514a63f336caf2eb8c4d53 /openwrt/package | |
parent | 7512db38c86bc3b4ffd33c10950359efa8dbaa2e (diff) | |
download | mtk-20170518-644a46b764bd191d5c0723b9b2c40afa4081428d.zip mtk-20170518-644a46b764bd191d5c0723b9b2c40afa4081428d.tar.gz mtk-20170518-644a46b764bd191d5c0723b9b2c40afa4081428d.tar.bz2 |
more pci fixes
SVN-Revision: 862
Diffstat (limited to 'openwrt/package')
-rw-r--r-- | openwrt/package/linux/kernel-source/arch/mips/brcm-boards/bcm947xx/sbpci.c | 4 | ||||
-rw-r--r-- | openwrt/package/linux/kernel-source/include/bcmdevs.h | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/openwrt/package/linux/kernel-source/arch/mips/brcm-boards/bcm947xx/sbpci.c b/openwrt/package/linux/kernel-source/arch/mips/brcm-boards/bcm947xx/sbpci.c index 2841519..538dea5 100644 --- a/openwrt/package/linux/kernel-source/arch/mips/brcm-boards/bcm947xx/sbpci.c +++ b/openwrt/package/linux/kernel-source/arch/mips/brcm-boards/bcm947xx/sbpci.c @@ -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; diff --git a/openwrt/package/linux/kernel-source/include/bcmdevs.h b/openwrt/package/linux/kernel-source/include/bcmdevs.h index 5e41b87..9259028 100644 --- a/openwrt/package/linux/kernel-source/include/bcmdevs.h +++ b/openwrt/package/linux/kernel-source/include/bcmdevs.h @@ -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 */ |