diff options
author | Wang Sheng-Hui <shhuiw@foxmail.com> | 2016-09-22 09:05:46 +0800 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-12-12 10:05:22 -0600 |
commit | cc10385b6fde3e5d3a3edaabf10a4e211ee8fe72 (patch) | |
tree | 0065a8542ff2c67ce0ed1d52fc8d53e234d349cd /drivers/vfio | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
download | linux-cc10385b6fde3e5d3a3edaabf10a4e211ee8fe72.tar.bz2 |
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/vfio')
-rw-r--r-- | drivers/vfio/pci/vfio_pci_config.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/vfio/pci/vfio_pci_config.c b/drivers/vfio/pci/vfio_pci_config.c index 65d4a3015542..871af74fc4ce 100644 --- a/drivers/vfio/pci/vfio_pci_config.c +++ b/drivers/vfio/pci/vfio_pci_config.c @@ -31,8 +31,6 @@ #include "vfio_pci_private.h" -#define PCI_CFG_SPACE_SIZE 256 - /* Fake capability ID for standard config space */ #define PCI_CAP_ID_BASIC 0 |