summaryrefslogtreecommitdiff
path: root/sys/dev/isa/it.c
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2003-10-19 17:29:42 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2003-10-19 17:29:42 +0000
commitff71ed733e4ec732ba77e99409c58c257f22a023 (patch)
treee67a87c0d307776ed83c45fefae5fa4eca7197bb /sys/dev/isa/it.c
parent629bd2548d045e15e0ade8fce88c8ba8b9720166 (diff)
Don't check for valid nio since pnp is not used; similar to lm(4).
This makes it(4) work on recent ASUS boards. Tested by me and henning@.
Diffstat (limited to 'sys/dev/isa/it.c')
-rw-r--r--sys/dev/isa/it.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/isa/it.c b/sys/dev/isa/it.c
index 0275d5510c7..e8bc741d9e7 100644
--- a/sys/dev/isa/it.c
+++ b/sys/dev/isa/it.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: it.c,v 1.2 2003/05/28 19:21:11 grange Exp $ */
+/* $OpenBSD: it.c,v 1.3 2003/10/19 17:29:41 grange Exp $ */
/*
* Copyright (c) 2003 Julien Bordet <zejames@greygats.org>
@@ -81,12 +81,6 @@ it_match(struct device *parent, void *match, void *aux)
int rv;
u_int8_t cr;
- /* Must supply an address */
- if (ia->ipa_nio < 1) {
- DPRINTF(("%s: ipa_nio=%d\n", __func__, ia->ipa_nio));
- return (0);
- }
-
iot = ia->ia_iot;
iobase = ia->ipa_io[0].base;