Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp725535imm; Thu, 13 Sep 2018 06:53:22 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZk4JU35gr7+SccNZF44f/yQdFwBFDdL8+U4xrvBX5GA6xHdirhNNJEIa0CA85aiCNEPHDX X-Received: by 2002:a62:1089:: with SMTP id 9-v6mr7662717pfq.30.1536846802559; Thu, 13 Sep 2018 06:53:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536846802; cv=none; d=google.com; s=arc-20160816; b=nG8uAFGVmmK9gztm0bic1Y6Fr4SUWH/TifPo9sYQ8fR350ueDW5wU5ErEQCsPUMkkg jIU8+0vFw5NnuXQr32UUfUKYgvVoPKjh9xIhW4pzR1bhW/9h5ZgLSkAw0uCqLWWcu1zM lUaWKJIlek/Fl5y2k+xzZSzYOkfy7sk1CMeJg3+2/yHZ6y034srPjJuyHGkaIRfy7yog 6+riyB7pgDiu1jYcISciXfiLEhcxjITCwjtCHq7Ls1K3Egtgi6t2rmkEBGFlYr/5JFye gFMidElCVMhudwnDYhKxW0/WMzplKAA/d7oz2kGjJsrlMcyMp0Bg5tcpKTOZUOfGfNSb VsJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=FKBooM4SrsXEcX6/JVC6SWJsVndQ6t2NcGwOXdTqQSE=; b=NIifb3yy9CFeQs0CPqOkRHEiS6DoL00040U9Zo4Kj/BCZbFSmqT8m8fIfmt/6vGcvL 3tY1z0vubQ3mHXZbnUXrzlTv9cwjQQjFUCk6F/XUnY4Ll8x1RX9RtutGUsN4MyQydkGQ p86sygMBDSKZubYZ0J7hyVfO3jrTwWmPFm0qza2MgnmiPMtnVofFyfr8d6JHTBAaYZp/ x3OFyM3kGF4lhOvlvcZdOM7HDrpYfdfx8Nu6Xh9kinP4yWH/ID3xAgXR1wcO6sSIjAWJ UKULkLKKqg2CXowCiPh7DnEi2ktzNMvincwnxsz87UdAJHdGxYyGTz/+35sfdEj4fE+k FPMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n184-v6si4568712pga.98.2018.09.13.06.53.07; Thu, 13 Sep 2018 06:53:22 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730992AbeIMTCG (ORCPT + 99 others); Thu, 13 Sep 2018 15:02:06 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:33508 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729764AbeIMTCF (ORCPT ); Thu, 13 Sep 2018 15:02:05 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id DF95FCE7; Thu, 13 Sep 2018 13:52:29 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Anthony Wong , "David S. Miller" Subject: [PATCH 4.18 008/197] r8169: add support for NCube 8168 network card Date: Thu, 13 Sep 2018 15:29:17 +0200 Message-Id: <20180913131841.902681748@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180913131841.568116777@linuxfoundation.org> References: <20180913131841.568116777@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Anthony Wong [ Upstream commit 9fd0e09a4e86499639653243edfcb417a05c5c46 ] This card identifies itself as: Ethernet controller [0200]: NCube Device [10ff:8168] (rev 06) Subsystem: TP-LINK Technologies Co., Ltd. Device [7470:3468] Adding a new entry to rtl8169_pci_tbl makes the card work. Link: http://launchpad.net/bugs/1788730 Signed-off-by: Anthony Wong Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/realtek/r8169.c | 1 + include/linux/pci_ids.h | 2 ++ 2 files changed, 3 insertions(+) --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -303,6 +303,7 @@ static const struct pci_device_id rtl816 { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8161), 0, 0, RTL_CFG_1 }, { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8167), 0, 0, RTL_CFG_0 }, { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8168), 0, 0, RTL_CFG_1 }, + { PCI_DEVICE(PCI_VENDOR_ID_NCUBE, 0x8168), 0, 0, RTL_CFG_1 }, { PCI_DEVICE(PCI_VENDOR_ID_REALTEK, 0x8169), 0, 0, RTL_CFG_0 }, { PCI_VENDOR_ID_DLINK, 0x4300, PCI_VENDOR_ID_DLINK, 0x4b10, 0, 0, RTL_CFG_1 }, --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -3082,4 +3082,6 @@ #define PCI_VENDOR_ID_OCZ 0x1b85 +#define PCI_VENDOR_ID_NCUBE 0x10ff + #endif /* _LINUX_PCI_IDS_H */