diff options
author | peter <peter@FreeBSD.org> | 1999-05-08 18:20:57 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-05-08 18:20:57 +0000 |
commit | aa5b4a8cac1058ad4445a86f3d348f6ed0a6a7ce (patch) | |
tree | f40657f7ea173e2fc2e4aa30a5883d260456dcf1 /sys/i386 | |
parent | d32f23787471ba3b6271cf03474a29e9a439d368 (diff) | |
download | FreeBSD-src-aa5b4a8cac1058ad4445a86f3d348f6ed0a6a7ce.zip FreeBSD-src-aa5b4a8cac1058ad4445a86f3d348f6ed0a6a7ce.tar.gz |
Use haveseen_ioport() which is now connected up to the resource manager.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/isa/adv_isa.c | 6 | ||||
-rw-r--r-- | sys/i386/isa/aha_isa.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/i386/isa/adv_isa.c b/sys/i386/isa/adv_isa.c index c04a518..58eebf0 100644 --- a/sys/i386/isa/adv_isa.c +++ b/sys/i386/isa/adv_isa.c @@ -44,7 +44,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: adv_isa.c,v 1.9 1999/04/11 03:06:06 eivind Exp $ + * $Id: adv_isa.c,v 1.10 1999/04/23 23:29:23 gibbs Exp $ */ #include <sys/param.h> @@ -150,7 +150,7 @@ advisaprobe(struct isa_device *id) /* Already been attached */ continue; id->id_iobase = port_addr; - if (haveseen_isadev(id, CC_IOADDR | CC_QUIET)) + if (haveseen_iobase(id, 1)) /* XXX real portsize? */ continue; if (adv_find_signature(I386_BUS_SPACE_IO, port_addr)) { @@ -304,7 +304,7 @@ advisaprobe(struct isa_device *id) /* Mark as probed */ adv_isa_ioports[port_index] = 0; - return 1; + return 1; /* XXX what is the real portsize? */ } } diff --git a/sys/i386/isa/aha_isa.c b/sys/i386/isa/aha_isa.c index c3704df..dec2dfe 100644 --- a/sys/i386/isa/aha_isa.c +++ b/sys/i386/isa/aha_isa.c @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: aha_isa.c,v 1.6 1999/01/20 06:21:23 imp Exp $ + * $Id: aha_isa.c,v 1.7 1999/04/16 21:22:19 peter Exp $ */ #include "pnp.h" @@ -103,7 +103,7 @@ aha_isa_probe(dev) if (aha_check_probed_iop(ioport) != 0) continue; dev->id_iobase = ioport; - if (haveseen_isadev(dev, CC_IOADDR | CC_QUIET)) + if (haveseen_iobase(dev, AHA_NREGS)) continue; /* Allocate a softc for use during probing */ |