summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorWang Sheng-Hui <shhuiw@foxmail.com>2016-09-22 04:05:46 +0300
committerBjorn Helgaas <bhelgaas@google.com>2016-12-12 19:05:22 +0300
commitcc10385b6fde3e5d3a3edaabf10a4e211ee8fe72 (patch)
tree0065a8542ff2c67ce0ed1d52fc8d53e234d349cd /drivers/pci
parent1001354ca34179f3db924eb66672442a173147dc (diff)
downloadlinux-cc10385b6fde3e5d3a3edaabf10a4e211ee8fe72.tar.xz
PCI: Move config space size macros to pci_regs.h
Move PCI configuration space size macros (PCI_CFG_SPACE_SIZE and PCI_CFG_SPACE_EXP_SIZE) from drivers/pci/pci.h to include/uapi/linux/pci_regs.h so they can be used by more drivers and eliminate duplicate definitions. [bhelgaas: Expand comment to include PCI-X details] Signed-off-by: Wang Sheng-Hui <shhuiw@foxmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/pci.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 451856210e18..9cbcf1dd740b 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -1,9 +1,6 @@
#ifndef DRIVERS_PCI_H
#define DRIVERS_PCI_H
-#define PCI_CFG_SPACE_SIZE 256
-#define PCI_CFG_SPACE_EXP_SIZE 4096
-
#define PCI_FIND_CAP_TTL 48
extern const unsigned char pcie_link_speed[];