summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/gscsio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isa/gscsio.c b/sys/dev/isa/gscsio.c
index 42b49d3e6c9..65298748bef 100644
--- a/sys/dev/isa/gscsio.c
+++ b/sys/dev/isa/gscsio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: gscsio.c,v 1.5 2005/12/25 19:02:32 grange Exp $ */
+/* $OpenBSD: gscsio.c,v 1.6 2005/12/27 21:20:02 grange Exp $ */
/*
* Copyright (c) 2004 Alexander Yurchenko <grange@openbsd.org>
*
@@ -252,6 +252,7 @@ gscsio_acb_init(struct gscsio_acb *acb, i2c_tag_t tag)
iba.iba_name = "iic";
iba.iba_tag = tag;
+ iba.iba_scan = 1;
config_found(&sc->sc_dev, &iba, iicbus_print);
}
@@ -271,8 +272,10 @@ gscsio_acb_wait(struct gscsio_acb *acb, int bits, int flags)
return (EIO);
}
if (st & GSCSIO_ACB_ST_NEGACK) {
+#if 0
printf("%s: negative ack, flags=0x%x\n",
sc->sc_dev.dv_xname, flags);
+#endif
gscsio_acb_reset(acb);
return (EIO);
}