From patchwork Thu Jul 28 23:18:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lennart Sorensen X-Patchwork-Id: 107315 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.180.67]) by ozlabs.org (Postfix) with ESMTP id 27A98B6F18 for ; Fri, 29 Jul 2011 09:24:14 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754798Ab1G1XXm (ORCPT ); Thu, 28 Jul 2011 19:23:42 -0400 Received: from caffeine.csclub.uwaterloo.ca ([129.97.134.17]:54851 "EHLO caffeine.csclub.uwaterloo.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754031Ab1G1XXl (ORCPT ); Thu, 28 Jul 2011 19:23:41 -0400 X-Greylist: delayed 330 seconds by postgrey-1.27 at vger.kernel.org; Thu, 28 Jul 2011 19:23:41 EDT Received: by caffeine.csclub.uwaterloo.ca (Postfix, from userid 20367) id 823AD6FA6; Thu, 28 Jul 2011 19:18:11 -0400 (EDT) Date: Thu, 28 Jul 2011 19:18:11 -0400 To: netdev@vger.kernel.org Cc: Len Sorensen , linux-kernel@vger.kernel.org, Realtek linux nic maintainers , Francois Romieu , drivers_network@kernel-bugs.osdl.org Subject: Add support for D-Link 530T rev C1 (Kernel Bug 38862) Message-ID: <20110728231811.GH8562@caffeine.csclub.uwaterloo.ca> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The D-Link DGE-530T rev C1 is a re-badged Realtek 8169 named DLG10028C, unlike the previous revisions which were skge based. It is probably the same as the discontinued DGE-528T (0x4300) other than the PCI ID. The PCI ID is 0x1186:0x4302. Adding it to r8169.c where 0x1186:0x4300 is already found makes the card be detected and work. This fixes https://bugzilla.kernel.org/show_bug.cgi?id=38862 Signed-off-by: Len Sorensen diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 7d9c650..c77286e 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c @@ -239,6 +239,7 @@ static DEFINE_PCI_DEVICE_TABLE(rtl8169_pci_tbl) = { { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8168), 0, 0, RTL_CFG_1 }, { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8169), 0, 0, RTL_CFG_0 }, { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4300), 0, 0, RTL_CFG_0 }, + { PCI_DEVICE(PCI_VENDOR_ID_DLINK, 0x4302), 0, 0, RTL_CFG_0 }, { PCI_DEVICE(PCI_VENDOR_ID_AT, 0xc107), 0, 0, RTL_CFG_0 }, { PCI_DEVICE(0x16ec, 0x0116), 0, 0, RTL_CFG_0 }, { PCI_VENDOR_ID_LINKSYS, 0x1032,