diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-03 17:46:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-03 17:46:54 +0000 |
commit | 3ec3559ff1deaa912728a9660029cb87fa1102fe (patch) | |
tree | 2b97693fb179cfda25fde7d2bf96e49869a67dd2 | |
parent | 98959664279eb8eb3bbe63f2d269e2bc4873ab33 (diff) |
do not whine about failed negotiations
-rw-r--r-- | sys/dev/ic/aic7xxx.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/aic7xxx.c b/sys/dev/ic/aic7xxx.c index 327d15f3daa..e101ccaa8c2 100644 --- a/sys/dev/ic/aic7xxx.c +++ b/sys/dev/ic/aic7xxx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic7xxx.c,v 1.16 1997/04/10 22:52:18 deraadt Exp $ */ +/* $OpenBSD: aic7xxx.c,v 1.17 1997/07/03 17:46:53 deraadt Exp $ */ /* $NetBSD: aic7xxx.c,v 1.17 1996/10/21 22:34:04 thorpej Exp $ */ /* @@ -1552,18 +1552,22 @@ ahc_handle_seqint(ahc, intstat) targ_scratch &= 0x7f; ahc->needwdtr &= ~targ_mask; ahc->wdtrpending &= ~targ_mask; +#if !(defined(__NetBSD__) || defined(__OpenBSD__)) || defined(DEBUG) printf("%s:%c:%d: refuses WIDE negotiation. Using " "8bit transfers\n", ahc_name(ahc), channel, target); +#endif } else if(ahc->sdtrpending & targ_mask){ /* note asynch xfers and clear flag */ targ_scratch &= 0xf0; ahc->needsdtr &= ~targ_mask; ahc->sdtrpending &= ~targ_mask; +#if !(defined(__NetBSD__) || defined(__OpenBSD__)) || defined(DEBUG) printf("%s:%c:%d: refuses synchronous negotiation. " "Using asynchronous transfers\n", ahc_name(ahc), channel, target); +#endif } else { /* * Otherwise, we ignore it. |