diff options
| author | Pierre Pronchery <khorben@FreeBSD.org> | 2025-01-20 23:44:03 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2025-09-14 19:25:39 +0000 |
| commit | 06d08e6e758df2114111af415c67623ea3c1825b (patch) | |
| tree | bca2dd915d3105085816ae1d31e28b347046a9d4 | |
| parent | 289f8429c7d4e04bb939a6d4de35d7c897bd7642 (diff) | |
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)
| -rw-r--r-- | sys/sys/sockio.h | 4 |
1 files changed, 4 insertions, 0 deletions
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_ */ |
