git: e5f3620a3e12 - main - sys: add MBM device ioctl() values
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 20 Jan 2025 23:47:39 UTC
The branch main has been updated by adrian:
URL: https://cgit.FreeBSD.org/src/commit/?id=e5f3620a3e12c0febab7e4125da526c59a5a195b
commit e5f3620a3e12c0febab7e4125da526c59a5a195b
Author: Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2025-01-20 23:44:03 +0000
Commit: Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2025-01-20 23:44:03 +0000
sys: add MBM device ioctl() values
This is part of the upcoming USB umb(4) work. It implements the control
ioctl(4)s that MBM devices will need to implement.
Differential Revision: https://reviews.freebsd.org/D48167
Approved by: adrian, zlei
Sponsored by: FreeBSD Foundation
PR: kern/263783
Submitted by: Pierre Pronchery <khorben@defora.org>
---
sys/sys/sockio.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys/sys/sockio.h b/sys/sys/sockio.h
index 824b77e57a17..cf612079c2f3 100644
--- a/sys/sys/sockio.h
+++ b/sys/sys/sockio.h
@@ -147,4 +147,8 @@
#define SIOCSIFCAPNV _IOW('i', 155, struct ifreq) /* set IF features */
#define SIOCGIFCAPNV _IOWR('i', 156, struct ifreq) /* get IF features */
+#define SIOCGUMBINFO _IOWR('i', 157, struct ifreq) /* get MBIM info */
+#define SIOCSUMBPARAM _IOW('i', 158, struct ifreq) /* set MBIM param */
+#define SIOCGUMBPARAM _IOWR('i', 159, struct ifreq) /* get MBIM param */
+
#endif /* !_SYS_SOCKIO_H_ */