From e5df661c83d387fe67203fa974efce435d87177f Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Fri, 28 Mar 1997 01:02:17 +0000 Subject: [PATCH] Remove recently commited support for iobase == -2 ("port none") is is really probe routine task (return -1 for no ports) --- sys/amd64/isa/isa.c | 8 +++----- 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 63b29c71f47..b4fa75b6665 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 63b29c71f47..b4fa75b6665 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"); }