scsi_address man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

SCSI_ADDRESS(9S)					      SCSI_ADDRESS(9S)

NAME
       scsi_address - SCSI address structure

SYNOPSIS
       #include <sys/scsi/scsi.h>

INTERFACE LEVEL
       Solaris architecture specific (Solaris DDI)

DESCRIPTION
       A  scsi_address	structure defines the addressing components for a SCSI
       target device. The address of the target device is separated  into  two
       components:  target  number and logical unit number. The two addressing
       components are used to uniquely identify any type of SCSI device;  how‐
       ever,  most  devices  can be addressed with the target component of the
       address.

       In the case where only the target component  is	used  to  address  the
       device, the logical unit should be set to  0. If the SCSI target device
       supports logical units, then the HBA must interpret the	logical	 units
       field of the data structure.

       The   pkt_address   member   of	 a   scsi_pkt(9S)  is  initialized  by
       scsi_init_pkt(9F).

STRUCTURE MEMBERS
	 scsi_hba_tran_t   *a_hba_tran;	 /* Transport vectors for the SCSI bus */
	 ushort_t	   a_target;	 /* SCSI target id */
	 uchar_t	   a_lun;	 /* SCSI logical unit */

       a_hba_tran is a pointer	to  the	 controlling  HBA's  transport	vector
       structure.  The	SCSA  interface	 uses this field to pass any transport
       requests from the SCSI target device drivers to the HBA driver.

       a_target is the target component of the SCSI address.

       a_lun is the logical unit component of the SCSI	address.  The  logical
       unit  is used to further distinguish a SCSI target device that supports
       multiple logical units from one that does not. The  makecom(9F)	family
       of  functions  use the a_lun field to set the logical unit field in the
       SCSI CDB, for compatibility with SCSI-1.

SEE ALSO
       makecom(9F), scsi_init_pkt(9F), scsi_hba_tran(9S), scsi_pkt(9S)

       Writing Device Drivers

				 Aug 30, 1995		      SCSI_ADDRESS(9S)
[top]

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net