DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

sdi_hba_getconf(D3sdi)


sdi_hba_getconf -- retrieve idata structure corresponding to a resource manager key

Synopsis

   #include <sys/sdi.h>

int sdi_hba_getconf(rm_key_t rm_key, HBA_IDATA_STRUCT *idp);

Description

sdi_hba_getconf populates the array pointed to by idp with configuration information found in the autoconfiguration resource manager database entry defined by rm_key.

Arguments


rm_key
resource manager key associated with a particular controller

idp
pointer to an idata array to be filled in with resource manager information

Return values

sdi_hba_getconf returns 0 for success.

EINVAL is returned if the rm_key is not found in the resource manager.

Usage

sdi_hba_getconf is called by an HBA driver to retrieve configuration information that corresponds to a particular resource manager key (rm_key). Typically, sdi_hba_getconf is called by a driver's _verify(D2) routine.

Context and synchronization

Initialization context.

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, 4 HBA drivers.

References

errnos(D5), _verify(D2)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005