2006-10-04 17:17:01 +08:00
|
|
|
#ifndef LINUX_HTIRQ_H
|
|
|
|
#define LINUX_HTIRQ_H
|
|
|
|
|
2006-11-09 09:44:57 +08:00
|
|
|
struct ht_irq_msg {
|
|
|
|
u32 address_lo; /* low 32 bits of the ht irq message */
|
|
|
|
u32 address_hi; /* high 32 bits of the it irq message */
|
|
|
|
};
|
|
|
|
|
2006-10-04 17:17:01 +08:00
|
|
|
/* Helper functions.. */
|
2006-11-09 09:44:57 +08:00
|
|
|
void fetch_ht_irq_msg(unsigned int irq, struct ht_irq_msg *msg);
|
|
|
|
void write_ht_irq_msg(unsigned int irq, struct ht_irq_msg *msg);
|
2006-10-04 17:17:01 +08:00
|
|
|
void mask_ht_irq(unsigned int irq);
|
|
|
|
void unmask_ht_irq(unsigned int irq);
|
|
|
|
|
|
|
|
/* The arch hook for getting things started */
|
|
|
|
int arch_setup_ht_irq(unsigned int irq, struct pci_dev *dev);
|
|
|
|
|
|
|
|
#endif /* LINUX_HTIRQ_H */
|