diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c index a38368841e65..31de543cea12 100644 --- a/sys/amd64/pci/pci_bus.c +++ b/sys/amd64/pci/pci_bus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.33 1997/04/09 09:15:03 se Exp $ +** $Id: pcibus.c,v 1.34 1997/04/09 09:16:27 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 || (class & 0xf8f0ff00) != 0) + if ((class & 0xffffff00) == 0 || (class & 0xf8f0ff00) != 0) continue; header = pcibus_read (pcibus_tag (0,device,0), 12); diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c index a38368841e65..31de543cea12 100644 --- a/sys/amd64/pci/pci_cfgreg.c +++ b/sys/amd64/pci/pci_cfgreg.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.33 1997/04/09 09:15:03 se Exp $ +** $Id: pcibus.c,v 1.34 1997/04/09 09:16:27 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 || (class & 0xf8f0ff00) != 0) + if ((class & 0xffffff00) == 0 || (class & 0xf8f0ff00) != 0) continue; header = pcibus_read (pcibus_tag (0,device,0), 12); diff --git a/sys/i386/isa/pcibus.c b/sys/i386/isa/pcibus.c index a38368841e65..31de543cea12 100644 --- a/sys/i386/isa/pcibus.c +++ b/sys/i386/isa/pcibus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.33 1997/04/09 09:15:03 se Exp $ +** $Id: pcibus.c,v 1.34 1997/04/09 09:16:27 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 || (class & 0xf8f0ff00) != 0) + if ((class & 0xffffff00) == 0 || (class & 0xf8f0ff00) != 0) continue; header = pcibus_read (pcibus_tag (0,device,0), 12); diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c index a38368841e65..31de543cea12 100644 --- a/sys/i386/pci/pci_bus.c +++ b/sys/i386/pci/pci_bus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.33 1997/04/09 09:15:03 se Exp $ +** $Id: pcibus.c,v 1.34 1997/04/09 09:16:27 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 || (class & 0xf8f0ff00) != 0) + if ((class & 0xffffff00) == 0 || (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 a38368841e65..31de543cea12 100644 --- a/sys/i386/pci/pci_cfgreg.c +++ b/sys/i386/pci/pci_cfgreg.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.33 1997/04/09 09:15:03 se Exp $ +** $Id: pcibus.c,v 1.34 1997/04/09 09:16:27 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 || (class & 0xf8f0ff00) != 0) + if ((class & 0xffffff00) == 0 || (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 a38368841e65..31de543cea12 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.33 1997/04/09 09:15:03 se Exp $ +** $Id: pcibus.c,v 1.34 1997/04/09 09:16:27 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 || (class & 0xf8f0ff00) != 0) + if ((class & 0xffffff00) == 0 || (class & 0xf8f0ff00) != 0) continue; header = pcibus_read (pcibus_tag (0,device,0), 12);