1ddi_idevice_cookie(9S)    Data Structures for Drivers   ddi_idevice_cookie(9S)
2
3
4

NAME

6       ddi_idevice_cookie - device interrupt cookie
7

SYNOPSIS

9       #include <sys/ddi.h>
10       #include <sys/sunddi.h>
11
12

INTERFACE LEVEL

14       Solaris DDI specific (Solaris DDI). This interface is obsolete. Use the
15       new interrupt interfaces referenced  in  Intro(9F).  Refer  to  Writing
16       Device Drivers for more information.
17

DESCRIPTION

19       The  ddi_idevice_cookie_t  structure  contains  interrupt  priority and
20       interrupt vector information for a device. This structure is useful for
21       devices  having  programmable  bus-interrupt  levels.  ddi_add_intr(9F)
22       assigns values to the ddi_idevice_cookie_t structure members.
23

STRUCTURE MEMBERS

25         u_short   idev_vector;      /* interrupt vector */
26         ushort_t  idev_priority;    /* interrupt priority */
27
28
29
30       The idev_vector field contains the interrupt vector number for vectored
31       bus  architectures such as VMEbus. The idev_priority field contains the
32       bus interrupt priority level.
33

ATTRIBUTES

35       See attributes(5) for descriptions of the following attributes:
36
37
38
39
40       ┌─────────────────────────────┬─────────────────────────────┐
41       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
42       ├─────────────────────────────┼─────────────────────────────┤
43       │Interface Stability          │Obsolete                     │
44       └─────────────────────────────┴─────────────────────────────┘
45

SEE ALSO

47       ddi_add_intr(9F), Intro(9F)
48
49
50       Writing Device Drivers
51
52
53
54SunOS 5.11                        19 Oct 2005           ddi_idevice_cookie(9S)
Impressum