diff options
| author | christos <christos@NetBSD.org> | 2006-09-02 07:00:23 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2006-09-02 07:00:23 +0000 |
| commit | 9f681d6f65bea5fbab7960f4e08d52dd527f5d68 (patch) | |
| tree | 7ffe2e9da3b12f425cee6be3c1c90fe9053f1741 /sys/dev | |
| parent | 489fe1e988177038275e2cee67a46a12f87f7ba5 (diff) | |
comment out impossible code
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/mb89352.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/mb89352.c b/sys/dev/ic/mb89352.c index 3f0dd0f395f..e218c4a35eb 100644 --- a/sys/dev/ic/mb89352.c +++ b/sys/dev/ic/mb89352.c @@ -1,4 +1,4 @@ -/* $NetBSD: mb89352.c,v 1.40 2005/12/24 20:27:30 perry Exp $ */ +/* $NetBSD: mb89352.c,v 1.41 2006/09/02 07:00:23 christos Exp $ */ /* NecBSD: mb89352.c,v 1.4 1998/03/14 07:31:20 kmatsuda Exp */ /*- @@ -70,7 +70,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mb89352.c,v 1.40 2005/12/24 20:27:30 perry Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mb89352.c,v 1.41 2006/09/02 07:00:23 christos Exp $"); #ifdef DDB #define integrate @@ -1046,6 +1046,7 @@ nextbyte: switch (sc->sc_imess[0]) { case MSG_CMDCOMPLETE: +#if 0 if (sc->sc_dleft < 0) { periph = acb->xs->xs_periph; printf("%s: %ld extra bytes from %d:%d\n", @@ -1053,6 +1054,7 @@ nextbyte: periph->periph_target, periph->periph_lun); sc->sc_dleft = 0; } +#endif acb->xs->resid = acb->data_length = sc->sc_dleft; sc->sc_state = SPC_CMDCOMPLETE; break; |
