diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2005-12-27 21:20:03 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2005-12-27 21:20:03 +0000 |
commit | 379a4c29a0cd31901b88b1d2d1bf3d5354e5b34e (patch) | |
tree | 38a06fa276d176107c190fa8e587ffdc7d82b451 | |
parent | 236566f072f29e9824b59336264cf16afb8562d4 (diff) |
Enable i2c bus scanning and kill annoying error message.
-rw-r--r-- | sys/dev/isa/gscsio.c | 5 |
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); } |