MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                   ddidevnintrs(9F)



NAME
     ddidevnintrs - return the number of  interrupt  specifica-
     tions a device has

SYNOPSIS
     #include 
     #include 
     #include 



     int ddidevnintrs(devinfot *dip, int *resultp);


INTERFACE LEVEL
     Solaris  DI  specific  (Solaris  DI).  This  interface  is
     obsolete.  Use  the  new  interrupt interfaces referenced in
     Intro(9F). Refer to Writing Device Drivers for more informa-
     tion.

DESCRIPTION
     The ddidevnintrs() function returns the number  of  inter-
     rupt specifications a device has in *resultp.

RETURN VALUES
     The ddidevnintrs() function returns:

     DISUCES    A successful return. The number of  interrupt
                    specifications  that the device has is set in
                    resultp.


     DIFAILURE    The device has no interrupt specifications.


CONTEXT
     The ddidevnintrs()  function  can  be  called  from  user,
     interrupt, or kernel context.

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:













SunOS 5.11          Last change: 16 Jan 2006                    1






Kernel Functions for Drivers                   ddidevnintrs(9F)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Obsolete                    
    


SEE ALSO
     isa(4),   sbus(4),   ddiaddintr(9F),    ddidevnregs(9F),
     ddidevregsize(9F), Intro(9F)


     Writing Device Drivers










































SunOS 5.11          Last change: 16 Jan 2006                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™