1ddi_slaveonly(9F)        Kernel Functions for Drivers        ddi_slaveonly(9F)
2
3
4

NAME

6       ddi_slaveonly  -  tell  if a device is installed in a slave access only
7       location
8

SYNOPSIS

10       #include <sys/conf.h>
11       #include <sys/ddi.h>
12       #include <sys/sunddi.h>
13
14
15
16       int ddi_slaveonly(dev_info_t *dip);
17
18

INTERFACE LEVEL

20       Solaris DDI specific (Solaris DDI).
21

PARAMETERS

23       dip    A pointer to the device's dev_info structure.
24
25

DESCRIPTION

27       The ddi_slaveonly() function tells the caller if the bus,  or  part  of
28       the  bus that the device is installed on, does not permit the device to
29       become a DMA master, that is, whether the device has been installed  in
30       a slave access only slot.
31

RETURN VALUES

33       DDI_SUCCESS    The  device  has  been  installed in a slave access only
34                      location.
35
36
37       DDI_FAILURE    The device has not been installed in a slave access only
38                      location.
39
40

CONTEXT

42       The  ddi_slaveonly()  function  can  be called from user, interrupt, or
43       kernel context.
44

SEE ALSO

46       Writing Device Drivers
47
48
49
50SunOS 5.11                        16 Jan 2006                ddi_slaveonly(9F)
Impressum