summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/pci.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/x86_64/linux/pci.h')
-rw-r--r--include/arch/x86_64/linux/pci.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/include/arch/x86_64/linux/pci.h b/include/arch/x86_64/linux/pci.h
index 730c8643..8f8f6a5b 100644
--- a/include/arch/x86_64/linux/pci.h
+++ b/include/arch/x86_64/linux/pci.h
@@ -33,14 +33,10 @@
#define PCI_FUNC(devfn) ((devfn) & 0x07)
/* Ioctls for /proc/bus/pci/X/Y nodes. */
-#define PCIIOC_BASE ('P' << 24 | 'C' << 16 | 'I' << 8)
-#define PCIIOC_CONTROLLER \
- (PCIIOC_BASE | 0x00) /* Get controller for PCI device. */
-#define PCIIOC_MMAP_IS_IO \
- (PCIIOC_BASE | 0x01) /* Set mmap state to I/O space. */
-#define PCIIOC_MMAP_IS_MEM \
- (PCIIOC_BASE | 0x02) /* Set mmap state to MEM space. */
-#define PCIIOC_WRITE_COMBINE \
- (PCIIOC_BASE | 0x03) /* Enable/disable write-combining. */
+#define PCIIOC_BASE ('P' << 24 | 'C' << 16 | 'I' << 8)
+#define PCIIOC_CONTROLLER (PCIIOC_BASE | 0x00) /* Get controller for PCI device. */
+#define PCIIOC_MMAP_IS_IO (PCIIOC_BASE | 0x01) /* Set mmap state to I/O space. */
+#define PCIIOC_MMAP_IS_MEM (PCIIOC_BASE | 0x02) /* Set mmap state to MEM space. */
+#define PCIIOC_WRITE_COMBINE (PCIIOC_BASE | 0x03) /* Enable/disable write-combining. */
#endif /* LINUX_PCI_H */