aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/htirq.h15
-rw-r--r--include/linux/pci.h11
2 files changed, 15 insertions, 11 deletions
diff --git a/include/linux/htirq.h b/include/linux/htirq.h
new file mode 100644
index 000000000000..1f15ce279a23
--- /dev/null
+++ b/include/linux/htirq.h
@@ -0,0 +1,15 @@
1#ifndef LINUX_HTIRQ_H
2#define LINUX_HTIRQ_H
3
4/* Helper functions.. */
5void write_ht_irq_low(unsigned int irq, u32 data);
6void write_ht_irq_high(unsigned int irq, u32 data);
7u32 read_ht_irq_low(unsigned int irq);
8u32 read_ht_irq_high(unsigned int irq);
9void mask_ht_irq(unsigned int irq);
10void unmask_ht_irq(unsigned int irq);
11
12/* The arch hook for getting things started */
13int arch_setup_ht_irq(unsigned int irq, struct pci_dev *dev);
14
15#endif /* LINUX_HTIRQ_H */
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 0da5a4a8940f..5c604f5fad67 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -615,20 +615,9 @@ extern void msi_remove_pci_irq_vectors(struct pci_dev *dev);
615#endif 615#endif
616 616
617#ifdef CONFIG_HT_IRQ 617#ifdef CONFIG_HT_IRQ
618/* Helper functions.. */
619void write_ht_irq_low(unsigned int irq, u32 data);
620void write_ht_irq_high(unsigned int irq, u32 data);
621u32 read_ht_irq_low(unsigned int irq);
622u32 read_ht_irq_high(unsigned int irq);
623void mask_ht_irq(unsigned int irq);
624void unmask_ht_irq(unsigned int irq);
625
626/* The functions a driver should call */ 618/* The functions a driver should call */
627int ht_create_irq(struct pci_dev *dev, int idx); 619int ht_create_irq(struct pci_dev *dev, int idx);
628void ht_destroy_irq(unsigned int irq); 620void ht_destroy_irq(unsigned int irq);
629
630/* The arch hook for getting things started */
631int arch_setup_ht_irq(unsigned int irq, struct pci_dev *dev);
632#endif /* CONFIG_HT_IRQ */ 621#endif /* CONFIG_HT_IRQ */
633 622
634extern void pci_block_user_cfg_access(struct pci_dev *dev); 623extern void pci_block_user_cfg_access(struct pci_dev *dev);