Add get/set param ioctls.
MFC after: 1 week
This commit is contained in:
parent
6954940847
commit
890e899899
@ -156,3 +156,26 @@ struct isp_hba_device {
|
||||
#define ISP_TOPO_FPORT 4 /* F-port */
|
||||
|
||||
#define ISP_FC_GETHINFO _IOR(ISP_IOC, 12, struct isp_hba_device)
|
||||
/*
|
||||
* Set some internal parameters. This doesn't take effect until
|
||||
* the chip is reset.
|
||||
*
|
||||
* Each parameter is generalized to be a name string with an integer value.
|
||||
*
|
||||
* Known parameters are:
|
||||
*
|
||||
* Name Value Range
|
||||
*
|
||||
* "framelength" 512,1024,2048
|
||||
* "exec_throttle" 16..255
|
||||
* "fullduplex" 0,1
|
||||
* "loopid" 0..125
|
||||
*/
|
||||
|
||||
struct isp_fc_param {
|
||||
char param_name[16]; /* null terminated */
|
||||
u_int32_t parameter;
|
||||
};
|
||||
|
||||
#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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user