 |
Index for Section 9 |
|
 |
Alphabetical listing for I |
|
 |
Bottom of page |
|
ihandler_t(9s)
NAME
ihandler_t - General: Contains information associated with device driver
interrupt handling
SYNOPSIS
___________________________
Member Name Data Type
___________________________
ih_id ihandler_id_t
ih_bus struct bus *
ih_bus_info char *
___________________________
MEMBERS
ih_id
Specifies a unique ID. Device drivers do not use this member.
ih_bus
Specifies a pointer to the bus structure associated with this device
driver. This member is needed because the interrupt dispatching
methodology requires that the bus be responsible for dispatching
interrupts in a bus-specific manner.
ih_bus_info
Specifies bus registration information.
DESCRIPTION
The ihandler_t structure contains information associated with device driver
interrupt handling. This model of interrupt dispatching uses the bus as the
means of interrupt dispatching for all drivers. For this reason, all of
the information needed to register an interrupt is considered to be bus
specific. As a result, no attempt is made to represent all the possible
permutations within the ihandler_t data structure.
Device driver writers pass the ihandler_t structure to the handler_add
interface in the driver's probe interface to specify how interrupt handlers
are to be registered with the bus-specific interrupt dispatcher.
Device driver writers set the ih_bus_info member to the filled-in
handler_intr_info structure, which contains the bus-specific information.
FILES
<io/common/handler.h>
SEE ALSO
Kernel Interfaces: handler_add(9r)
Data Structures: bus(9s)
 |
Index for Section 9 |
|
 |
Alphabetical listing for I |
|
 |
Top of page |
|