aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci.h1
-rw-r--r--include/linux/pci_regs.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index d8c379dba6ad..89b46fd245c6 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -324,6 +324,7 @@ struct pci_dev {
324 unsigned int is_hotplug_bridge:1; 324 unsigned int is_hotplug_bridge:1;
325 unsigned int __aer_firmware_first_valid:1; 325 unsigned int __aer_firmware_first_valid:1;
326 unsigned int __aer_firmware_first:1; 326 unsigned int __aer_firmware_first:1;
327 unsigned int io_window_1k:1; /* Intel P2P bridge 1K I/O windows */
327 pci_dev_flags_t dev_flags; 328 pci_dev_flags_t dev_flags;
328 atomic_t enable_cnt; /* pci_enable_device has been called */ 329 atomic_t enable_cnt; /* pci_enable_device has been called */
329 330
diff --git a/include/linux/pci_regs.h b/include/linux/pci_regs.h
index 4b608f543412..88c9ea56e252 100644
--- a/include/linux/pci_regs.h
+++ b/include/linux/pci_regs.h
@@ -125,7 +125,8 @@
125#define PCI_IO_RANGE_TYPE_MASK 0x0fUL /* I/O bridging type */ 125#define PCI_IO_RANGE_TYPE_MASK 0x0fUL /* I/O bridging type */
126#define PCI_IO_RANGE_TYPE_16 0x00 126#define PCI_IO_RANGE_TYPE_16 0x00
127#define PCI_IO_RANGE_TYPE_32 0x01 127#define PCI_IO_RANGE_TYPE_32 0x01
128#define PCI_IO_RANGE_MASK (~0x0fUL) 128#define PCI_IO_RANGE_MASK (~0x0fUL) /* Standard 4K I/O windows */
129#define PCI_IO_1K_RANGE_MASK (~0x03UL) /* Intel 1K I/O windows */
129#define PCI_SEC_STATUS 0x1e /* Secondary status register, only bit 14 used */ 130#define PCI_SEC_STATUS 0x1e /* Secondary status register, only bit 14 used */
130#define PCI_MEMORY_BASE 0x20 /* Memory range behind */ 131#define PCI_MEMORY_BASE 0x20 /* Memory range behind */
131#define PCI_MEMORY_LIMIT 0x22 132#define PCI_MEMORY_LIMIT 0x22