DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

sdi_idata_modify(D3sdi)


sdi_idata_modify -- modify idata element for a controller instance to match the current settings

Synopsis

   #include <sys/types.h>
   #include <sys/sdi.h>
   #include <sys/ddi.h>
   

int sdi_idata_modify(HBA_IDATA_STRUCT *idata, rm_key_t rm _key);

Description

sdi_idata_modify modifies the idata structure to match the current seetings of a controller instance.

The information for these fields is retrieved from the resource manager database using rm_key.

Arguments


idata
Pointer to the hba_idata_v5(D4sdi) structure

rm_key
Resource manager key for the controller instance

Return values

sdi_idata_modify( ) returns 0 on success and -1 on failure.

Usage

sdi_idata_modify( ) is called by an HBA driver to replace a controller instance with another or to reinitialize its hardware parameters.

Context and synchronization

Blockable context.

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

Applicable hardware

All

Version applicability

sdi: 4 HBA drivers

References

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