diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:01 +0300 |
commit | 2d37894b1b037cf24231090eda8589bbb44fb6fc (patch) | |
tree | be835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/linux-headers/linux/pcitest.h | |
parent | 718c552901d703c502ccbefdfc3c9028d608b947 (diff) | |
download | ydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/linux-headers/linux/pcitest.h')
-rw-r--r-- | contrib/libs/linux-headers/linux/pcitest.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/contrib/libs/linux-headers/linux/pcitest.h b/contrib/libs/linux-headers/linux/pcitest.h index 7f5ea3abb8..c3ab4c8262 100644 --- a/contrib/libs/linux-headers/linux/pcitest.h +++ b/contrib/libs/linux-headers/linux/pcitest.h @@ -1,31 +1,31 @@ -/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ -/** - * pcitest.h - PCI test uapi defines - * - * Copyright (C) 2017 Texas Instruments - * Author: Kishon Vijay Abraham I <kishon@ti.com> - * - */ - -#ifndef __UAPI_LINUX_PCITEST_H -#define __UAPI_LINUX_PCITEST_H - -#define PCITEST_BAR _IO('P', 0x1) -#define PCITEST_LEGACY_IRQ _IO('P', 0x2) -#define PCITEST_MSI _IOW('P', 0x3, int) -#define PCITEST_WRITE _IOW('P', 0x4, unsigned long) -#define PCITEST_READ _IOW('P', 0x5, unsigned long) -#define PCITEST_COPY _IOW('P', 0x6, unsigned long) -#define PCITEST_MSIX _IOW('P', 0x7, int) -#define PCITEST_SET_IRQTYPE _IOW('P', 0x8, int) -#define PCITEST_GET_IRQTYPE _IO('P', 0x9) -#define PCITEST_CLEAR_IRQ _IO('P', 0x10) - -#define PCITEST_FLAGS_USE_DMA 0x00000001 - -struct pci_endpoint_test_xfer_param { - unsigned long size; - unsigned char flags; -}; - -#endif /* __UAPI_LINUX_PCITEST_H */ +/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ +/** + * pcitest.h - PCI test uapi defines + * + * Copyright (C) 2017 Texas Instruments + * Author: Kishon Vijay Abraham I <kishon@ti.com> + * + */ + +#ifndef __UAPI_LINUX_PCITEST_H +#define __UAPI_LINUX_PCITEST_H + +#define PCITEST_BAR _IO('P', 0x1) +#define PCITEST_LEGACY_IRQ _IO('P', 0x2) +#define PCITEST_MSI _IOW('P', 0x3, int) +#define PCITEST_WRITE _IOW('P', 0x4, unsigned long) +#define PCITEST_READ _IOW('P', 0x5, unsigned long) +#define PCITEST_COPY _IOW('P', 0x6, unsigned long) +#define PCITEST_MSIX _IOW('P', 0x7, int) +#define PCITEST_SET_IRQTYPE _IOW('P', 0x8, int) +#define PCITEST_GET_IRQTYPE _IO('P', 0x9) +#define PCITEST_CLEAR_IRQ _IO('P', 0x10) + +#define PCITEST_FLAGS_USE_DMA 0x00000001 + +struct pci_endpoint_test_xfer_param { + unsigned long size; + unsigned char flags; +}; + +#endif /* __UAPI_LINUX_PCITEST_H */ |