From c60431777d7a0e4387033d59e83660e53bc3f0a1 Mon Sep 17 00:00:00 2001 From: kevlo Date: Thu, 11 Jan 2018 09:26:36 +0000 Subject: [PATCH] Add support for Huawei E3372. ok phessler@ --- share/man/man4/umsm.4 | 5 +++-- sys/dev/usb/umsm.c | 3 ++- sys/dev/usb/usbdevs | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/share/man/man4/umsm.4 b/share/man/man4/umsm.4 index be7ffaa5682..c0399462ff4 100644 --- a/share/man/man4/umsm.4 +++ b/share/man/man4/umsm.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: umsm.4,v 1.92 2016/12/12 04:26:29 jsg Exp $ +.\" $OpenBSD: umsm.4,v 1.93 2018/01/11 09:26:36 kevlo Exp $ .\" .\" Copyright (c) 2006 Jonathan Gray .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 12 2016 $ +.Dd $Mdocdate: January 11 2018 $ .Dt UMSM 4 .Os .Sh NAME @@ -73,6 +73,7 @@ driver: .It Li "Huawei Mobile E1750" Ta "USB" .It Li "Huawei Mobile E1752" Ta "USB" .It Li "Huawei Mobile E1820" Ta "USB" +.It Li "Huawei Mobile E3372" Ta "USB" .It Li "Huawei Mobile EM770W" Ta "PCI Express Mini Card" .It Li "Huawei Mobile K4510" Ta "USB" .It Li "Huawei Mobile K4511" Ta "USB" diff --git a/sys/dev/usb/umsm.c b/sys/dev/usb/umsm.c index 1d4450a85fd..f3e38df5493 100644 --- a/sys/dev/usb/umsm.c +++ b/sys/dev/usb/umsm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umsm.c,v 1.109 2017/04/08 02:57:25 deraadt Exp $ */ +/* $OpenBSD: umsm.c,v 1.110 2018/01/11 09:26:36 kevlo Exp $ */ /* * Copyright (c) 2008 Yojiro UO @@ -147,6 +147,7 @@ static const struct umsm_type umsm_devs[] = { {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_K4511 }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1750 }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1752 }, 0}, + {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E3372 }, DEV_UMASS5}, {{ USB_VENDOR_HYUNDAI, USB_PRODUCT_HYUNDAI_UM175 }, 0}, diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index c95bdd0dba0..42c04d5b01f 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -1,4 +1,4 @@ -$OpenBSD: usbdevs,v 1.679 2017/12/14 09:22:16 benno Exp $ +$OpenBSD: usbdevs,v 1.680 2018/01/11 09:26:36 kevlo Exp $ /* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */ /* @@ -2209,6 +2209,7 @@ product HUAWEI E510 0x1411 HUAWEI Mobile E510 product HUAWEI E181 0x1414 HUAWEI Mobile E181 product HUAWEI E1752 0x1417 HUAWEI Mobile Modem product HUAWEI E182 0x1429 HUAWEI Mobile Modem +product HUAWEI E3372 0x1442 HUAWEI Mobile Modem product HUAWEI E161 0x1446 HUAWEI Mobile Modem product HUAWEI K3765 0x1465 HUAWEI Mobile K3765 product HUAWEI E1820 0x14ac HUAWEI Mobile Modem -- 2.20.1