diff options
author | se <se@FreeBSD.org> | 1997-04-09 09:15:03 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1997-04-09 09:15:03 +0000 |
commit | a783c063eef72ce11fdb8bce351171f997041bc9 (patch) | |
tree | 0b86aa38dc2d8c8c899bcb1e798eae5ef8ed6164 /sys/i386/pci | |
parent | 8b2ae1155be15070246e46ac4c09602e84779e45 (diff) | |
download | FreeBSD-src-a783c063eef72ce11fdb8bce351171f997041bc9.zip FreeBSD-src-a783c063eef72ce11fdb8bce351171f997041bc9.tar.gz |
Fix consistency test to not fail on pre PCI 2.0 motherboards
Diffstat (limited to 'sys/i386/pci')
-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 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c index 6af7ffd..a626d6c 100644 --- a/sys/i386/pci/pci_bus.c +++ b/sys/i386/pci/pci_bus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.31 1997/02/22 09:36:58 peter Exp $ +** $Id: pcibus.c,v 1.32 1997/03/05 20:52:00 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -177,7 +177,7 @@ pcibus_check (void) class = pcibus_read (pcibus_tag (0,device,0), 8); if (bootverbose) printf ("[class=%x] ", class >> 8); - if ((class & 0xfff0ff00) != 0x06000000) + if (!class || (class & 0xf8f0ff00) != 0) continue; header = pcibus_read (pcibus_tag (0,device,0), 12); diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c index 6af7ffd..a626d6c 100644 --- a/sys/i386/pci/pci_cfgreg.c +++ b/sys/i386/pci/pci_cfgreg.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.31 1997/02/22 09:36:58 peter Exp $ +** $Id: pcibus.c,v 1.32 1997/03/05 20:52:00 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -177,7 +177,7 @@ pcibus_check (void) class = pcibus_read (pcibus_tag (0,device,0), 8); if (bootverbose) printf ("[class=%x] ", class >> 8); - if ((class & 0xfff0ff00) != 0x06000000) + if (!class || (class & 0xf8f0ff00) != 0) continue; header = pcibus_read (pcibus_tag (0,device,0), 12); diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index 6af7ffd..a626d6c 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.31 1997/02/22 09:36:58 peter Exp $ +** $Id: pcibus.c,v 1.32 1997/03/05 20:52:00 se Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -177,7 +177,7 @@ pcibus_check (void) class = pcibus_read (pcibus_tag (0,device,0), 8); if (bootverbose) printf ("[class=%x] ", class >> 8); - if ((class & 0xfff0ff00) != 0x06000000) + if (!class || (class & 0xf8f0ff00) != 0) continue; header = pcibus_read (pcibus_tag (0,device,0), 12); |