diff options
author | mjacob <mjacob@FreeBSD.org> | 2010-02-04 00:40:12 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2010-02-04 00:40:12 +0000 |
commit | cf0ea252380bf48b846d0207b56b8176d78a6541 (patch) | |
tree | 20add0acfa0040c08add74c2322820470905da63 /sys/dev/isp | |
parent | 1638949155d8b08b14427db84ddfee190cc69c19 (diff) | |
download | FreeBSD-src-cf0ea252380bf48b846d0207b56b8176d78a6541.zip FreeBSD-src-cf0ea252380bf48b846d0207b56b8176d78a6541.tar.gz |
Fix target mode compilation problem with previous delta
Diffstat (limited to 'sys/dev/isp')
-rw-r--r-- | sys/dev/isp/isp_library.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_library.c b/sys/dev/isp/isp_library.c index 877303e..87a5e9d 100644 --- a/sys/dev/isp/isp_library.c +++ b/sys/dev/isp/isp_library.c @@ -668,7 +668,7 @@ isp_clear_commands(ispsoftc_t *isp) ctio->ct_header.rqs_entry_type = RQSTYPE_CTIO2; } else { ct_entry_t *ctio = (ct_entry_t *) local; - ctio->ct_syshandle = handle & 0xffff; + ctio->ct_syshandle = hdp->handle & 0xffff; ctio->ct_status = CT_HBA_RESET & 0xff; ctio->ct_header.rqs_entry_type = RQSTYPE_CTIO; } @@ -2275,7 +2275,7 @@ isp_find_tgt_handle(ispsoftc_t *isp, void *xs) void isp_destroy_tgt_handle(ispsoftc_t *isp, uint32_t handle) { - if (!ISP_VALID_TGT_HANDLE(handle)) { + if (!ISP_VALID_TGT_HANDLE(isp, handle)) { isp_prt(isp, ISP_LOGERR, "%s: bad handle 0x%x", __func__, handle); } else { isp->isp_tgtlist[(handle & ISP_HANDLE_CMD_MASK)].handle = ISP_HANDLE_FREE; |