DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

sdi_hba_autoconf(D3sdi)


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);

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.

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

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.

Context and synchronization

Initialization context.

Synchronization constraints

Does not sleep.

Driver-defined basic locks, read/write locks, and sleep locks can be held across calls to this function.

Applicable hardware

x86/Pentium compatible architectures

Version applicability

sdi: 2, 3 HBA drivers.

References

sdi_acfree(D3sdi), hba_idata_v5(D4sdi)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005