sdi_hba_getconf(D3I) sdi_hba_getconf(D3I)
NAME
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);
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.
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.
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 corresponding to a particular
resource manager key (rm_key). Typically, sdi_hba_getconf is
called by a driver's _verify(D2) routine.
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
errnos(D5), _verify(D2)
NOTICES
Copyright 1994 Novell, Inc. Page 1
sdi_hba_getconf(D3I) sdi_hba_getconf(D3I)
Applicability
sdi: 2
Copyright 1994 Novell, Inc. Page 2