mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Rename ioctl driven task management functions so they
don't collide with task management definitions on other platforms.
This commit is contained in:
parent
7f113673df
commit
f0f536d1ae
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160976
@ -562,29 +562,29 @@ ispioctl(_DEV dev, u_long c, caddr_t addr, int flags, _IOP *td)
|
||||
loopid <<= 8;
|
||||
}
|
||||
switch (fct->action) {
|
||||
case CLEAR_ACA:
|
||||
case IPT_CLEAR_ACA:
|
||||
mbs.param[0] = MBOX_CLEAR_ACA;
|
||||
mbs.param[1] = loopid;
|
||||
mbs.param[2] = fct->lun;
|
||||
break;
|
||||
case TARGET_RESET:
|
||||
case IPT_TARGET_RESET:
|
||||
mbs.param[0] = MBOX_TARGET_RESET;
|
||||
mbs.param[1] = loopid;
|
||||
needmarker = 1;
|
||||
break;
|
||||
case LUN_RESET:
|
||||
case IPT_LUN_RESET:
|
||||
mbs.param[0] = MBOX_LUN_RESET;
|
||||
mbs.param[1] = loopid;
|
||||
mbs.param[2] = fct->lun;
|
||||
needmarker = 1;
|
||||
break;
|
||||
case CLEAR_TASK_SET:
|
||||
case IPT_CLEAR_TASK_SET:
|
||||
mbs.param[0] = MBOX_CLEAR_TASK_SET;
|
||||
mbs.param[1] = loopid;
|
||||
mbs.param[2] = fct->lun;
|
||||
needmarker = 1;
|
||||
break;
|
||||
case ABORT_TASK_SET:
|
||||
case IPT_ABORT_TASK_SET:
|
||||
mbs.param[0] = MBOX_ABORT_TASK_SET;
|
||||
mbs.param[1] = loopid;
|
||||
mbs.param[2] = fct->lun;
|
||||
|
@ -188,7 +188,11 @@ struct isp_fc_tsk_mgmt {
|
||||
uint32_t loopid; /* 0..255 */
|
||||
uint32_t lun;
|
||||
enum {
|
||||
CLEAR_ACA, TARGET_RESET, LUN_RESET, CLEAR_TASK_SET, ABORT_TASK_SET
|
||||
IPT_CLEAR_ACA,
|
||||
IPT_TARGET_RESET,
|
||||
IPT_LUN_RESET,
|
||||
IPT_CLEAR_TASK_SET,
|
||||
IPT_ABORT_TASK_SET
|
||||
} action;
|
||||
};
|
||||
#define ISP_TSK_MGMT _IOWR(ISP_IOC, 97, struct isp_fc_tsk_mgmt)
|
||||
|
Loading…
Reference in New Issue
Block a user