summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>1998-10-05 07:34:44 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>1998-10-05 07:34:44 +0000
commit5e187a86c35435598995f45c4f1bb4d3e711e053 (patch)
tree790bd17247c6bec165a5850a2572668a92b8b69c /sys/dev/ic
parentb630b315cc388fae3d8aa58f40378825a8473921 (diff)
Remove the bus_space_unmap from aic_find.
Call isa_intr_establish before aicattach.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/aic6360.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys/dev/ic/aic6360.c b/sys/dev/ic/aic6360.c
index 5ba8250e08f..060f6afd962 100644
--- a/sys/dev/ic/aic6360.c
+++ b/sys/dev/ic/aic6360.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic6360.c,v 1.1 1998/09/11 07:24:57 fgsch Exp $ */
+/* $OpenBSD: aic6360.c,v 1.2 1998/10/05 07:34:43 fgsch Exp $ */
/* $NetBSD: aic6360.c,v 1.52 1996/12/10 21:27:51 thorpej Exp $ */
#ifdef DDB
@@ -110,7 +110,7 @@
* kernel debugger. If you set AIC_DEBUG to 0 they are not included (the
* kernel uses less memory) but you lose the debugging facilities.
*/
-#define AIC_DEBUG 0
+#define AIC_DEBUG 1
#define AIC_ABORT_TIMEOUT 2000 /* time to wait for abort */
@@ -236,8 +236,7 @@ aic_find(iot, ioh)
;
if (i != STSIZE) {
AIC_START(("STACK futzed at %d.\n", i));
- bus_space_unmap(iot, ioh, AIC_NPORTS);
- return (1);
+ return (0);
}
/* See if we can pull the id string out of the ID register,
@@ -249,7 +248,7 @@ aic_find(iot, ioh)
AIC_START(("chip revision %d\n",
(int)bus_space_read_1(iot, ioh, REV)));
- return (0);
+ return (1);
}
/*