summaryrefslogtreecommitdiff
path: root/include/arch/x86_64/linux/atm_he.h
diff options
context:
space:
mode:
authorKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
committerKacper <kacper@mail.openlinux.dev>2025-12-07 20:10:31 +0100
commitfc00c656c96528112d05cf0edf8631bd5eaea446 (patch)
treea6e0e6c588191a8bd1c64afc3b7a258e3e66c236 /include/arch/x86_64/linux/atm_he.h
Add build system scaffolding and libc headers
Diffstat (limited to 'include/arch/x86_64/linux/atm_he.h')
-rw-r--r--include/arch/x86_64/linux/atm_he.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/arch/x86_64/linux/atm_he.h b/include/arch/x86_64/linux/atm_he.h
new file mode 100644
index 00000000..ca3f1abf
--- /dev/null
+++ b/include/arch/x86_64/linux/atm_he.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+/* atm_he.h */
+
+#ifndef LINUX_ATM_HE_H
+#define LINUX_ATM_HE_H
+
+#include <linux/atmioc.h>
+
+#define HE_GET_REG _IOW('a', ATMIOC_SARPRV, struct atmif_sioc)
+
+#define HE_REGTYPE_PCI 1
+#define HE_REGTYPE_RCM 2
+#define HE_REGTYPE_TCM 3
+#define HE_REGTYPE_MBOX 4
+
+struct he_ioctl_reg {
+ unsigned addr, val;
+ char type;
+};
+
+#endif /* LINUX_ATM_HE_H */