summaryrefslogtreecommitdiffstats
path: root/sys/dev/advansys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-08 18:20:57 +0000
committerpeter <peter@FreeBSD.org>1999-05-08 18:20:57 +0000
commitaa5b4a8cac1058ad4445a86f3d348f6ed0a6a7ce (patch)
treef40657f7ea173e2fc2e4aa30a5883d260456dcf1 /sys/dev/advansys
parentd32f23787471ba3b6271cf03474a29e9a439d368 (diff)
downloadFreeBSD-src-aa5b4a8cac1058ad4445a86f3d348f6ed0a6a7ce.zip
FreeBSD-src-aa5b4a8cac1058ad4445a86f3d348f6ed0a6a7ce.tar.gz
Use haveseen_ioport() which is now connected up to the resource manager.
Diffstat (limited to 'sys/dev/advansys')
-rw-r--r--sys/dev/advansys/adv_isa.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/advansys/adv_isa.c b/sys/dev/advansys/adv_isa.c
index c04a518..58eebf0 100644
--- a/sys/dev/advansys/adv_isa.c
+++ b/sys/dev/advansys/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? */
}
}
OpenPOWER on IntegriCloud