summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1995-06-30 16:11:42 +0000
committerse <se@FreeBSD.org>1995-06-30 16:11:42 +0000
commit9d272074aa73f65f6857d2b51cae271da2101233 (patch)
tree43c0bf37cb8c2858199d2a162bfc2896ee1e6b19 /sys
parentceb5359a6a5eb2c01ad774c9f329de66865a9962 (diff)
downloadFreeBSD-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')
-rw-r--r--sys/amd64/pci/pci_bus.c4
-rw-r--r--sys/amd64/pci/pci_cfgreg.c4
-rw-r--r--sys/i386/isa/pcibus.c4
-rw-r--r--sys/i386/pci/pci_bus.c4
-rw-r--r--sys/i386/pci/pci_cfgreg.c4
-rw-r--r--sys/i386/pci/pci_pir.c4
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c
index d2a2ad9..d0621e9 100644
--- a/sys/amd64/pci/pci_bus.c
+++ b/sys/amd64/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/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c
index d2a2ad9..d0621e9 100644
--- a/sys/amd64/pci/pci_cfgreg.c
+++ b/sys/amd64/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/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;
OpenPOWER on IntegriCloud