svn commit: r203463 - head/sys/dev/isp
Matt Jacob
mjacob at FreeBSD.org
Thu Feb 4 00:40:12 UTC 2010
Author: mjacob
Date: Thu Feb 4 00:40:12 2010
New Revision: 203463
URL: http://svn.freebsd.org/changeset/base/203463
Log:
Fix target mode compilation problem with previous delta
Modified:
head/sys/dev/isp/isp_library.c
Modified: head/sys/dev/isp/isp_library.c
==============================================================================
--- head/sys/dev/isp/isp_library.c Thu Feb 4 00:11:34 2010 (r203462)
+++ head/sys/dev/isp/isp_library.c Thu Feb 4 00:40:12 2010 (r203463)
@@ -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, voi
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;
More information about the svn-src-head
mailing list