From patchwork Sat Nov 10 23:45:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 10677453 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E016B1709 for ; Sat, 10 Nov 2018 23:47:20 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C36EE2BEC7 for ; Sat, 10 Nov 2018 23:47:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B12A72BED0; Sat, 10 Nov 2018 23:47:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44B292BEC7 for ; Sat, 10 Nov 2018 23:47:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726324AbeKKJeC (ORCPT ); Sun, 11 Nov 2018 04:34:02 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:53257 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725896AbeKKJeC (ORCPT ); Sun, 11 Nov 2018 04:34:02 -0500 Received: by mail-wm1-f65.google.com with SMTP id f10-v6so5140237wme.3; Sat, 10 Nov 2018 15:47:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=HWWOCCepgSXHQgzfE415oC1PwWSbKWO9Ub+fR7s9QAo=; b=DUP5E1LJyWJrFUOtaotH4280muYOqoLqflRA/hL8JH18MpMm0NIFx5Hrr6owNluZhj KBsefViRsWKMQoDkniqMxrs8Y/tdpcRD89BTRyjAcndI7C5r606cKsk2EaP/8AdMmp9j whvoSoD0R5XmAa3HYcuETVnJqrSpwYPXET4KzidF4cA/qKiodSZ8M4UhbpRiBjKIgjDh 9P5a4aqtGH8ZLxIjGFu2hRatVcSyf6CPOi1ufnghaT04O38tMmY6jiPw1uGoyMsZedex qbOBHDimTsbYw/qLZ0JF7v8EoG+UeLtu5lbS/kzaksjEjo3smWzB+5XqnbB4IUKtV3kA rJWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=HWWOCCepgSXHQgzfE415oC1PwWSbKWO9Ub+fR7s9QAo=; b=XgGXqV2AN1RtU5keEuSmaQOYOrKPo3HRP+VewFuXEE8S71x7AB3XDvJITZxu0HtZTQ Z7JgnPtnwEb3lqyTj7USk2eLNtWfPi50/HYOsQ8q9jUJAbE2a694xFSERbR0bzo4XhC5 fdJvXnBNDMZcq59pmgYKtLJvkEVCKG7/DQdDkPxtoeCq0Vvvrf1gXFy5lDu9vmKTPPf9 aRxX5Bz5YWqx/fCCrywK9EA5sW5vY2K0iJ1KRGyaW/Qkt8BOVSrME1p8zfdEzGRxiblU 36w4fV/JGpvw0S2jQdYoIMFsgao3WnJURdrvqjq59PCFKjfwCH1BPTxOu3H3u4eA4UN9 qmkQ== X-Gm-Message-State: AGRZ1gLyfxxBu3MPGD0ibCoqEoVUfgoYTI9NHAk/6E/iM9uzuiqqsvaQ wQ7r22CC0CjOKEYujFqSJojh1+3+ X-Google-Smtp-Source: AJdET5eUVc/YsMsl70ZmRQRIAdwWPMBtdg1d7vscX0c+br0WHjnoRO+E4EMf+MxI1LyHuQb5tS7nLg== X-Received: by 2002:a1c:be0a:: with SMTP id o10-v6mr3773046wmf.111.1541893637256; Sat, 10 Nov 2018 15:47:17 -0800 (PST) Received: from ?IPv6:2003:ea:8bcf:e300:d9f3:aa7:2f30:4a3a? (p200300EA8BCFE300D9F30AA72F304A3A.dip0.t-ipconnect.de. [2003:ea:8bcf:e300:d9f3:aa7:2f30:4a3a]) by smtp.googlemail.com with ESMTPSA id z17-v6sm10296706wrm.65.2018.11.10.15.47.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Nov 2018 15:47:16 -0800 (PST) Subject: [PATCH net-next 1/2] PCI: add USR vendor id From: Heiner Kallweit To: Bjorn Helgaas , David Miller Cc: "netdev@vger.kernel.org" , "linux-pci@vger.kernel.org" References: <9af6abf5-ba01-155f-17d1-ca4b71b74fa6@gmail.com> Message-ID: <71caf048-3f24-6241-b39c-ad1f5bd086c9@gmail.com> Date: Sun, 11 Nov 2018 00:45:35 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <9af6abf5-ba01-155f-17d1-ca4b71b74fa6@gmail.com> Content-Language: en-US Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add U.S. Robotics (USR) PCI vendor id. Signed-off-by: Heiner Kallweit --- include/linux/pci_ids.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 69f0abe1b..144de2e89 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -2359,6 +2359,8 @@ #define PCI_VENDOR_ID_SYNOPSYS 0x16c3 +#define PCI_VENDOR_ID_USR 0x16ec + #define PCI_VENDOR_ID_VITESSE 0x1725 #define PCI_DEVICE_ID_VITESSE_VSC7174 0x7174 From patchwork Sat Nov 10 23:47:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiner Kallweit X-Patchwork-Id: 10677455 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 034A615E9 for ; Sat, 10 Nov 2018 23:47:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4C422BEC7 for ; Sat, 10 Nov 2018 23:47:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D8A532BED0; Sat, 10 Nov 2018 23:47:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 828FA2BEC7 for ; Sat, 10 Nov 2018 23:47:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726292AbeKKJeE (ORCPT ); Sun, 11 Nov 2018 04:34:04 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:44451 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725896AbeKKJeE (ORCPT ); Sun, 11 Nov 2018 04:34:04 -0500 Received: by mail-wr1-f68.google.com with SMTP id j17-v6so5536390wrq.11; Sat, 10 Nov 2018 15:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=gzeQEmjg21C3zotdRTcb6xI5d1u3pfEGHj14X0Dhlig=; b=hvG7HTLyhDVZhaZgwUDD25fHd8z9E4zgKNW25HEBcPJx1ZLAMRmJDgtNcDskNWTr+8 GyUk043gJPufh1TGo6XtVn7nfFEIfVkYkht0M813CxkfidL7bOaMyHenqOMr6h1BO/7d tZ8ZIZx/hqFgXWcTebwYHVJN1mrxXKqsSTEoZd1s1gZrAMhjUxzAsQSx0IBohAdtLRrf HIxXM9qOlf2C2Xc+QjliYvtzuxWlPJ+Kvf57WvVRbdzw2bbzKzY3ApNMmaR6+FFBwgah zyukAAQsVh1lDZx89Jgy+FpG2hUHpLe16YTCkAznwmizVjHquxGdV5SPxtWFF07J+/ah /Lwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gzeQEmjg21C3zotdRTcb6xI5d1u3pfEGHj14X0Dhlig=; b=obBuiUG+QrS1HPFpdn2S05UWmWk+9cS3StXrSqYj34isIZqpUG4sUUt1whZdyVdjC7 Y6VFYGMAYIV4yOv2tifHLrzrEAXDahhEpF0Sa2dZ5qitO+U75wuYR8tsG8aOZqUpLyy8 Q7t2CbY5JocKhKRfIukvNOjy/5ZxE3IEXorRa5iA+9MBDq+D1d7bVfTy7++oM3MENCKn u/CBsIee6zCct8ePDKfVi4KGUn/YrPbWwFSBudCHqri8rOemAl6YCP7ko9iZJ0lougeP FdsiMvtlvmofHf52vz9f0L67FEmxELVeAyestVCzU8k2ld4X3c5fmGp6rZigf7oGHiv/ NBqA== X-Gm-Message-State: AGRZ1gLM12Zil391h3J8ubrjlYaIAwPDbT6nL9Cp7M3DqjizZPbCPbm3 wkZXYYKVTks7f5xigWht2HSRAEv5 X-Google-Smtp-Source: AJdET5c3+pKlAC/xIWtTHPk/GBAUOU/4wMTPFP/UBsr8c7G8o2GRnxp+OgY8gGkYipCALlsdJzFw/Q== X-Received: by 2002:adf:dc87:: with SMTP id r7-v6mr13704572wrj.143.1541893638683; Sat, 10 Nov 2018 15:47:18 -0800 (PST) Received: from ?IPv6:2003:ea:8bcf:e300:d9f3:aa7:2f30:4a3a? (p200300EA8BCFE300D9F30AA72F304A3A.dip0.t-ipconnect.de. [2003:ea:8bcf:e300:d9f3:aa7:2f30:4a3a]) by smtp.googlemail.com with ESMTPSA id r19-v6sm4653748wmh.0.2018.11.10.15.47.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Nov 2018 15:47:18 -0800 (PST) Subject: [PATCH net-next 2/2] r8169: use proper constant for PCI vendor USR instead of numerical id From: Heiner Kallweit To: Bjorn Helgaas , David Miller Cc: "netdev@vger.kernel.org" , "linux-pci@vger.kernel.org" References: <9af6abf5-ba01-155f-17d1-ca4b71b74fa6@gmail.com> Message-ID: Date: Sun, 11 Nov 2018 00:47:10 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <9af6abf5-ba01-155f-17d1-ca4b71b74fa6@gmail.com> Content-Language: en-US Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Use proper constant for PCI vendor USR instead of numerical id. Signed-off-by: Heiner Kallweit --- drivers/net/ethernet/realtek/r8169.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index 1fd01688d..366a690eb 100644 --- a/drivers/net/ethernet/realtek/r8169.c +++ b/drivers/net/ethernet/realtek/r8169.c @@ -224,7 +224,7 @@ static const struct pci_device_id rtl8169_pci_tbl[] = { { 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_DEVICE(PCI_VENDOR_ID_USR, 0x0116), 0, 0, RTL_CFG_0 }, { PCI_VENDOR_ID_LINKSYS, 0x1032, PCI_ANY_ID, 0x0024, 0, 0, RTL_CFG_0 }, { 0x0001, 0x8168,