summaryrefslogtreecommitdiff
path: root/include/uapi/linux/pcitest.h
diff options
context:
space:
mode:
authorDamien Le Moal <dlemoal@kernel.org>2023-11-22 15:03:55 +0900
committerLorenzo Pieralisi <lpieralisi@kernel.org>2023-12-18 11:55:56 +0100
commitacd288666979a49538d70e0c0d86e1118b445058 (patch)
tree90606287e8e1382645caf18546af9e324852a052 /include/uapi/linux/pcitest.h
parent5b0fbadc0f87364ccbfb064789a6b790b99539ea (diff)
misc: pci_endpoint_test: Use INTX instead of LEGACY
In the root complex pci endpoint test function driver, change macros and functions names using the term "legacy" to use "intx" instead to match the term used in the PCI specifications. Link: https://lore.kernel.org/r/20231122060406.14695-6-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include/uapi/linux/pcitest.h')
-rw-r--r--include/uapi/linux/pcitest.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/linux/pcitest.h b/include/uapi/linux/pcitest.h
index f9c1af8d141b..94b46b043b53 100644
--- a/include/uapi/linux/pcitest.h
+++ b/include/uapi/linux/pcitest.h
@@ -11,7 +11,8 @@
#define __UAPI_LINUX_PCITEST_H
#define PCITEST_BAR _IO('P', 0x1)
-#define PCITEST_LEGACY_IRQ _IO('P', 0x2)
+#define PCITEST_INTX_IRQ _IO('P', 0x2)
+#define PCITEST_LEGACY_IRQ PCITEST_INTX_IRQ
#define PCITEST_MSI _IOW('P', 0x3, int)
#define PCITEST_WRITE _IOW('P', 0x4, unsigned long)
#define PCITEST_READ _IOW('P', 0x5, unsigned long)