DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SCO OpenServer

Intro(D2osdi)


Intro -- Introduction to SCSI entry point routines on SCO OpenServer

Synopsis

Description

This sections contains manual pages for all entry point routines that are supported for SCO OpenServer SCSI host adapter and peripheral drivers. When the syntax, arguments, return values, and context match those for the standard ODDI entry point routine, a cross reference is provided to the Section D2oddi manual pages in Section D2oddi manual pages page for that information, and the D2oddi page provides Usage information that is particular to SCSI drivers.

On SCO OpenServer systems, SCSI peripheral drivers use the following entry-point routines:

SCSI peripheral driver entry-point routines

Type Routine Purpose
entry point init initialization done before HBA is initialized
  init2 initialization done after HBA is initialized
  open start access to SCSI devices
  close end access to SCSI devices
  strategy manage buffers to be sent or received from devices
  print display error messages
physical I/O read build read request blocks
  write build write request blocks
  ioctl control adapter-specific features
specialized start send request blocks to the device and process any returned error information

 Type           Routine    Purpose
 -------------++--------------------------------------------------------------
 entry point  ||init       initialization done before HBA is initialized
              ||init2      initialization done after HBA is initialized
              ||open       start access to SCSI devices
              ||close      end access to SCSI devices
              ||strategy   manage buffers to be sent or received from devices
              ||print      display error messages
 physical I/O ||read       build read request blocks
              ||write      build write request blocks
              ||ioctl      control adapter-specific features
 specialized  ||start      send request blocks to the device and process any
              ||           returned error information

On SCO OpenServer systems, SCSI host adapter drivers use the following entry-point routines:

SCSI host adapter driver entry-point routines

Type Routine Purpose
entry point init detect and configure HBAs on the system
  open start access to a SCSI bus (optional)
  close end access to a SCSI bus (optional)
  ioctl control adapter-specific features (optional)
  halt free resources at system shutdown (optional)
  poll poll a device (optional)
specialized intr handle SCSI bus interrupts
  init initialize SCSI access
  _entry common entry point for SCSI peripheral drivers to communicate with a host adapter driver

 Type          Routine   Purpose
 ------------++--------------------------------------------------------
 entry point ||init      detect and configure HBAs on the system
             ||open      start access to a SCSI bus (optional)
             ||close     end access to a SCSI bus (optional)
             ||ioctl     control adapter-specific features (optional)
             ||halt      free resources at system shutdown (optional)
             ||poll      poll a device (optional)
 specialized ||intr      handle SCSI bus interrupts
             ||init      initialize SCSI access
             ||_entry    common entry point for SCSI peripheral
             ||          drivers to communicate with a host adapter
             ||          driver

References

Intro(D2oddi)

``OSDI SCSI driver interface version for SCO OpenServer 5'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005