diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2005-10-29 02:46:59 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2005-10-29 02:46:59 +0000 |
| commit | 8e62a8ac99b80a912b05e2482839532b9be38fbd (patch) | |
| tree | 510b1fcd2af2e73684cebdb6dfc7d6fa652382c5 /sys/dev/isp/isp_ioctl.h | |
| parent | 068b66420646cc88524b51f47ccadf74c4e8b649 (diff) | |
Notes
Diffstat (limited to 'sys/dev/isp/isp_ioctl.h')
| -rw-r--r-- | sys/dev/isp/isp_ioctl.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_ioctl.h b/sys/dev/isp/isp_ioctl.h index 921272aa2490..099b10478771 100644 --- a/sys/dev/isp/isp_ioctl.h +++ b/sys/dev/isp/isp_ioctl.h @@ -185,3 +185,15 @@ struct isp_fc_param { #define ISP_GET_FC_PARAM _IOWR(ISP_IOC, 98, struct isp_fc_param) #define ISP_SET_FC_PARAM _IOWR(ISP_IOC, 99, struct isp_fc_param) + +/* + * Various Reset Goodies + */ +struct isp_fc_tsk_mgmt { + u_int32_t loopid; /* 0..255 */ + u_int32_t lun; + enum { + CLEAR_ACA, TARGET_RESET, LUN_RESET, CLEAR_TASK_SET, ABORT_TASK_SET + } action; +}; +#define ISP_TSK_MGMT _IOWR(ISP_IOC, 97, struct isp_fc_tsk_mgmt) |
