2 .\" Copyright (c) 2006, Sun Microsystems, Inc.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH DDI_SLAVEONLY 9F "Jan 16, 2006"
8 ddi_slaveonly \- tell if a device is installed in a slave access only location
14 #include <sys/sunddi.h>
18 \fBint\fR \fBddi_slaveonly\fR(\fBdev_info_t\fR \fI*dip\fR);
24 Solaris DDI specific (Solaris DDI).
32 A pointer to the device's \fBdev_info\fR structure.
38 The \fBddi_slaveonly()\fR function tells the caller if the bus, or part of the
39 bus that the device is installed on, does not permit the device to become a DMA
40 master, that is, whether the device has been installed in a slave access only
46 \fB\fBDDI_SUCCESS\fR\fR
49 The device has been installed in a slave access only location.
55 \fB\fBDDI_FAILURE\fR\fR
58 The device has not been installed in a slave access only location.
64 The \fBddi_slaveonly()\fR function can be called from user, interrupt, or
69 \fIWriting Device Drivers\fR