kern/122905: ubsa.c doesn't take Huawei E220

Volker volker at vwsoft.com
Sun Apr 20 00:10:05 UTC 2008


The following reply was made to PR usb/122905; it has been noted by GNATS.

From: Volker <volker at vwsoft.com>
To: bug-followup at FreeBSD.org, wojtek at wojtek.tensor.gdynia.pl
Cc:  
Subject: Re: kern/122905: ubsa.c doesn't take Huawei E220
Date: Sun, 20 Apr 2008 02:05:23 +0200

 This is a multi-part message in MIME format.
 --------------070805030206060206040603
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 > sorry for sending whole files, i don't have origs now :)
 
 
 I'm really wondering how you were able to change code w/o having
 original files?
 
 Anyway, here's the diff for RELENG_6 (usbdevs.diff.6 and ubsa.c.diff.6)
 and RELENG_7 (usbdevs.diff and ubsa.c.diff). It's been a real pain to
 create these from your code - please, never ever do it again this way.
 
 
 --------------070805030206060206040603
 Content-Type: text/plain;
  name="ubsa.c.diff.6"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="ubsa.c.diff.6"
 
 --- ubsa.c.orig	2008-04-08 18:36:49.000000000 +0200
 +++ ubsa.c	2008-04-20 01:53:57.000000000 +0200
 @@ -232,6 +232,7 @@
  	{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GQUAD },
  	/* Huawei Mobile */
  	{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE },
 +	{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E200b },
  	/* Qualcomm, Inc. ZTE CDMA */
  	{ USB_VENDOR_QUALCOMMINC, USB_PRODUCT_QUALCOMMINC_CDMA_MSM },
  	{ 0, 0 }
 
 --------------070805030206060206040603
 Content-Type: text/plain;
  name="usbdevs.diff.6"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="usbdevs.diff.6"
 
 --- usbdevs.orig	2008-04-08 18:36:49.000000000 +0200
 +++ usbdevs	2008-04-20 01:53:28.000000000 +0200
 @@ -1046,6 +1046,7 @@
  
  /* HUAWEI products */
  product HUAWEI MOBILE		0x1001	Huawei Mobile
 +product HUAWEI E200b		0x1003	Huawei E200
  
  /* IBM Corporation */
  product IBM USBCDROMDRIVE	0x4427	USB CD-ROM Drive
 
 --------------070805030206060206040603
 Content-Type: text/plain;
  name="ubsa.c.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="ubsa.c.diff"
 
 --- ubsa.c.orig	2008-04-20 01:58:31.000000000 +0200
 +++ ubsa.c	2008-04-20 01:59:00.000000000 +0200
 @@ -236,6 +236,7 @@
  	{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_GT3GPLUS },
  	/* Huawei Mobile */
  	{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_MOBILE },
 +	{ USB_VENDOR_HUAWEI, USB_PRODUCT_HUAWEI_E200B },
  	/* Qualcomm, Inc. ZTE CDMA */
  	{ USB_VENDOR_QUALCOMMINC, USB_PRODUCT_QUALCOMMINC_CDMA_MSM },
  	{ 0, 0 }
 
 --------------070805030206060206040603
 Content-Type: text/plain;
  name="usbdevs.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="usbdevs.diff"
 
 --- usbdevs.orig	2008-04-20 01:57:51.000000000 +0200
 +++ usbdevs	2008-04-20 01:59:10.000000000 +0200
 @@ -1387,6 +1387,7 @@
  
  /* HUAWEI products */
  product HUAWEI MOBILE		0x1001	Huawei Mobile
 +product HUAWEI E200B		0x1003	Huawei E200
  
  /* HUAWEI 3com products */
  product HUAWEI3COM WUB320G	0x0009	Aolynk WUB320g
 
 --------------070805030206060206040603--


More information about the freebsd-usb mailing list