diff options
author | 2011-07-21 08:16:35 +0000 | |
---|---|---|
committer | 2011-07-21 08:16:35 +0000 | |
commit | df247770fcc7237fdce99626c1b588a11d5041e3 (patch) | |
tree | f570fbe28e46a512261eb392ddb4e0cfc17d3d74 | |
parent | no more vnode_if.src; (diff) | |
download | wireguard-openbsd-df247770fcc7237fdce99626c1b588a11d5041e3.tar.xz wireguard-openbsd-df247770fcc7237fdce99626c1b588a11d5041e3.zip |
Add the Huawei E1750 USB modem
From bsd.user(at)mail(dot)ru
ok jsg@, sthen@
-rw-r--r-- | sys/dev/usb/umsm.c | 3 | ||||
-rw-r--r-- | sys/dev/usb/usbdevs | 3 | ||||
-rw-r--r-- | sys/dev/usb/usbdevs.h | 5 | ||||
-rw-r--r-- | sys/dev/usb/usbdevs_data.h | 8 |
4 files changed, 13 insertions, 6 deletions
diff --git a/sys/dev/usb/umsm.c b/sys/dev/usb/umsm.c index dabf7255bd6..9a06bac6374 100644 --- a/sys/dev/usb/umsm.c +++ b/sys/dev/usb/umsm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umsm.c,v 1.77 2011/07/08 23:10:31 yuo Exp $ */ +/* $OpenBSD: umsm.c,v 1.78 2011/07/21 08:20:23 dcoppa Exp $ */ /* * Copyright (c) 2008 Yojiro UO <yuo@nui.org> @@ -140,6 +140,7 @@ static const struct umsm_type umsm_devs[] = { {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_Mobile }, DEV_HUAWEI}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_K3765_INIT }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_K3765 }, 0}, + {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1750 }, DEV_UMASS5}, {{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1752 }, 0}, {{ USB_VENDOR_HYUNDAI, USB_PRODUCT_HYUNDAI_UM175 }, 0}, diff --git a/sys/dev/usb/usbdevs b/sys/dev/usb/usbdevs index d622769cd3f..76e9883e0c4 100644 --- a/sys/dev/usb/usbdevs +++ b/sys/dev/usb/usbdevs @@ -1,4 +1,4 @@ -$OpenBSD: usbdevs,v 1.549 2011/07/20 13:10:32 jasper Exp $ +$OpenBSD: usbdevs,v 1.550 2011/07/21 08:16:35 dcoppa Exp $ /* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */ /* @@ -1961,6 +1961,7 @@ product HTC ANDROID 0x0ffe Android phone product HUAWEI E618 0x1001 HUAWEI Mobile E618 product HUAWEI E220 0x1003 HUAWEI Mobile Modem product HUAWEI Mobile 0x1008 HUAWEI Mobile Modem +product HUAWEI E1750 0x1406 HUAWEI Mobile Modem product HUAWEI E180 0x140c HUAWEI Mobile E180 product HUAWEI E510 0x1411 HUAWEI Mobile E510 product HUAWEI E1752 0x1417 HUAWEI Mobile Modem diff --git a/sys/dev/usb/usbdevs.h b/sys/dev/usb/usbdevs.h index 566de9ce757..b02beb8d61f 100644 --- a/sys/dev/usb/usbdevs.h +++ b/sys/dev/usb/usbdevs.h @@ -1,10 +1,10 @@ -/* $OpenBSD: usbdevs.h,v 1.559 2011/07/20 13:10:49 jasper Exp $ */ +/* $OpenBSD: usbdevs.h,v 1.560 2011/07/21 08:20:23 dcoppa Exp $ */ /* * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * OpenBSD: usbdevs,v 1.549 2011/07/20 13:10:32 jasper Exp + * OpenBSD: usbdevs,v 1.550 2011/07/21 08:16:35 dcoppa Exp */ /* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */ @@ -1968,6 +1968,7 @@ #define USB_PRODUCT_HUAWEI_E618 0x1001 /* HUAWEI Mobile E618 */ #define USB_PRODUCT_HUAWEI_E220 0x1003 /* HUAWEI Mobile Modem */ #define USB_PRODUCT_HUAWEI_Mobile 0x1008 /* HUAWEI Mobile Modem */ +#define USB_PRODUCT_HUAWEI_E1750 0x1406 /* HUAWEI Mobile Modem */ #define USB_PRODUCT_HUAWEI_E180 0x140c /* HUAWEI Mobile E180 */ #define USB_PRODUCT_HUAWEI_E510 0x1411 /* HUAWEI Mobile E510 */ #define USB_PRODUCT_HUAWEI_E1752 0x1417 /* HUAWEI Mobile Modem */ diff --git a/sys/dev/usb/usbdevs_data.h b/sys/dev/usb/usbdevs_data.h index 932328d341a..e421aaefd7d 100644 --- a/sys/dev/usb/usbdevs_data.h +++ b/sys/dev/usb/usbdevs_data.h @@ -1,10 +1,10 @@ -/* $OpenBSD: usbdevs_data.h,v 1.553 2011/07/20 13:10:49 jasper Exp $ */ +/* $OpenBSD: usbdevs_data.h,v 1.554 2011/07/21 08:20:23 dcoppa Exp $ */ /* * THIS FILE IS AUTOMATICALLY GENERATED. DO NOT EDIT. * * generated from: - * OpenBSD: usbdevs,v 1.549 2011/07/20 13:10:32 jasper Exp + * OpenBSD: usbdevs,v 1.550 2011/07/21 08:16:35 dcoppa Exp */ /* $NetBSD: usbdevs,v 1.322 2003/05/10 17:47:14 hamajima Exp $ */ @@ -4002,6 +4002,10 @@ const struct usb_known_product usb_known_products[] = { "HUAWEI Mobile Modem", }, { + USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1750, + "HUAWEI Mobile Modem", + }, + { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E180, "HUAWEI Mobile E180", }, |