User Tools

Site Tools


solaris:ddi_idevice_cookie.9s

ddi_idevice_cookie


NAME

ddi_idevice_cookie - device interrupt cookie

SYNOPSIS

#include <sys/ddi.h>
#include <sys/sunddi.h>

INTERFACE LEVEL

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

DESCRIPTION

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

STRUCTURE MEMBERS

u_short idev_vector; /* interrupt vector */
ushort_tidev_priority; /* interrupt priority */

The idev_vector field contains the interrupt vector number for vectored bus architectures such as VMEbus. The idev_priority field contains the bus interrupt priority level.

ATTRIBUTES

See attributes(7) for descriptions of the following attributes:

SEE ALSO

Intro(9F), ddi_add_intr(9F)

Writing Device Drivers in Oracle Solaris 11.4


solaris/ddi_idevice_cookie.9s.txt · Last modified: 2023/07/19 08:57 by A User Not Logged in