DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

scsi_edt(D4sdi)


scsi_edt -- external EDT device definition structure

Synopsis

   #include <sys/sdi.h>

Description

The scsi_edt structure defines the external representation of an entry to the Equipped Device Table (EDT) and describes an SDI device or controller.

Structure definition

The scsi_edt structure is defined as follows:
   struct scsi_edt {
       short     c_maj;
       short     b_maj;
       uchar_t   pdtype;
       uchar_t   tc_equip;
       uchar_t   ha_slot;
       uchar_t   n_lus;
       uchar_t   lu_id[MAX_LUS];
       char      drv_name[NAME_LEN];
       uchar_t   tc_inquiry[INQ_LEN];
   };

Structure members


c_maj and b_maj
For DDI drivers prior to version 8, represent the device character and block major numbers. Undefined for DDI 8.

pdtype
Identifies the SCSI target device type.

tc_equip
Set to 1 if the target is equipped.

ha_slot
Set to the hbano of the controller for this device.

n_lus
Contains a count of the number of LUs equipped,

lu_id
Array that has a 1 set for the LUs that are equipped.

drv_name
Target driver's ASCII name is returned to this member.

tc_inquiry
Inquiry string (Target controller vendor and product name) is stored here.

Usage

When the B_REDT ioctl (see sdi(7)) is invoked, SDI fills in a scsi_edt structure for all SCSI target devices on each configured host adapter. When the B_HA_CNT ioctl is invoked, SDI uses this information to compute the number of configured host adapters in the system.

Applicable hardware

All.

Version applicability

sdi: 2, 3, 4

References

sdi
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005