PERFORCE change 109888 for review
Matt Jacob
mjacob at FreeBSD.org
Mon Nov 13 21:46:39 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109888
Change 109888 by mjacob at newisp on 2006/11/13 21:43:53
Demote isp_tarminate_cmd to being a platform provided function.
Affected files ...
.. //depot/projects/newisp/dev/isp/isp_target.c#11 edit
.. //depot/projects/newisp/dev/isp/isp_target.h#12 edit
Differences ...
==== //depot/projects/newisp/dev/isp/isp_target.c#11 (text+ko) ====
@@ -724,35 +724,6 @@
}
/*
- * Terminate a command
- */
-int
-isp_terminate_cmd(ispsoftc_t *isp, void *arg)
-{
- tmd_cmd_t *tmd = arg;
- ct7_entry_t local, *cto = &local;;
-
- if (!IS_24XX(isp)) {
- return (-1);
- }
- isp_prt(isp, ISP_LOGINFO,
- "isp_terminate_cmd: [0x%0x] is being terminated",
- tmd->cd_tagval);
- MEMZERO(&local, sizeof (local));
- cto->ct_header.rqs_entry_type = RQSTYPE_CTIO7;
- cto->ct_header.rqs_entry_count = 1;
- cto->ct_nphdl = tmd->cd_nphdl;
- cto->ct_rxid = tmd->cd_tagval;
- cto->ct_iid_lo = tmd->cd_portid;
- cto->ct_iid_hi = tmd->cd_portid >> 16;
- cto->ct_oxid = tmd->cd_oxid;
- cto->ct_flags = CT7_TERMINATE;
- cto->ct_syshandle = 0;
- return (isp_target_put_entry(isp, &local));
-}
-
-
-/*
* These are either broadcast events or specifically CTIO fast completion
*/
int
==== //depot/projects/newisp/dev/isp/isp_target.h#12 (text+ko) ====
More information about the p4-projects
mailing list