netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] DRIVERS: NET: USB: DM9601 driver can drive a device not supported yet, add support for it
@ 2009-10-22 18:25 Janusz Krzysztofik
  2009-10-22 18:54 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Janusz Krzysztofik @ 2009-10-22 18:25 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: netdev

Hi,

I found that the current version of drivers/net/usb/dm9601.c can be used to
successfully drive a low-power, low-cost network adapter with USB ID
0a46:9000, based on a DM9000E chipset. As no device with this ID is yet
present in the kernel, I have created a patch that adds support for the device
to the dm9601 driver.

Created and tested against linux-2.6.32-rc5.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>

---
There seems to be plenty of those devices available on ebay recently, for example: 
http://cgi.ebay.pl/USB-TO-Fast-Ethernet-Network-RJ45-Adapter-Converter-NIC_W0QQitemZ250458092252QQcmdZViewItemQQptZUK_Computing_Networking_SM?hash=item3a507732dc

--- linux-2.6.32-rc5/drivers/net/usb/dm9601.c.orig	2009-10-22 20:14:00.000000000 +0200
+++ linux-2.6.32-rc5/drivers/net/usb/dm9601.c	2009-10-22 20:14:04.000000000 +0200
@@ -649,6 +649,10 @@ static const struct usb_device_id produc
 	USB_DEVICE(0x0fe6, 0x8101),	/* DM9601 USB to Fast Ethernet Adapter */
 	.driver_info = (unsigned long)&dm9601_info,
 	 },
+	{
+	 USB_DEVICE(0x0a46, 0x9000),	/* DM9000E */
+	 .driver_info = (unsigned long)&dm9601_info,
+	 },
 	{},			// END
 };
 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-29  8:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-22 18:25 [PATCH] DRIVERS: NET: USB: DM9601 driver can drive a device not supported yet, add support for it Janusz Krzysztofik
2009-10-22 18:54 ` Peter Korsgaard
2009-10-28 15:34   ` [PATCH kernel 2.6.32-rc5] [RESEND] netdev: usb: dm9601.c " Janusz Krzysztofik
2009-10-29  8:32     ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).