open(D2I) open(D2I)
NAME
open - initiate Host Bus Adapter pass-through access
SYNOPSIS
int prefixopen(dev_t *devp, int flags, int otype, cred_t *cred_t);
Arguments
devt A pointer to device number.
flags Flags for open.
otype Type of open.
cred_p
Credential pointer of the opening process.
DESCRIPTION
This entry point is for Host Bus Adapter (HBA) drivers.
open(D2I) provides pass-through access to a device attached to
a HBA. The pass-through mechanism allows an application to
have direct access to PDI devices.
Return Values
On success, open returns 0. On failure, it returns the
appropriate error number corresponding to the failure.
USAGE
This mechanism provides exclusive access to a device. For
this reason, the pass-through open routine must verify that
the device being requested is valid, and that no other
requests are pending for the device.
The arguments to this routine are the same as those for any
standard open(D2) routine.
Level
Base only.
REFERENCES
close(D2I), ioctl(D2I), open(D2)
NOTICES
Applicability
sdi: 1, 2
Copyright 1994 Novell, Inc. Page 1