Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sdi_redt(D3I) — UnixWare 2.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought






       sdi_redt(D3I)                                          sdi_redt(D3I)


       NAME
             sdi_redt - search the EDT for an existing entry

       SYNOPSIS
             #include <sys/sdi.h>
             struct sdi_edt * sdi_redt(int hba, int scsi_id, int lun);

          Arguments
             hba   HBA number for the device.

             scsi_id
                   Target number of this device on the HBA.

             lun   Logical unit number of this device on the given target
                   and HBA.

       DESCRIPTION
             sdi_redt returns a pointer to an Equipped Device Table (EDT)
             entry for the device specified by the hba, scsi_id and lun
             given if such an entry exists.  If the EDT is empty or no
             matching entry exists, a NULL pointer is returned.  The value
             for hba used must be the same as the value returned by
             sdi_gethbano when the Host Bus Adapter (HBA) was initialized.

          Return Values
             Pointer to an sdi_edt structure.

       USAGE
             sdi_redt is typically used in a global open/close/command
             routine.  Rather than maintaining a local table of valid
             hba:scsi_id:lun tuples, PDI drivers should use the existing
             EDT through this function to determine the validity of such a
             tuple.

             sdi_redt is also the approved interface for obtaining a
             pointer to an existing sdi_edt structure.  This pointer can
             then be used for calls to sdi_wedt to modify an EDT entry.

          Level
             Base only.

       REFERENCES
             sdi_gethbano(D3I), sdi_wedt(D3I)





                           Copyright 1994 Novell, Inc.               Page 1













      sdi_redt(D3I)                                          sdi_redt(D3I)


      NOTICES
         Applicability
            sdi: 1, 2













































                          Copyright 1994 Novell, Inc.               Page 2








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