summaryrefslogtreecommitdiffstats
path: root/sys/i386/pci
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2005-10-25 05:32:44 +0000
committerwpaul <wpaul@FreeBSD.org>2005-10-25 05:32:44 +0000
commit97e27d7231e70f2bda11578e8841df78037e293d (patch)
tree76d20ad07733152d7fc59a9fbe6d90db045691e3 /sys/i386/pci
parenta413021644c3f113e369c21f1ea70ca08abea47c (diff)
downloadFreeBSD-src-97e27d7231e70f2bda11578e8841df78037e293d.zip
FreeBSD-src-97e27d7231e70f2bda11578e8841df78037e293d.tar.gz
Undo the change to pci_cfgdisable() on i386 for now. It seems to fix
the amd64 case, but makes the i386 case fail even more often.
Diffstat (limited to 'sys/i386/pci')
-rw-r--r--sys/i386/pci/pci_cfgreg.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c
index 37003a7..3902172 100644
--- a/sys/i386/pci/pci_cfgreg.c
+++ b/sys/i386/pci/pci_cfgreg.c
@@ -237,15 +237,11 @@ pci_cfgdisable(void)
{
switch (cfgmech) {
case CFGMECH_1:
- /*
- * Do nothing for the config mechanism 1 case.
- * Writing a 0 to the address port can apparently
- * confuse some bridges and cause spurious
- * access failures.
- */
+ outl(CONF1_ADDR_PORT, 0);
break;
case CFGMECH_2:
outb(CONF2_ENABLE_PORT, 0);
+ outb(CONF2_FORWARD_PORT, 0);
break;
}
}
OpenPOWER on IntegriCloud