Kernel Functions for Drivers ddislaveonly(9F)
NAME
ddislaveonly - tell if a device is installed in a slave
access only location
SYNOPSIS
#include
#include
#include
int ddislaveonly(devinfot *dip);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
dip A pointer to the device's devinfo structure.
DESCRIPTION
The ddislaveonly() function tells the caller if the bus, or
part of the bus that the device is installed on, does not
permit the device to become a DMA master, that is, whether
the device has been installed in a slave access only slot.
RETURN VALUES
DISUCES The device has been installed in a slave
access only location.
DIFAILURE The device has not been installed in a slave
access only location.
CONTEXT
The ddislaveonly() function can be called from user, inter-
rupt, or kernel context.
SEE ALSO
Writing Device Drivers
SunOS 5.11 Last change: 16 Jan 2006 1
|