aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 2aabe90f1cd2..9b34bc8f34e4 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -681,6 +681,23 @@ extern int msi_register(struct msi_ops *ops);
681 681
682#endif 682#endif
683 683
684#ifdef CONFIG_HT_IRQ
685/* Helper functions.. */
686void write_ht_irq_low(unsigned int irq, u32 data);
687void write_ht_irq_high(unsigned int irq, u32 data);
688u32 read_ht_irq_low(unsigned int irq);
689u32 read_ht_irq_high(unsigned int irq);
690void mask_ht_irq(unsigned int irq);
691void unmask_ht_irq(unsigned int irq);
692
693/* The functions a driver should call */
694int ht_create_irq(struct pci_dev *dev, int idx);
695void ht_destroy_irq(unsigned int irq);
696
697/* The arch hook for getting things started */
698int arch_setup_ht_irq(unsigned int irq, struct pci_dev *dev);
699#endif /* CONFIG_HT_IRQ */
700
684extern void pci_block_user_cfg_access(struct pci_dev *dev); 701extern void pci_block_user_cfg_access(struct pci_dev *dev);
685extern void pci_unblock_user_cfg_access(struct pci_dev *dev); 702extern void pci_unblock_user_cfg_access(struct pci_dev *dev);
686 703