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

Sdevregister(D3osdi)


Sdevregister -- register SCSI peripheral drivers

Synopsis

   #include <sys/devreg.h>
   

static dreg; Sdevregister(dreg) SDEVREG *dreg;

Description

Sdevregister is called by SCSI device drivers at initialization of I/O (from the init(D2osdi) entry point routine) to register a SCSI device structure Sdevreg pointed to by dreg. This allows the kernel to keep track of all active SCSI peripheral drivers.

If not already registered, the device is registered at the back, otherwise Sdevregister returns without performing any action.

Arguments


dreg
Pointer to the Sdevreg(D4osdi) structure.

Return values

None.

Usage

Context and synchronization

Initialization context

Hardware applicability

All

Version applicability

osdi: 2, 3, 4, 5 peripheral drivers.

References

mscsi(F) , scsi(D3osdi), scsi_distributed(D3osdi), Sharegister(D3osdi)

``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