Add a transport settings variant for Fibre Channel.
This commit is contained in:
parent
d73ce75615
commit
c1c84cd9c5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78709
@ -749,6 +749,18 @@ struct ccb_trans_settings_spi
|
||||
u_int ppr_options;
|
||||
};
|
||||
|
||||
struct ccb_trans_settings_fc {
|
||||
u_int valid; /* Which fields to honor */
|
||||
#define CTS_FC_VALID_WWNN 0x8000
|
||||
#define CTS_FC_VALID_WWPN 0x4000
|
||||
#define CTS_FC_VALID_PORT 0x2000
|
||||
#define CTS_FC_VALID_SPEED 0x1000
|
||||
u_int64_t wwnn; /* world wide node name */
|
||||
u_int64_t wwpn; /* world wide port name */
|
||||
u_int32_t port; /* 24 bit port id, if known */
|
||||
u_int32_t bitrate; /* Mbps */
|
||||
};
|
||||
|
||||
/* Get/Set transfer rate/width/disconnection/tag queueing settings */
|
||||
struct ccb_trans_settings {
|
||||
struct ccb_hdr ccb_h;
|
||||
@ -764,6 +776,7 @@ struct ccb_trans_settings {
|
||||
union {
|
||||
u_int valid; /* Which fields to honor */
|
||||
struct ccb_trans_settings_spi spi;
|
||||
struct ccb_trans_settings_fc fc;
|
||||
} xport_specific;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user