•  Back 
  •  Functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help page 
  •  Show info about hypertext 
  •  View a new file 
Topic       : A system-global SCSI-driver SCSI-Driver
Author      : Steffen Engel
Version     : Text-Release 1.10e
Subject     : Documentation/Utilities
Nodes       : 31
Index Size  : 708
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : en
@default    : Title
@help       : 
@options    : -i +zz -t2
@width      : 70
View Ref-File3.5  Open                                                  SCSI-Driver

  LONG  cdecl (*Open)         (WORD         BusNo,
                               const DLONG *SCSIId,
                               ULONG       *MaxLen);

Get handle for a device.

SCSIId is the SCSI-ID of the device for which the handle is to be 
returned. The variable has a size of 64 bits so as to be able to 
fulfill the #Vorgaben# specifications of SCSI-3. For drivers and 
busses available until now only the lowest 8 bits (of SCSIId.lo) are 
used; the rest must be 0. It is not permimssible to accommodate any 
other information in the SCSI-ID!

Returns:

  > 0    : Handle (pointer to Feature vector)
           MaxLen specifies the maximum transfer length that can be
           made with one access
  < 0    : Error
  ENMHDL : No more handles available
  EUNDEV : Unknown device on this bus/unknown bus
  EACCDN : Prohibited device on this bus (e.g. own SCSI-ID with
           arbitration)