summaryrefslogtreecommitdiff
path: root/nvif/if0000.h
diff options
context:
space:
mode:
Diffstat (limited to 'nvif/if0000.h')
-rw-r--r--nvif/if0000.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/nvif/if0000.h b/nvif/if0000.h
new file mode 100644
index 0000000..30ecd31
--- /dev/null
+++ b/nvif/if0000.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __NVIF_IF0000_H__
+#define __NVIF_IF0000_H__
+
+struct nvif_client_v0 {
+ __u8 version;
+ __u8 pad01[7];
+ __u64 device;
+ char name[32];
+};
+
+#define NVIF_CLIENT_V0_DEVLIST 0x00
+
+struct nvif_client_devlist_v0 {
+ __u8 version;
+ __u8 count;
+ __u8 pad02[6];
+ __u64 device[];
+};
+#endif