diff options
author | se <se@FreeBSD.org> | 1995-06-30 16:11:42 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1995-06-30 16:11:42 +0000 |
commit | 9d272074aa73f65f6857d2b51cae271da2101233 (patch) | |
tree | 43c0bf37cb8c2858199d2a162bfc2896ee1e6b19 /sys/i386 | |
parent | ceb5359a6a5eb2c01ad774c9f329de66865a9962 (diff) | |
download | FreeBSD-src-9d272074aa73f65f6857d2b51cae271da2101233.zip FreeBSD-src-9d272074aa73f65f6857d2b51cae271da2101233.tar.gz |
The PCI config mechanism 1 test failed for the Intel Aries.
Make it less strict ...
Submitted by: NIIMI Satoshi <sa2c@and.or.jp>
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/isa/pcibus.c | 4 | ||||
-rw-r--r-- | sys/i386/pci/pci_bus.c | 4 | ||||
-rw-r--r-- | sys/i386/pci/pci_cfgreg.c | 4 | ||||
-rw-r--r-- | sys/i386/pci/pci_pir.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sys/i386/isa/pcibus.c b/sys/i386/isa/pcibus.c index d2a2ad9..d0621e9 100644 --- a/sys/i386/isa/pcibus.c +++ b/sys/i386/isa/pcibus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.8 1995/03/22 21:35:39 se Exp $ +** $Id: pcibus.c,v 1.9 1995/06/28 15:54:57 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -164,7 +164,7 @@ pcibus_setup (void) result = inl (CONF1_ADDR_PORT); outl (CONF1_ADDR_PORT, oldval); - if (result == CONF1_ENABLE) { + if (result & CONF1_ENABLE) { pci_mechanism = 1; pci_maxdevice = 32; return; diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c index d2a2ad9..d0621e9 100644 --- a/sys/i386/pci/pci_bus.c +++ b/sys/i386/pci/pci_bus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.8 1995/03/22 21:35:39 se Exp $ +** $Id: pcibus.c,v 1.9 1995/06/28 15:54:57 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -164,7 +164,7 @@ pcibus_setup (void) result = inl (CONF1_ADDR_PORT); outl (CONF1_ADDR_PORT, oldval); - if (result == CONF1_ENABLE) { + if (result & CONF1_ENABLE) { pci_mechanism = 1; pci_maxdevice = 32; return; diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c index d2a2ad9..d0621e9 100644 --- a/sys/i386/pci/pci_cfgreg.c +++ b/sys/i386/pci/pci_cfgreg.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.8 1995/03/22 21:35:39 se Exp $ +** $Id: pcibus.c,v 1.9 1995/06/28 15:54:57 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -164,7 +164,7 @@ pcibus_setup (void) result = inl (CONF1_ADDR_PORT); outl (CONF1_ADDR_PORT, oldval); - if (result == CONF1_ENABLE) { + if (result & CONF1_ENABLE) { pci_mechanism = 1; pci_maxdevice = 32; return; diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index d2a2ad9..d0621e9 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.8 1995/03/22 21:35:39 se Exp $ +** $Id: pcibus.c,v 1.9 1995/06/28 15:54:57 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -164,7 +164,7 @@ pcibus_setup (void) result = inl (CONF1_ADDR_PORT); outl (CONF1_ADDR_PORT, oldval); - if (result == CONF1_ENABLE) { + if (result & CONF1_ENABLE) { pci_mechanism = 1; pci_maxdevice = 32; return; |