aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorBrett M Russ <russb@emc.com>2005-08-15 15:23:41 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-08 18:07:08 -0400
commita04ce0ffcaf561994ecf382cd3caad75556dc499 (patch)
treee891a767810333fe2bf29ddb35f57b0a3ec6e18e /include/linux/pci.h
parent3fe9d19f9e86a55679f5f2b38ec0a43a1a510cee (diff)
[PATCH] PCI/libata INTx cleanup
Simple cleanup to eliminate X copies of the pci_enable_intx() function in libata. Moved ahci.c's pci_intx() to pci.c and use it throughout libata and msi.c. Signed-off-by: Brett Russ <russb@emc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 7004dde7fef0..6caaba0af469 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -383,6 +383,7 @@ void pci_set_master(struct pci_dev *dev);
383#define HAVE_PCI_SET_MWI 383#define HAVE_PCI_SET_MWI
384int pci_set_mwi(struct pci_dev *dev); 384int pci_set_mwi(struct pci_dev *dev);
385void pci_clear_mwi(struct pci_dev *dev); 385void pci_clear_mwi(struct pci_dev *dev);
386void pci_intx(struct pci_dev *dev, int enable);
386int pci_set_dma_mask(struct pci_dev *dev, u64 mask); 387int pci_set_dma_mask(struct pci_dev *dev, u64 mask);
387int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask); 388int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask);
388void pci_update_resource(struct pci_dev *dev, struct resource *res, int resno); 389void pci_update_resource(struct pci_dev *dev, struct resource *res, int resno);