summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2004-08-01 20:12:56 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-01 20:12:56 -0700
commitd91ee521674c54edff4d3d164062484388a71200 (patch)
tree10c84ab929082ced312340226200e212d7b1ff7b /include/linux
parent77e3ae29a790a02d1eade16ad6b52e974317b3c4 (diff)
[PATCH] rename CONFIG_PCI_USE_VECTOR to CONFIG_PCI_MSI
The "vector" terminology is architecture-dependent. The PCI MSI interface actually deals with Linux IRQ numbers (i.e., things you can pass to request_irq()), and we shouldn't confuse things by calling them "vectors" just because we're using MSI rather than an IOSAPIC. Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index ae511a7e11f3..2ce5f957c072 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -836,7 +836,7 @@ struct msix_entry {
u16 entry; /* driver uses to specify entry, OS writes */
};
-#ifndef CONFIG_PCI_USE_VECTOR
+#ifndef CONFIG_PCI_MSI
static inline void pci_scan_msi_device(struct pci_dev *dev) {}
static inline int pci_enable_msi(struct pci_dev *dev) {return -1;}
static inline void pci_disable_msi(struct pci_dev *dev) {}