claim or release ownership of a given device
int sdi_access(struct sdi_edt *edtp, int access, struct owner *owner);
claims ownership of a device by target drivers.
If the requested device is currently claimed by a target driver,
refuses any requests to add the device to an owner list
and any attempts to claim the device.
pointer to the Equipped Device Table entry associated with the device
flag indicating whether ownership is to be claimed or released
Valid values are:
claim a device for driver access
add an owner block to the target driver's list
release a claim to a device
remove the driver from owner list
defines the owner for the device (see
Context and synchronization
x86/Pentium compatible architectures
1, 2, 3, 4
On success, sdi_access returns
SDI_RET_OK, indicating that the
access is allowed and has been set up.
On failure, it returns
the requested access is not allowed.
sdi_access is used internally by SDI to
claim and release ownership
of devices on target driver's behalf.
If the device is not currently claimed
by a target driver, sdi_access:
Adds the device to the calling
target driver's list for SDI_ADD.
Makes the device the target driver's
current drive for SDI_CLAIM requests.
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005