Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/usb Added the device id for the Huawei EM770W 3G mod...



details:   https://anonhg.NetBSD.org/src/rev/63b4b4429c28
branches:  trunk
changeset: 781902:63b4b4429c28
user:      khorben <khorben%NetBSD.org@localhost>
date:      Fri Oct 05 22:04:56 2012 +0000

description:
Added the device id for the Huawei EM770W 3G modem to u3g(4)
Confirmed to work on a WeTab

ok christos@

diffstat:

 sys/dev/usb/u3g.c          |  5 +++--
 sys/dev/usb/usbdevs        |  3 ++-
 sys/dev/usb/usbdevs.h      |  3 ++-
 sys/dev/usb/usbdevs_data.h |  8 ++++++--
 4 files changed, 13 insertions(+), 6 deletions(-)

diffs (86 lines):

diff -r 8fc5f1f7800a -r 63b4b4429c28 sys/dev/usb/u3g.c
--- a/sys/dev/usb/u3g.c Fri Oct 05 21:30:29 2012 +0000
+++ b/sys/dev/usb/u3g.c Fri Oct 05 22:04:56 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: u3g.c,v 1.25 2012/08/04 12:55:06 nonaka Exp $  */
+/*     $NetBSD: u3g.c,v 1.26 2012/10/05 22:04:56 khorben Exp $ */
 
 /*-
  * Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: u3g.c,v 1.25 2012/08/04 12:55:06 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: u3g.c,v 1.26 2012/10/05 22:04:56 khorben Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -185,6 +185,7 @@
        { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1750 },
        { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1820 },
        { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E220 },
+       { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_EM770W },
        { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_K3765 },
        { USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE },
        /* OEM: Merlin */
diff -r 8fc5f1f7800a -r 63b4b4429c28 sys/dev/usb/usbdevs
--- a/sys/dev/usb/usbdevs       Fri Oct 05 21:30:29 2012 +0000
+++ b/sys/dev/usb/usbdevs       Fri Oct 05 22:04:56 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: usbdevs,v 1.628 2012/10/03 06:57:36 mlelstv Exp $
+$NetBSD: usbdevs,v 1.629 2012/10/05 22:04:56 khorben Exp $
 
 /*
  * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
@@ -1673,6 +1673,7 @@
 /* Huawei Technologies products */
 product HUAWEI MOBILE          0x1001  Huawei Mobile
 product HUAWEI E220            0x1003  Huawei E220
+product HUAWEI EM770W          0x1404  Huawei EM770W
 product HUAWEI E1750           0x140c  Huawei E1750
 product HUAWEI E1750INIT       0x1446  Huawei E1750 USB CD
 product HUAWEI K3765           0x1465  Huawei K3765
diff -r 8fc5f1f7800a -r 63b4b4429c28 sys/dev/usb/usbdevs.h
--- a/sys/dev/usb/usbdevs.h     Fri Oct 05 21:30:29 2012 +0000
+++ b/sys/dev/usb/usbdevs.h     Fri Oct 05 22:04:56 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdevs.h,v 1.620 2012/10/03 06:58:03 mlelstv Exp $    */
+/*     $NetBSD: usbdevs.h,v 1.621 2012/10/05 22:04:56 khorben Exp $    */
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -1680,6 +1680,7 @@
 /* Huawei Technologies products */
 #define        USB_PRODUCT_HUAWEI_MOBILE       0x1001          /* Huawei Mobile */
 #define        USB_PRODUCT_HUAWEI_E220 0x1003          /* Huawei E220 */
+#define        USB_PRODUCT_HUAWEI_EM770W       0x1404          /* Huawei EM770W */
 #define        USB_PRODUCT_HUAWEI_E1750        0x140c          /* Huawei E1750 */
 #define        USB_PRODUCT_HUAWEI_E1750INIT    0x1446          /* Huawei E1750 USB CD */
 #define        USB_PRODUCT_HUAWEI_K3765        0x1465          /* Huawei K3765 */
diff -r 8fc5f1f7800a -r 63b4b4429c28 sys/dev/usb/usbdevs_data.h
--- a/sys/dev/usb/usbdevs_data.h        Fri Oct 05 21:30:29 2012 +0000
+++ b/sys/dev/usb/usbdevs_data.h        Fri Oct 05 22:04:56 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: usbdevs_data.h,v 1.621 2012/10/03 06:58:03 mlelstv Exp $       */
+/*     $NetBSD: usbdevs_data.h,v 1.622 2012/10/05 22:04:56 khorben Exp $       */
 
 /*
  * THIS FILE IS AUTOMATICALLY GENERATED.  DO NOT EDIT.
@@ -5235,6 +5235,10 @@
            "Huawei E220",
        },
        {
+           USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_EM770W,
+           "Huawei EM770W",
+       },
+       {
            USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E1750,
            "Huawei E1750",
        },
@@ -9827,4 +9831,4 @@
            "Prestige",
        },
 };
-const int usb_nproducts = 1928;
+const int usb_nproducts = 1929;



Home | Main Index | Thread Index | Old Index