Add MSI-X support and update driver documentation accordingly. Add 2 new IOCTL commands: - Allow to reconfigure driver IRQ type in runtime. - Allow to retrieve current driver IRQ type configured. Add IRQ type validation before executing the READ/WRITE/COPY tests.
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -17,5 +17,7 @@ · 16 unmodified lines | ||
| 17 | 17 | #define PCITEST_READ _IOW('P', 0x5, unsigned long) |
| 18 | 18 | #define PCITEST_COPY _IOW('P', 0x6, unsigned long) |
| 19 | 19 | #define PCITEST_MSIX _IOW('P', 0x7, int) |
| 20 | +#define PCITEST_SET_IRQTYPE _IOW('P', 0x8, int) | |
| 21 | +#define PCITEST_GET_IRQTYPE _IO('P', 0x9) | |
| 20 | 22 | |
| 21 | 23 | #endif /* __UAPI_LINUX_PCITEST_H */ |