HP-UX Reference (11i v3 07/02) - 7 Device (Special) Files, 9 General Information, Index (vol 10)
s
scsi(7) scsi(7)
/* SCSI-2 inquiry structure */
struct inquiry_2 {
unsigned int periph_qualifier:3;
unsigned int dev_type:5;
unsigned int rmb:1;
unsigned int dtq:7;
unsigned int iso:2;
unsigned int ecma:3;
unsigned int ansi:3;
unsigned int aenc:1;
unsigned int trmiop:1;
unsigned int resv1:2;
unsigned int rdf:4;
unsigned char added_len;
unsigned char resv2[2];
unsigned int reladr:1;
unsigned int wbus32:1;
unsigned int wbus16:1;
unsigned int sync:1;
unsigned int linked:1;
unsigned int resv3:1;
unsigned int cmdque:1;
unsigned int sftre:1;
char vendor_id[8];
char product_id[16];
char rev_num[4];
unsigned char vendor_spec[20];
unsigned char resv4[40];
unsigned char vendor_parm_bytes[32];
} inquiry_2_t;
/* Definition for version description in SCSI-3 inquiry */
typedef uint8_t vdesc_t[2];
/* SCSI-3 inquiry structure */
typedef struct inquiry_3 {
uint32_t pq :3;
uint32_t pdt :5;
uint32_t rmb :1;
uint32_t rsvd1 :7;
uint32_t version :8;
uint32_t aerc :1;
uint32_t obslt1 :1;
uint32_t naca :1;
uint32_t hisup :1;
uint32_t rdf :4;
uint32_t added_len :8;
uint32_t sccs :1;
uint32_t rsvd2 :7;
uint32_t bque :1;
uint32_t encserv :1;
uint32_t vs1 :1;
uint32_t multip :1;
uint32_t mchngr :1;
uint32_t obslt2 :1;
uint32_t obslt3 :1;
uint32_t addr16 :1;
uint32_t reladr :1;
uint32_t obslt4 :1;
uint32_t wbus16 :1;
uint32_t sync :1;
uint32_t linked :1;
HP-UX 11i Version 3: February 2007 − 2 − Hewlett-Packard Company 149