From 268df72b338b9e449eea55b4b3728e5110194bf9 Mon Sep 17 00:00:00 2001 From: Gleydson Soares Date: Fri, 11 Nov 2011 00:45:31 +0000 Subject: add support for HUAWEI Mobile E173s tested by me ok jsg@ sthen@ jmc@ --- share/man/man4/umsm.4 | 5 +++-- sys/dev/usb/umsm.c | 4 +++- sys/dev/usb/usbdevs | 4 +++- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/share/man/man4/umsm.4 b/share/man/man4/umsm.4 index 4fb0ccde178..0119b552fb4 100644 --- a/share/man/man4/umsm.4 +++ b/share/man/man4/umsm.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: umsm.4,v 1.74 2011/10/20 10:46:00 dcoppa Exp $ +.\" $OpenBSD: umsm.4,v 1.75 2011/11/11 00:45:30 gsoares 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: October 20 2011 $ +.Dd $Mdocdate: November 11 2011 $ .Dt UMSM 4 .Os .Sh NAME @@ -59,6 +59,7 @@ driver: .It Li "Huawei Mobile E1692" Ta "USB" .It Li "Huawei Mobile E172" Ta "USB" .It Li "Huawei Mobile E173" Ta "USB" +.It Li "Huawei Mobile E173s" Ta "USB" .It Li "Huawei Mobile E180" Ta "USB" .It Li "Huawei Mobile E181" Ta "USB" .It Li "Huawei Mobile E182" Ta "USB" diff --git a/sys/dev/usb/umsm.c b/sys/dev/usb/umsm.c index c943b071f3a..bfbd4820a25 100644 --- a/sys/dev/usb/umsm.c +++ b/sys/dev/usb/umsm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umsm.c,v 1.80 2011/10/20 10:44:39 dcoppa Exp $ */ +/* $OpenBSD: umsm.c,v 1.81 2011/11/11 00:45:30 gsoares Exp $ */ /* * Copyright (c) 2008 Yojiro UO @@ -131,6 +131,8 @@ static const struct umsm_type umsm_devs[] = { {{ USB_VENDOR_DELL, USB_PRODUCT_DELL_W5500 }, 0}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E161 }, DEV_UMASS5}, + {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E173S_INIT }, DEV_UMASS5}, + {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E173S }, 0}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E180 }, DEV_HUAWEI}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E181 }, DEV_HUAWEI}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E182 }, DEV_UMASS5}, diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index 60d3e367918..447a80fde15 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -1,4 +1,4 @@ -$OpenBSD: usbdevs,v 1.561 2011/10/28 01:45:36 deraadt Exp $ +$OpenBSD: usbdevs,v 1.562 2011/11/11 00:45:30 gsoares Exp $ /* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */ /* @@ -1984,6 +1984,8 @@ product HUAWEI E161 0x1446 HUAWEI Mobile Modem product HUAWEI K3765 0x1465 HUAWEI Mobile K3765 product HUAWEI E1820 0x14ac HUAWEI Mobile Modem product HUAWEI K3765_INIT 0x1520 HUAWEI Mobile K3765 Initial +product HUAWEI E173S 0x1c05 HUAWEI Mobile E173s +product HUAWEI E173S_INIT 0x1c0b HUAWEI Mobile E173s Initial /* HUMAX products */ product HUMAX PVRSMART 0x138c PVR-SMART -- cgit v1.2.3