aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp/ispvar.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2015-07-04 18:38:46 +0000
committerAlexander Motin <mav@FreeBSD.org>2015-07-04 18:38:46 +0000
commit6bef0aa0c6243845f515bc4d2b2c00b1c1d26b33 (patch)
treed5ca7b80006c8bb8c4b9b9c37b155fca4c502646 /sys/dev/isp/ispvar.h
parent68c32d3559c4c508205a4e6a473702e27239f25b (diff)
downloadsrc-6bef0aa0c6243845f515bc4d2b2c00b1c1d26b33.tar.gz
src-6bef0aa0c6243845f515bc4d2b2c00b1c1d26b33.zip
Drop discovered targets when initiator role is disabled.
Notes
Notes: svn path=/head/; revision=285146
Diffstat (limited to 'sys/dev/isp/ispvar.h')
-rw-r--r--sys/dev/isp/ispvar.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isp/ispvar.h b/sys/dev/isp/ispvar.h
index 4ac91b9f4641..150073ef6534 100644
--- a/sys/dev/isp/ispvar.h
+++ b/sys/dev/isp/ispvar.h
@@ -915,6 +915,8 @@ void isp_done(XS_T *);
* Get PDB on this channel for this N-port handle
* ... ISPCTL_PLOGX, isp_plcmd_t *)
* Performa a port login/logout
+ * ... ISPCTL_CHANGE_ROLE, int channel, int role);
+ * Change role of specified channel
*
* ISPCTL_PDB_SYNC is somewhat misnamed. It actually is the final step, in
* order, of ISPCTL_FCLINK_TEST, ISPCTL_SCAN_FABRIC, and ISPCTL_SCAN_LOOP.
@@ -937,7 +939,8 @@ typedef enum {
ISPCTL_GET_NAMES,
ISPCTL_RUN_MBOXCMD,
ISPCTL_GET_PDB,
- ISPCTL_PLOGX
+ ISPCTL_PLOGX,
+ ISPCTL_CHANGE_ROLE
} ispctl_t;
int isp_control(ispsoftc_t *, ispctl_t, ...);