Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       sdi(7)                                                        sdi(7)


       NAME
             sdi - SCSI Device Interface subsystem

       DESCRIPTION
             The sdi driver is used to provide an interface between target
             drivers and HBA drivers.  Certain functions are available to
             the user with ioctl commands.

          ioctl Calls
             B_HA_CNT
                   Returns the number of configured host adapters in the
                   system.  The argument to ioctl is an integer.

             B_EDT_CNT
                   Returns the number of configured entries in the EDT.
                   The argument to ioctl is an integer.

             B_REDT
                   Returns an external representation of the EDT.  The
                   argument to ioctl is an array of struct scsi_edt with at
                   least as many elements as specified by B_HA_CNT time
                   MAX_TCS.

             B_RXEDT
                   Returns an external representation of the EDT.  The
                   argument to ioctl is an array of struct scsi_xedt with
                   at least as many elements as specified by B_EDT_CNT.

             B_MAP_CNT
                   The HBA map maintains a mapping between the internal and
                   external indexes in the EDT.  B_MAP_CNT returns the size
                   of this map.  The argument to ioctl is an integer.

             B_GET_MAP
                   Returns the HBA map.  The argument to ioctl is an array
                   of integers of at least as many elements as specified by
                   B_MAP_CNT.

             B_ADD_DEV
                   Adds a SCSI device to a running system.  The argument to
                   ioctl is a struct scsi_adr.  The scsi_adr may specify an
                   exact SCSI address or may use wild cards to instruct SDI
                   to search a range of SCSI addresses for a device.  This
                   routine only works if both the HBA and target driver
                   support hot insertion/removal.



                           Copyright 1994 Novell, Inc.               Page 1













      sdi(7)                                                        sdi(7)


            B_RM_DEV
                  Remove a SCSI device from a running system.  The
                  argument to ioctl is a struct scsi_adr.  The scsi_adr
                  must specify an exact SCSI address.  This routine only
                  works if both the HBA and target driver support hot
                  insertion/removal and the device is not busy.

            B_PAUSE
                  This stops all activity on the SCSI bus.  It does not
                  return until the SCSI bus is quiet.  It takes a struct
                  scsi_adr as an argument.  The scsi_adr must specify a
                  specific SCSI address.

            B_CONTINUE
                  This continues activity on a SCSI bus that had been
                  previously paused with B_PAUSE.  It takes a struct
                  scsi_adr as an argument.  The scsi_adr must specify a
                  specific SCSI address.

         Files
            /usr/include/sys/sdi.h
            /usr/include/sys/sdi_edt.h
            /usr/include/sys/sdi_comm.h
            /etc/conf/pack.d/sdi/space.c

      REFERENCES
            intro(D2I), scsi_adr(D4I), sdi_edt(D4I), sdi_rxedt(D3I),





















                          Copyright 1994 Novell, Inc.               Page 2








Typewritten Software • bear@typewritten.org • Edmonds, WA 98026