Changeset View
Standalone View
sys/compat/linuxkpi/common/include/linux/interrupt.h
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
#define IRQF_SHARED RF_SHAREABLE | #define IRQF_SHARED RF_SHAREABLE | ||||
struct irq_ent { | struct irq_ent { | ||||
struct list_head links; | struct list_head links; | ||||
struct device *dev; | struct device *dev; | ||||
struct resource *res; | struct resource *res; | ||||
void *arg; | void *arg; | ||||
irqreturn_t (*handler)(int, void *); | irqreturn_t (*handler)(int, void *); | ||||
irqreturn_t (*thread_handler)(int, void *); | |||||
void *tag; | void *tag; | ||||
unsigned int irq; | unsigned int irq; | ||||
hselasky: Please lowercase this comment.
| |||||
Not Done Inline ActionsI am not sure this will work as the allocation is in request_irq() in 13.0-R and that is an inline function from the header file. bz: I am not sure this will work as the allocation is in request_irq() in 13.0-R and that is an… | |||||
Done Inline ActionsYea, I think that's why it is 'working' for wulf. imp: Yea, I think that's why it is 'working' for wulf.
The linuxkpi heavy use of inlines do present… | |||||
/* XXX All new entries must be after this in stable/13 */ | |||||
irqreturn_t (*thread_handler)(int, void *); | |||||
}; | }; | ||||
void linux_irq_handler(void *); | void linux_irq_handler(void *); | ||||
void lkpi_devm_irq_release(struct device *, void *); | void lkpi_devm_irq_release(struct device *, void *); | ||||
void lkpi_irq_release(struct device *, struct irq_ent *); | void lkpi_irq_release(struct device *, struct irq_ent *); | ||||
static inline int | static inline int | ||||
linux_irq_rid(struct device *dev, unsigned int irq) | linux_irq_rid(struct device *dev, unsigned int irq) | ||||
▲ Show 20 Lines • Show All 230 Lines • Show Last 20 Lines |
Please lowercase this comment.