HP-UX Reference (11i v3 07/02) - 7 Device (Special) Files, 9 General Information, Index (vol 10)
s
scsi_ctl(7) scsi_ctl(7)
bus communication parameter limit suggestions. The max_width, max_reqack_offset, and max_xfer_rate
fields only apply to parallel SCSI.
The following is included from
<sys/scsi.h> :
/* SCSI communication parameter ioctls */
#define SIOC_GET_LUN_PARMS _IOR(’S’, 58, struct sioc_lun_parms)
#define SIOC_GET_TGT_PARMS _IOR(’S’, 59, struct sioc_tgt_parms)
#define SIOC_GET_BUS_PARMS _IOR(’S’, 60, struct sioc_bus_parms)
#define SIOC_GET_LUN_LIMITS _IOR(’S’, 61, struct sioc_lun_limits)
#define SIOC_GET_TGT_LIMITS _IOR(’S’, 62, struct sioc_tgt_limits)
#define SIOC_GET_BUS_LIMITS _IOR(’S’, 63, struct sioc_bus_limits)
#define SIOC_SET_LUN_LIMITS _IOW(’S’, 64, struct sioc_lun_limits)
#define SIOC_SET_TGT_LIMITS _IOW(’S’, 65, struct sioc_tgt_limits)
#define SIOC_SET_BUS_LIMITS _IOW(’S’, 66, struct sioc_bus_limits)
struct sioc_lun_parms {
unsigned int flags;
unsigned int max_q_depth; /* maximum active I/O’s */
unsigned int reserved[4]; /* reserved for future
* use
*/
} sioc_lun_parms_t;
struct sioc_lun_limits {
unsigned int flags;
unsigned int max_q_depth;
unsigned int reserved[4]; /* reserved for
* future use
*/
} sioc_lun_limits_t;
typedef struct sioc_tgt_parms {
unsigned int flags;
unsigned int width; /* bits per word */
unsigned int xfer_rate; /* words per second */
unsigned int reqack_offset; /* REQ/ACK offset */
unsigned int tgt_id; /* target Id */
unsigned int reserved[3]; /* reserved
* for future use
*/
} sioc_tgt_parms_t;
typedef struct sioc_tgt_limits {
unsigned int flags;
unsigned int max_width; /* Bits per word */
unsigned int max_xfer_rate; /* Words per second */
unsigned int max_reqack_offset; /* REQ/ACK offset */
unsigned int tgt_id; /* target Id */
unsigned int reserved[3]; /* Reserved for future
* use
*/
} sioc_tgt_limits_t;
struct sioc_bus_parms {
unsigned int flags; /* reserved for future
* use
*/
unsigned int max_width;
unsigned int max_reqack_offset;
unsigned int max_xfer_rate; /* bytes/sec */
unsigned int reserved[4]; /* reserved for future
* use
HP-UX 11i Version 3: February 2007 − 4 − Hewlett-Packard Company 157