sdi_hba_autoconf(D3I) sdi_hba_autoconf(D3I)
NAME
sdi_hba_autoconf - allocate new idata array containing
resource manager information
SYNOPSIS
#include <sys/sdi.h>
HBA_IDATA_STRUCT *sdi_hba_autoconf(char *drvname,
HBA_IDATA_STRUCT *idata, int *cntls);
Arguments
drvname The module name for the driver.
idata Pointer to original idata array.
cntls Pointer to integer into which the number of
controllers associated with the calling driver is
stored.
DESCRIPTION
sdi_hba_autoconf allocates a new idata array for the calling
HBA driver. The contents of the new array reflect
configuration information retrieved from the autoconfiguration
resource manager database for each controller associated with
the calling driver.
Return Values
A new idata structure reflecting resource manager database
information.
USAGE
sdi_hba_autoconf is called by an HBA driver to retrieve
configuration information from the resource manager. This
information is reflected in a modified idata structure.
Level
Initialization or Base.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
REFERENCES
sdi_acfree(D3I)
Copyright 1994 Novell, Inc. Page 1
sdi_hba_autoconf(D3I) sdi_hba_autoconf(D3I)
NOTICES
Applicability
sdi: 2
Copyright 1994 Novell, Inc. Page 2