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

* Re: [PATCH] DRIVERS: NET: USB: DM9601 driver can drive a device not supported yet, add support for it
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2009-10-22 18:54 UTC (permalink / raw)
  To: Janusz Krzysztofik; +Cc: netdev

>>>>> "Janusz" == Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> writes:

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

 Janusz> Created and tested against linux-2.6.32-rc5.

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

Thanks.

Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

-- 
Bye, Peter Korsgaard

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

* [PATCH kernel 2.6.32-rc5] [RESEND] netdev: usb: dm9601.c can drive a device not supported yet, add support for it
  2009-10-22 18:54 ` Peter Korsgaard
@ 2009-10-28 15:34   ` Janusz Krzysztofik
  2009-10-29  8:32     ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Janusz Krzysztofik @ 2009-10-28 15:34 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: netdev, David S. Miller

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>
Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

---
Thursday 22 October 2009 20:54:55 Peter Korsgaard wrote:

> Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

I'm not sure if there was sometning wrong with my initial submition, but since
the patch, unlike others, has not been applied since acked last week, neither
to net-2.6 nor net-next-2.6, I decided to resend it, with a slightly modified
subject, and CC: David this time.

Thanks,
Janusz

--- 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

* Re: [PATCH kernel 2.6.32-rc5] [RESEND] netdev: usb: dm9601.c can drive a device not supported yet, add support for it
  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
  0 siblings, 0 replies; 4+ messages in thread
From: David Miller @ 2009-10-29  8:32 UTC (permalink / raw)
  To: jkrzyszt; +Cc: jacmet, netdev

From: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Date: Wed, 28 Oct 2009 16:34:21 +0100

> 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>
> Acked-by: Peter Korsgaard <jacmet@sunsite.dk>

Applied to net-2.6, thanks.

^ 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).