diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-03-28 01:02:17 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-03-28 01:02:17 +0000 |
| commit | e5df661c83d387fe67203fa974efce435d87177f (patch) | |
| tree | 7c3cd265f6088a0225705f426bae43e3048994f6 /sys | |
| parent | 659d2a2071084c9a8790b15fd08ba57ed8b2268b (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/amd64/isa/isa.c | 8 | ||||
| -rw-r--r-- | sys/i386/isa/isa.c | 8 |
2 files changed, 6 insertions, 10 deletions
diff --git a/sys/amd64/isa/isa.c b/sys/amd64/isa/isa.c index 63b29c71f47d..b4fa75b6665a 100644 --- a/sys/amd64/isa/isa.c +++ b/sys/amd64/isa/isa.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)isa.c 7.2 (Berkeley) 5/13/91 - * $Id: isa.c,v 1.78 1997/03/25 03:13:05 ache Exp $ + * $Id: isa.c,v 1.79 1997/03/25 03:29:40 ache Exp $ */ /* @@ -395,7 +395,7 @@ config_isadev_c(isdp, mp, reconfig) if (id_alive != -1) { if (isdp->id_iobase == -1) printf(" at ?"); - else if (isdp->id_iobase != -2) { + else { printf(" at 0x%x", isdp->id_iobase); if (isdp->id_iobase + id_alive - 1 != isdp->id_iobase) { @@ -454,9 +454,7 @@ config_isadev_c(isdp, mp, reconfig) if (!isdp->id_reconfig) { printf("%s%d not found", dp->name, isdp->id_unit); - if (isdp->id_iobase == -1) - printf(" at ?"); - else if (isdp->id_iobase != -2) + if (isdp->id_iobase != -1) printf(" at 0x%x", isdp->id_iobase); printf("\n"); } diff --git a/sys/i386/isa/isa.c b/sys/i386/isa/isa.c index 63b29c71f47d..b4fa75b6665a 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.78 1997/03/25 03:13:05 ache Exp $ + * $Id: isa.c,v 1.79 1997/03/25 03:29:40 ache Exp $ */ /* @@ -395,7 +395,7 @@ config_isadev_c(isdp, mp, reconfig) if (id_alive != -1) { if (isdp->id_iobase == -1) printf(" at ?"); - else if (isdp->id_iobase != -2) { + else { printf(" at 0x%x", isdp->id_iobase); if (isdp->id_iobase + id_alive - 1 != isdp->id_iobase) { @@ -454,9 +454,7 @@ config_isadev_c(isdp, mp, reconfig) if (!isdp->id_reconfig) { printf("%s%d not found", dp->name, isdp->id_unit); - if (isdp->id_iobase == -1) - printf(" at ?"); - else if (isdp->id_iobase != -2) + if (isdp->id_iobase != -1) printf(" at 0x%x", isdp->id_iobase); printf("\n"); } |
