diff options
author | ache <ache@FreeBSD.org> | 1995-04-06 13:55:56 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-04-06 13:55:56 +0000 |
commit | 4e2880fc992dd5ba305c59b45199108f9559db2d (patch) | |
tree | e1b95fb202c00ac6450c0e82e8e67f0089436d61 /sys/i386/isa/isa.c | |
parent | 9c0b0dd073de234d3e12b4e3119425e54ff226ba (diff) | |
download | FreeBSD-src-4e2880fc992dd5ba305c59b45199108f9559db2d.zip FreeBSD-src-4e2880fc992dd5ba305c59b45199108f9559db2d.tar.gz |
Print "on isa" for devices with port==0 per Bruce suggestion
Diffstat (limited to 'sys/i386/isa/isa.c')
-rw-r--r-- | sys/i386/isa/isa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/isa.c b/sys/i386/isa/isa.c index 4be83e7..43b1655 100644 --- a/sys/i386/isa/isa.c +++ b/sys/i386/isa/isa.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: isa.c,v 1.42 1995/03/28 07:55:38 bde Exp $ + * $Id: isa.c,v 1.43 1995/04/04 22:48:40 ache Exp $ */ /* @@ -453,7 +453,7 @@ config_isadev_c(isdp, mp, reconfig) printf(" msize %d", isdp->id_msize); if (isdp->id_flags) printf(" flags 0x%x", isdp->id_flags); - if (!(isdp->id_iobase & 0xf300)) { + if (isdp->id_iobase && !(isdp->id_iobase & 0xf300)) { printf(" on motherboard"); } else if (isdp->id_iobase >= 0x1000 && !(isdp->id_iobase & 0x300)) { |