Update for ISA autoconfiguration changes.

This commit is contained in:
thorpej 2002-01-22 18:36:51 +00:00
parent fd7f5e11ae
commit 470bbfb229
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.1 2001/06/19 00:21:15 fvdl Exp $ */
/* $NetBSD: autoconf.c,v 1.2 2002/01/22 18:36:51 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -444,7 +444,9 @@ device_register(dev, aux)
struct isa_attach_args *iaa = aux;
/* compare IO base address */
if (bin->addr.iobase == iaa->ia_iobase)
/* XXXJRT what about multiple I/O addrs? */
if (iaa->ia_nio > 0 &&
bin->addr.iobase == iaa->ia_io[0].ir_addr)
goto found;
}
#if NPCI > 0