diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2002-07-08 17:34:56 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2002-07-08 17:34:56 +0000 |
| commit | f00939f92f1bdf39baf1c6663cc7fb75461a2a51 (patch) | |
| tree | f3dac3cdd0d22428db9bac03819e0061b6cecc96 /sys/dev | |
| parent | ed753e824b44c5a6a83cd5b262887532ba3d4837 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/isp/isp_ioctl.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/dev/isp/isp_ioctl.h b/sys/dev/isp/isp_ioctl.h index 64613fd8bc6c9..f0294c806b1cb 100644 --- a/sys/dev/isp/isp_ioctl.h +++ b/sys/dev/isp/isp_ioctl.h @@ -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) |
