If debugging set, zero out an incoming response entry
when we're done reading it (makes checking things easier). Before calling isp_notify_ack make sure we're at RUNSTATE- elsewise we can be responding to LIPs or SCSI bus resets before we've finished some of the wiring.
This commit is contained in:
parent
8f80306ae8
commit
9fea0ea08a
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user