summaryrefslogtreecommitdiff
path: root/sys/dev/usb/files.usb
diff options
context:
space:
mode:
authorkhorben <khorben@NetBSD.org>2018-07-31 16:44:28 +0000
committerkhorben <khorben@NetBSD.org>2018-07-31 16:44:28 +0000
commit784aa8b1777508f36b02b47fe2ee2b4b4436cb85 (patch)
treedb602058b23f95156b0f97643a6ebffdd2f91db2 /sys/dev/usb/files.usb
parent949dd657c002c3798e23565d7ea87d3831eabb6d (diff)
Add a port of the umb(4) driver from OpenBSD
The umb(4) driver provides support for USB MBIM (Mobile Broadband Interface Model) devices. MBIM devices establish connections via cellular networks such as GPRS, UMTS, and LTE. They appear as a regular point-to-point network interface, transporting raw IP frames. Required configuration parameters like PIN and APN have to be set with umbctl(8), a new tool specific to this driver. The IP address is configured automatically; the default route and DNS server information have to be set separately. The driver is not fully functional yet, it is therefore still marked as experimental and disabled by default. Any help welcome to complete it! Tested on NetBSD/amd64, with a Sierra Wireless EM7345 LTE modem on a Lenovo ThinkPad T440s. No functional change expected otherwise.
Diffstat (limited to 'sys/dev/usb/files.usb')
-rw-r--r--sys/dev/usb/files.usb7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/usb/files.usb b/sys/dev/usb/files.usb
index 0073b0a3123..7b9ba3b4ed9 100644
--- a/sys/dev/usb/files.usb
+++ b/sys/dev/usb/files.usb
@@ -1,4 +1,4 @@
-# $NetBSD: files.usb,v 1.150 2018/03/05 09:35:01 ws Exp $
+# $NetBSD: files.usb,v 1.151 2018/07/31 16:44:29 khorben Exp $
#
# Config file and device description for machine-independent USB code.
# Included by ports that need it. Ports that use it must provide
@@ -379,6 +379,11 @@ device otus: arp, ether, firmload, ifnet, wlan
attach otus at usbdevif
file dev/usb/if_otus.c otus
+# Mobile Broadband Interface Model
+device umb: ifnet
+attach umb at usbifif
+file dev/usb/if_umb.c umb
+
# Serial drivers
# Modems
define umodem_common