Index Index for
Section 9
Index Alphabetical
listing for H
Bottom of page Bottom of
page

handler_intr_info(9s)

NAME

handler_intr_info - General: Contains interrupt handler information

SYNOPSIS

_________________________________ Member Name Data Type _________________________________ configuration_st caddr_t intr int (*intr) () param caddr_t config_type unsigned int _________________________________

MEMBERS

configuration_st Specifies a pointer to the bus or controller structure for which an associated interrupt handler is written. intr Specifies the name of the interrupt handler for the specified bus or controller. param Specifies a parameter that you want passed to the specified interrupt handler. config_type Specifies the driver type and whether the driver's interrupt handler can handle shared interrupts. If your device driver's interrupt handler cannot handle shared interrupts, you set this member to one of the following interrupt handler type bit values defined in <handler.h>: CONTROLLER_CONFIG_TYPE (the interrupt handler is for a controller) or ADAPTER_CONFIG_TYPE (the interrupt handler is for a bus adapter). If your device driver's interrupt handler can handle shared interrupts, you set this member to the bitwise inclusive OR of the interrupt handler type bit value and the shared interrupt bit value SHARED_INTR_CAPABLE.

DESCRIPTION

The handler_intr_info data structure contains interrupt handler information for device controllers connected to a bus. This generic data structure makes device drivers more portable across different buses because it contains all of the necessary information to add an interrupt handler for any bus. Device driver writers set the ih_bus_info member of the ihandler_t data structure to the filled-in handler_intr_info data structure, usually in the driver's probe interface. The bus and controller data structures contain the bus- and controller- specific information that is not provided in handler_intr_info.

NOTES

The handler_intr_info data structure is a direct copy of the tc_intr_info data structure that TURBOchannel bus device drivers use. The handler_intr_info data structure provides binary compatibility with previously written TURBOchannel device drivers and source code compatibility across device drivers that operate on a variety of buses, including TURBOchannel, PCI, EISA, and ISA buses.

FILES

<io/common/handler.h>

SEE ALSO

Kernel Interfaces: handler_add(9r), handler_del(9r), handler_disable(9r), handler_enable(9r) Data Structures: ihandler_t(9s)

Index Index for
Section 9
Index Alphabetical
listing for H
Top of page Top of
page