diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2000-07-18 07:05:37 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2000-07-18 07:05:37 +0000 |
| commit | d37162ca7abfccfbf48216b4a079c4984c70e5d2 (patch) | |
| tree | be584d11166030e20906bc79808160c39b981c9e /sys/dev/isp/isp_target.c | |
| parent | 910fb4f6ee7f30adc1a9c0192c200a4bca661145 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp/isp_target.c')
| -rw-r--r-- | sys/dev/isp/isp_target.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_target.c b/sys/dev/isp/isp_target.c index dfd38d52529a5..a099849cd0c0d 100644 --- a/sys/dev/isp/isp_target.c +++ b/sys/dev/isp/isp_target.c @@ -240,6 +240,9 @@ isp_target_notify(isp, vptr, optrp) rval = -1; break; } + if (isp_tdebug) { + MEMZERO(vptr, QENTRY_LEN); + } #undef atiop #undef at2iop #undef ctiop @@ -533,7 +536,8 @@ isp_target_async(isp, bus, event) isp->isp_name, event); break; } - isp_notify_ack(isp, NULL); + if (isp->isp_state == ISP_RUNSTATE) + isp_notify_ack(isp, NULL); } |
