summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2006-11-07 18:21:21 +1100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-12-01 14:36:56 -0800
commite65e5fb5ceb02aaea7b65bf8b3b0d0c9057718b6 (patch)
tree0a77bfb7da117da88bd021691a8afde10671a007 /drivers/pci
parent009af1ff78bfc30b9a27807dd0207fc32848218a (diff)
downloadop-kernel-dev-e65e5fb5ceb02aaea7b65bf8b3b0d0c9057718b6.zip
op-kernel-dev-e65e5fb5ceb02aaea7b65bf8b3b0d0c9057718b6.tar.gz
PCI: Make some MSI-X #defines generic
Move some MSI-X #defines into pci_regs.h so they can be used outside of drivers/pci. Signed-off-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/msi.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/pci/msi.h b/drivers/pci/msi.h
index f0cca17..3898f52 100644
--- a/drivers/pci/msi.h
+++ b/drivers/pci/msi.h
@@ -6,14 +6,6 @@
#ifndef MSI_H
#define MSI_H
-/*
- * MSI-X Address Register
- */
-#define PCI_MSIX_FLAGS_QSIZE 0x7FF
-#define PCI_MSIX_FLAGS_ENABLE (1 << 15)
-#define PCI_MSIX_FLAGS_BIRMASK (7 << 0)
-#define PCI_MSIX_FLAGS_BITMASK (1 << 0)
-
#define PCI_MSIX_ENTRY_SIZE 16
#define PCI_MSIX_ENTRY_LOWER_ADDR_OFFSET 0
#define PCI_MSIX_ENTRY_UPPER_ADDR_OFFSET 4
OpenPOWER on IntegriCloud