2 .\" Copyright (c) 2005, Sun Microsystems, Inc., All Rights Reserved
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_IDEVICE_COOKIE 9S "Oct 19, 2005"
8 ddi_idevice_cookie \- device interrupt cookie
13 #include <sys/sunddi.h>
19 Solaris DDI specific (Solaris DDI). This interface is obsolete. Use the new
20 interrupt interfaces referenced in \fBIntro\fR(9F). Refer to \fIWriting Device
21 Drivers\fR for more information.
25 The \fBddi_idevice_cookie_t\fR structure contains interrupt priority and
26 interrupt vector information for a device. This structure is useful for devices
27 having programmable bus-interrupt levels. \fBddi_add_intr\fR(9F) assigns values
28 to the \fBddi_idevice_cookie_t\fR structure members.
33 u_short idev_vector; /* interrupt vector */
34 ushort_t idev_priority; /* interrupt priority */
40 The \fBidev_vector\fR field contains the interrupt vector number for vectored
41 bus architectures such as VMEbus. The \fBidev_priority\fR field contains the
42 bus interrupt priority level.
46 See \fBattributes\fR(5) for descriptions of the following attributes:
54 ATTRIBUTE TYPE ATTRIBUTE VALUE
56 Interface Stability Obsolete
62 \fBddi_add_intr\fR(9F), \fBIntro\fR(9F)
65 \fIWriting Device Drivers\fR