DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

sdi_dev_write_opr(D3sdi)


sdi_dev_write_opr -- update the SDI device description structure

Synopsis

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

boolean_t sdi_dev_write_opr( rm_key_t key sdi_device_t *next );

Description

sdi_dev_write_opr( ) updaes the SDI device description structure in the resource manager database, using the sdi_device(D4sdi) structure specified by the next argument.

Arguments


key
Resource manager key, typically made known to the driver by a call to the driver's config(D2sdi) entry point routine.

next
Pointer to a previously allocated sdi_device(D4sdi) structure

Return values

sdi_dev_write_opr( ) returns B_TRUE on success, or B_FALSE if the key is invalid.

Usage

sdi_dev_write_opr( ) is called to update the description of an SDI device in the resource manager database.

Context and synchronization

Blockable context.

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

Hardware applicability

All

Version applicability

sdi: 4 layered drivers

References

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