summaryrefslogtreecommitdiff
path: root/openwrt/package/linux/kernel-source/arch/mips
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-08 22:01:18 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-05-08 22:01:18 +0000
commita2fba5fe5ccf074195022d7446c086e51b4f7fda (patch)
tree83595aafbb7a559f54e1c0da9d566058e1bac1a8 /openwrt/package/linux/kernel-source/arch/mips
parent68c7b67de0b9b3ccaf511a484088b102b312e53c (diff)
pci fixup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@815 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/linux/kernel-source/arch/mips')
-rw-r--r--openwrt/package/linux/kernel-source/arch/mips/brcm-boards/bcm947xx/sbpci.c10
1 files changed, 1 insertions, 9 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 ead31e9aa5..2841519350 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
@@ -245,7 +245,6 @@ sbpci_ban(uint16 core)
if (pci_banned < ARRAYSIZE(pci_ban))
pci_ban[pci_banned++] = core;
}
-//#define CT4712_WR 1 /* Workaround for 4712 */
int __init
sbpci_init(void *sbh)
@@ -257,7 +256,6 @@ sbpci_init(void *sbh)
pci_config_regs *cfg;
void *regs;
char varname[8];
- int CT4712_WR;
uint wlidx = 0;
uint16 vendor, core;
uint8 class, subclass, progif;
@@ -274,12 +272,6 @@ sbpci_init(void *sbh)
return -1;
sb_core_reset(sbh, 0);
- /* In some board, */
- if(nvram_match("boardtype", "bcm94710dev") || nvram_match("boardtype", "bcm94710ap")|| nvram_match("boardtype", "bcm94710r4")|| nvram_match("boardtype", "bcm94710r4")|| nvram_match("boardtype", "bcm95365r"))
- CT4712_WR = 0;
- else
- CT4712_WR = 1;
-
boardflags = (uint32) getintvar(NULL, "boardflags");
if ((chip == BCM4310_DEVICE_ID) && (chiprev == 0))
@@ -291,7 +283,7 @@ sbpci_init(void *sbh)
* floating.
*/
if (((chip == BCM4712_DEVICE_ID) && (chippkg == BCM4712SMALL_PKG_ID)) ||
- (boardflags & BFL_NOPCI) || CT4712_WR)
+ (boardflags & BFL_NOPCI))
pci_disabled = TRUE;
/*