diff options
| author | Stefan Eßer <se@FreeBSD.org> | 1996-04-30 21:37:21 +0000 |
|---|---|---|
| committer | Stefan Eßer <se@FreeBSD.org> | 1996-04-30 21:37:21 +0000 |
| commit | e20df7fc31318bbf50b13b9033c009ce4ea6bda3 (patch) | |
| tree | c526852a9867947a916d46c936193364f47f0c52 | |
| parent | 1fadece3ee34f78af238b3485ee29266d782e04c (diff) | |
Notes
| -rw-r--r-- | sys/amd64/pci/pci_bus.c | 4 | ||||
| -rw-r--r-- | sys/amd64/pci/pci_cfgreg.c | 4 | ||||
| -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 |
6 files changed, 12 insertions, 12 deletions
diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c index be2e36468c06..a93a3e13be0a 100644 --- a/sys/amd64/pci/pci_bus.c +++ b/sys/amd64/pci/pci_bus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.22 1996/03/29 15:01:51 bde Exp $ +** $Id: pcibus.c,v 1.23 1996/04/07 17:32:15 bde Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -169,7 +169,7 @@ pcibus_check (void) if (bootverbose) printf ("%d ", device); id = pcibus_read (pcibus_tag (0,device,0), 0); - if (id != 0xfffffffful) { + if (id && id != 0xfffffffful) { if (bootverbose) printf ("is there (id=%08lx)\n", id); return 1; } diff --git a/sys/amd64/pci/pci_cfgreg.c b/sys/amd64/pci/pci_cfgreg.c index be2e36468c06..a93a3e13be0a 100644 --- a/sys/amd64/pci/pci_cfgreg.c +++ b/sys/amd64/pci/pci_cfgreg.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.22 1996/03/29 15:01:51 bde Exp $ +** $Id: pcibus.c,v 1.23 1996/04/07 17:32:15 bde Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -169,7 +169,7 @@ pcibus_check (void) if (bootverbose) printf ("%d ", device); id = pcibus_read (pcibus_tag (0,device,0), 0); - if (id != 0xfffffffful) { + if (id && id != 0xfffffffful) { if (bootverbose) printf ("is there (id=%08lx)\n", id); return 1; } diff --git a/sys/i386/isa/pcibus.c b/sys/i386/isa/pcibus.c index be2e36468c06..a93a3e13be0a 100644 --- a/sys/i386/isa/pcibus.c +++ b/sys/i386/isa/pcibus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.22 1996/03/29 15:01:51 bde Exp $ +** $Id: pcibus.c,v 1.23 1996/04/07 17:32:15 bde Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -169,7 +169,7 @@ pcibus_check (void) if (bootverbose) printf ("%d ", device); id = pcibus_read (pcibus_tag (0,device,0), 0); - if (id != 0xfffffffful) { + if (id && id != 0xfffffffful) { if (bootverbose) printf ("is there (id=%08lx)\n", id); return 1; } diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c index be2e36468c06..a93a3e13be0a 100644 --- a/sys/i386/pci/pci_bus.c +++ b/sys/i386/pci/pci_bus.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.22 1996/03/29 15:01:51 bde Exp $ +** $Id: pcibus.c,v 1.23 1996/04/07 17:32:15 bde Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -169,7 +169,7 @@ pcibus_check (void) if (bootverbose) printf ("%d ", device); id = pcibus_read (pcibus_tag (0,device,0), 0); - if (id != 0xfffffffful) { + if (id && id != 0xfffffffful) { if (bootverbose) printf ("is there (id=%08lx)\n", id); return 1; } diff --git a/sys/i386/pci/pci_cfgreg.c b/sys/i386/pci/pci_cfgreg.c index be2e36468c06..a93a3e13be0a 100644 --- a/sys/i386/pci/pci_cfgreg.c +++ b/sys/i386/pci/pci_cfgreg.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.22 1996/03/29 15:01:51 bde Exp $ +** $Id: pcibus.c,v 1.23 1996/04/07 17:32:15 bde Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -169,7 +169,7 @@ pcibus_check (void) if (bootverbose) printf ("%d ", device); id = pcibus_read (pcibus_tag (0,device,0), 0); - if (id != 0xfffffffful) { + if (id && id != 0xfffffffful) { if (bootverbose) printf ("is there (id=%08lx)\n", id); return 1; } diff --git a/sys/i386/pci/pci_pir.c b/sys/i386/pci/pci_pir.c index be2e36468c06..a93a3e13be0a 100644 --- a/sys/i386/pci/pci_pir.c +++ b/sys/i386/pci/pci_pir.c @@ -1,6 +1,6 @@ /************************************************************************** ** -** $Id: pcibus.c,v 1.22 1996/03/29 15:01:51 bde Exp $ +** $Id: pcibus.c,v 1.23 1996/04/07 17:32:15 bde Exp $ ** ** pci bus subroutines for i386 architecture. ** @@ -169,7 +169,7 @@ pcibus_check (void) if (bootverbose) printf ("%d ", device); id = pcibus_read (pcibus_tag (0,device,0), 0); - if (id != 0xfffffffful) { + if (id && id != 0xfffffffful) { if (bootverbose) printf ("is there (id=%08lx)\n", id); return 1; } |
