Add a transport settings variant for Fibre Channel.
This commit is contained in:
parent
d9e21dea0f
commit
f4263fe731
@ -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…
x
Reference in New Issue
Block a user