diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2001-01-15 18:36:09 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2001-01-15 18:36:09 +0000 |
| commit | fe4a3254cede7e65873afe55fae55fe25d587c50 (patch) | |
| tree | 8b1cf32f8ef096c96a9c8ad18c33841487d0db6c /sys/dev/isp | |
| parent | 70d2cccebd148d6f5606cfc1da0d1f5089ae1273 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp')
| -rw-r--r-- | sys/dev/isp/isp_freebsd.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_freebsd.h b/sys/dev/isp/isp_freebsd.h index 052a8c226616..3bdfb1de8803 100644 --- a/sys/dev/isp/isp_freebsd.h +++ b/sys/dev/isp/isp_freebsd.h @@ -244,6 +244,7 @@ struct isposinfo { XS_SETERR(ccb, CAM_REQ_INPROG), (ccb)->ccb_h.spriv_field0 = 0 #define XS_SAVE_SENSE(xs, sp) \ + (xs)->ccb_h.status |= CAM_AUTOSNS_VALID, \ bcopy(sp->req_sense_data, &(xs)->sense_data, \ imin(XS_SNSLEN(xs), sp->req_sense_len)) @@ -358,7 +359,7 @@ isp_mbox_wait_complete(struct ispsoftc *isp) if (isp->isp_mboxbsy != 0) { isp_prt(isp, ISP_LOGWARN, "Interrupting Mailbox Command (0x%x) Timeout", - isp->isp_mboxtmp[0]); + isp->isp_lastmbxcmd); isp->isp_mboxbsy = 0; } isp->isp_osinfo.mboxwaiting = 0; @@ -375,7 +376,7 @@ isp_mbox_wait_complete(struct ispsoftc *isp) if (isp->isp_mboxbsy != 0) { isp_prt(isp, ISP_LOGWARN, "Polled Mailbox Command (0x%x) Timeout", - isp->isp_mboxtmp[0]); + isp->isp_lastmbxcmd); } } } |
