Re: More device ID's for option.c

"Hans Engelen" <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On 4/11/07, Greg KH <[email protected]> wrote:
> On Wed, Apr 11, 2007 at 02:51:48AM +0200, Hans Engelen wrote:
> > First of my apologies for not replying to the proper subject (19 Mar
> > 2007, patch for Novatel devices) but I am new to the list and don't
> > have said message to reply to (can only read archives).
> >
> > One more device for this driver is the new Dell Wireless Broadband
> > Card modell 5510 (ExpressCard 34). This is actually nothing else but a
> > rebadged Merlin XU870 card with a different vendor-id and model-id.
>
> Gotta love the rebranding of the same devices all the time :(
>
> Can you make up a patch against 2.6.21-rc6 for this device so I can
> properly credit you for this?
>
> thanks,
>
> greg k-h
>

Sure hope this is satisfactory.

Cheers,
Hans

diff -urpN a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
--- a/drivers/usb/serial/option.c	2007-04-06 04:36:56.000000000 +0200
+++ b/drivers/usb/serial/option.c	2007-04-12 14:14:57.000000000 +0200
@@ -113,6 +113,8 @@ static int  option_send_setup(struct usb
 #define ANYDATA_VENDOR_ID			0x16d5
 #define ANYDATA_PRODUCT_ID			0x6501

+#define DELL_VENDOR_ID				0x413C
+
 static struct usb_device_id option_ids[] = {
 	{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_COLT) },
 	{ USB_DEVICE(OPTION_VENDOR_ID, OPTION_PRODUCT_RICOLA) },
@@ -165,6 +167,7 @@ static struct usb_device_id option_ids[]
 	{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, 0x2130) }, /* Novatel Merlin
ES620 SM Bus */
 	{ USB_DEVICE(NOVATELWIRELESS_VENDOR_ID, 0x2410) }, /* Novatel EU740 */
 	{ USB_DEVICE(ANYDATA_VENDOR_ID, ANYDATA_PRODUCT_ID) },
+	{ USB_DEVICE(DELL_VENDOR_ID, 0x8118) },            /* Dell Wireless
5510 Mobile Broadband HSDPA ExpressCard */
 	{ } /* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, option_ids);

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.