aboutsummaryrefslogtreecommitdiff
path: root/original/uapi/linux/pci_regs.h
diff options
context:
space:
mode:
Diffstat (limited to 'original/uapi/linux/pci_regs.h')
-rw-r--r--original/uapi/linux/pci_regs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/original/uapi/linux/pci_regs.h b/original/uapi/linux/pci_regs.h
index e5a2e68..174d114 100644
--- a/original/uapi/linux/pci_regs.h
+++ b/original/uapi/linux/pci_regs.h
@@ -23,6 +23,14 @@
#define LINUX_PCI_REGS_H
/*
+ * Conventional PCI and PCI-X Mode 1 devices have 256 bytes of
+ * configuration space. PCI-X Mode 2 and PCIe devices have 4096 bytes of
+ * configuration space.
+ */
+#define PCI_CFG_SPACE_SIZE 256
+#define PCI_CFG_SPACE_EXP_SIZE 4096
+
+/*
* Under PCI, each device has 256 bytes of configuration address space,
* of which the first 64 bytes are standardized as follows:
*/