From patchwork Wed Oct 28 15:34:21 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Janusz Krzysztofik X-Patchwork-Id: 37118 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id C75781007DA for ; Thu, 29 Oct 2009 08:44:47 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754413AbZJ1Pen (ORCPT ); Wed, 28 Oct 2009 11:34:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754360AbZJ1Pen (ORCPT ); Wed, 28 Oct 2009 11:34:43 -0400 Received: from d1.icnet.pl ([212.160.220.21]:37740 "EHLO d1.icnet.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754346AbZJ1Pem (ORCPT ); Wed, 28 Oct 2009 11:34:42 -0400 Received: from 87-205-12-81.ip.netia.com.pl ([87.205.12.81] helo=vclass.intranet) by d1.icnet.pl with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1N3AXu-0006ny-E9; Wed, 28 Oct 2009 16:34:46 +0100 From: Janusz Krzysztofik Organization: Tele-Info-System, Poznan, PL To: Peter Korsgaard Subject: [PATCH kernel 2.6.32-rc5] [RESEND] netdev: usb: dm9601.c can drive a device not supported yet, add support for it Date: Wed, 28 Oct 2009 16:34:21 +0100 User-Agent: KMail/1.9.10 Cc: netdev@vger.kernel.org, "David S. Miller" References: <200910222025.50405.jkrzyszt@tis.icnet.pl> <87my3jnts0.fsf@macbook.be.48ers.dk> In-Reply-To: <87my3jnts0.fsf@macbook.be.48ers.dk> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200910281634.23635.jkrzyszt@tis.icnet.pl> X-SA-Exim-Scanned: No (on d1.icnet); SAEximRunCond expanded to false Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 Acked-by: Peter Korsgaard --- Thursday 22 October 2009 20:54:55 Peter Korsgaard wrote: > Acked-by: Peter Korsgaard 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 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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 };