diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2025-01-20 23:44:03 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2025-01-20 23:44:03 +0000 |
| commit | e5f3620a3e12c0febab7e4125da526c59a5a195b (patch) | |
| tree | a0d7be1e80dcf8e592737def21bff4cc2108e7fb | |
| parent | 86bfbaf1002c88b5c1a6d3ed261becedb533490b (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>
| -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 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_ */ |
