Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Data Structures for Driversddi_idevice_cookie(9S)


NAME

 ddi_idevice_cookie - device interrupt cookie

SYNOPSIS

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

INTERFACE LEVEL

 

Solaris DDI specific (Solaris DDI).

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_t	idev_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.

SEE ALSO

 

ddi_add_intr(9F)

Writing Device Drivers


SunOS 5.9Go To TopLast Changed 13 Sep 1994

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.