ddi_dev_nintrs(9F)
NAME
ddi_dev_nintrs - return the number of interrupt specifica-
tions a device has
SYNOPSIS
#include <sys/conf.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
int ddi_dev_nintrs(dev_info_t *dip, int *resultp);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI).
DESCRIPTION
ddi_dev_nintrs() returns the number of interrupt specifica-
tions a device has in *resultp.
RETURN VALUES
ddi_dev_nintrs() returns:
DDI_SUCCESS
A successful return. The number of interrupt specifi-
cations that the device has is set in resultp.
DDI_FAILURE
The device has no interrupt specifications.
CONTEXT
ddi_dev_nintrs() can be called from user or interrupt con-
text.
SEE ALSO
isa(4), sbus(4), ddi_add_intr(9F), ddi_dev_nregs(9F),
ddi_dev_regsize(9F)
Writing Device Drivers
Man(1) output converted with
man2html