git: 06d08e6e758d - stable/14 - sys: add MBM device ioctl() values
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Sep 2025 19:26:24 UTC
The branch stable/14 has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=06d08e6e758df2114111af415c67623ea3c1825b
commit 06d08e6e758df2114111af415c67623ea3c1825b
Author: Pierre Pronchery <khorben@FreeBSD.org>
AuthorDate: 2025-01-20 23:44:03 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2025-09-14 19:25:39 +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>
(cherry picked from commit e5f3620a3e12c0febab7e4125da526c59a5a195b)
---
sys/sys/sockio.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sys/sys/sockio.h b/sys/sys/sockio.h
index e0f2ab697168..f79b000dd245 100644
--- a/sys/sys/sockio.h
+++ b/sys/sys/sockio.h
@@ -149,4 +149,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_ */