sdi_init(D3I) sdi_init(D3I)
NAME
sdi_init - initialize the SDI driver
SYNOPSIS
#include <sys/sdi.h>
extern int sdi_started;
void sdi_init();
DESCRIPTION
sdi_init initializes the SDI driver to accept SDI functions.
The sdi_started flag is provided so that a target driver can
determine if another target driver may have already called
sdi_init.
Return Values
None.
USAGE
Level
Base only.
Examples
This example shows the sequence of instructions used to test
sdi_started and call sdi_init:
extern int sdi_started
...
/* Check to see if the Host Adapter driver has
* already been started.
*/
if( !sdi_started )
{
/* Call the Host Adapter driver init routine */
sdi_init();
}
...
NOTICES
This routine is necessary only in UNIX SVR4.2.
In UNIX SVR4.2 MP, sdi_init is called by the system. It is
not necessary for target drivers to call this routine.
The sdi_init manual page will be removed in a subsequent
release of the Device Driver Reference.
Copyright 1994 Novell, Inc. Page 1
sdi_init(D3I) sdi_init(D3I)
NOTICES
Applicability
sdi: 1, 2
Copyright 1994 Novell, Inc. Page 2