aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/pcitest.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/uapi/linux/pcitest.h')
-rw-r--r--include/uapi/linux/pcitest.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/uapi/linux/pcitest.h b/include/uapi/linux/pcitest.h
new file mode 100644
index 000000000000..a6aa10c45ad1
--- /dev/null
+++ b/include/uapi/linux/pcitest.h
@@ -0,0 +1,19 @@
1/**
2 * pcitest.h - PCI test uapi defines
3 *
4 * Copyright (C) 2017 Texas Instruments
5 * Author: Kishon Vijay Abraham I <kishon@ti.com>
6 *
7 */
8
9#ifndef __UAPI_LINUX_PCITEST_H
10#define __UAPI_LINUX_PCITEST_H
11
12#define PCITEST_BAR _IO('P', 0x1)
13#define PCITEST_LEGACY_IRQ _IO('P', 0x2)
14#define PCITEST_MSI _IOW('P', 0x3, int)
15#define PCITEST_WRITE _IOW('P', 0x4, unsigned long)
16#define PCITEST_READ _IOW('P', 0x5, unsigned long)
17#define PCITEST_COPY _IOW('P', 0x6, unsigned long)
18
19#endif /* __UAPI_LINUX_PCITEST_H */