diff options
author | Brett M Russ <russb@emc.com> | 2005-08-15 15:23:41 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 18:07:08 -0400 |
commit | a04ce0ffcaf561994ecf382cd3caad75556dc499 (patch) | |
tree | e891a767810333fe2bf29ddb35f57b0a3ec6e18e /include/linux | |
parent | 3fe9d19f9e86a55679f5f2b38ec0a43a1a510cee (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')
-rw-r--r-- | include/linux/pci.h | 1 |
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 |
384 | int pci_set_mwi(struct pci_dev *dev); | 384 | int pci_set_mwi(struct pci_dev *dev); |
385 | void pci_clear_mwi(struct pci_dev *dev); | 385 | void pci_clear_mwi(struct pci_dev *dev); |
386 | void pci_intx(struct pci_dev *dev, int enable); | ||
386 | int pci_set_dma_mask(struct pci_dev *dev, u64 mask); | 387 | int pci_set_dma_mask(struct pci_dev *dev, u64 mask); |
387 | int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask); | 388 | int pci_set_consistent_dma_mask(struct pci_dev *dev, u64 mask); |
388 | void pci_update_resource(struct pci_dev *dev, struct resource *res, int resno); | 389 | void pci_update_resource(struct pci_dev *dev, struct resource *res, int resno); |