Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8095784imu; Tue, 4 Dec 2018 02:56:16 -0800 (PST) X-Google-Smtp-Source: AFSGD/V+urxkyERe/GF06Y7R2Pji0LDNIP2PTNCdk3XLw6QA6zOFyr9VUVhN18WQcvIBQU1h73/l X-Received: by 2002:a63:5a08:: with SMTP id o8mr15074288pgb.185.1543920976936; Tue, 04 Dec 2018 02:56:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543920976; cv=none; d=google.com; s=arc-20160816; b=vDLef/nlgXjfVOPxXF5jdGSoPHZo53EihLvfAN0KCWl94ucj4j7ezsnDdv1rSguTCO 1JYiCFcu30nNXLHSwN7yiKjQ7DRyAaPmaHl26AfNTpC/t22WF7SekQDagLdHYQWE7ugt saAbq2ri9quBmnx+2RJ+9kUD8S5mETjcwCFulY/lpQYSh5BKZPL9emEgGaomdB8/tgJ4 h1nv7UreeiC3FKvRHENcW7Li/3lh1fqFra8BBqO6lrIJEM+V87BENfx+VZWvhuIbsJNt nFiDsD0bN6Ds3zJ6kKd8v7X5WeasanxlgGUdB7e3Y30V7LBS582l27J6k2/2F7nRNg7M 9XrA== 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:dkim-signature; bh=KjeFEt5r7CjBF6UQOOVVtWGae4gi2zbgP+t/XzCkWj0=; b=hW/KD3hoa3Y4s0QajzgZRaAVQ0ERC9TuGRG25OW+VhryoR2jwyza6hVv+asUuXxTIZ RLlLIhaN/flhwRhsfVU7hS+tea63UhcKbCa1JMI/HkR8+W37bc7B0dWfbnzfOERsLHF8 1JWs1+IAHwONHCVbLWx4YVvHqdR9RoGKRgrhTeEiwOGe1XkTeJI+GIUkdsmRWewvE0Yk jzdH4SfhS1F9lXzSsKU6yqzPlRDxJJuldi2vPy8vt6+7a/M0P7ksSYOu4FFAF5bUH4/P tkzIu33qUDH5+v1QpJMLvULDdVbxK3bhYg9ScNQdLfIcoAK9QMM6zYTyfyou/w2FTjcW 5Ijw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dJrCDfzu; 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 z31si17649242plb.402.2018.12.04.02.56.01; Tue, 04 Dec 2018 02:56:16 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=dJrCDfzu; 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 S1726208AbeLDKzT (ORCPT + 99 others); Tue, 4 Dec 2018 05:55:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:38006 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725802AbeLDKzR (ORCPT ); Tue, 4 Dec 2018 05:55:17 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 36BB52146D; Tue, 4 Dec 2018 10:55:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1543920916; bh=yQ8DRCIUOByaV/KbRowYGVxqG+Np4kEcC5XhXouTa9o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dJrCDfzuM2BTH7qJS8cyb6z4B7N4/Cpi0DATjm1Jz8YEuKb4UI78QSithKlT9bieN 6GDjj8/hUrc/vzWMFAb5/9hMlJAFTCNu8/Wty0piVADLXLT9uWLOuWf5E8iCSNQrVp DeEhplWMDP4a5bN6gSIqNUNkc3lX+bHWMKQB6ln8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bryan Whitehead , "David S. Miller" Subject: [PATCH 4.19 010/139] lan743x: Enable driver to work with LAN7431 Date: Tue, 4 Dec 2018 11:48:11 +0100 Message-Id: <20181204103650.411502484@linuxfoundation.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20181204103649.950154335@linuxfoundation.org> References: <20181204103649.950154335@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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.19-stable review patch. If anyone has any objections, please let me know. ------------------ From: Bryan Whitehead [ Upstream commit 4df5ce9bc03e47d05f400e64aa32a82ec4cef419 ] This driver was designed to work with both LAN7430 and LAN7431. The only difference between the two is the LAN7431 has support for external phy. This change adds LAN7431 to the list of recognized devices supported by this driver. Updates for v2: changed 'fixes' tag to match defined format fixes: 23f0703c125b ("lan743x: Add main source files for new lan743x driver") Signed-off-by: Bryan Whitehead Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/microchip/lan743x_main.c | 1 + drivers/net/ethernet/microchip/lan743x_main.h | 1 + 2 files changed, 2 insertions(+) --- a/drivers/net/ethernet/microchip/lan743x_main.c +++ b/drivers/net/ethernet/microchip/lan743x_main.c @@ -3020,6 +3020,7 @@ static const struct dev_pm_ops lan743x_p static const struct pci_device_id lan743x_pcidev_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_SMSC, PCI_DEVICE_ID_SMSC_LAN7430) }, + { PCI_DEVICE(PCI_VENDOR_ID_SMSC, PCI_DEVICE_ID_SMSC_LAN7431) }, { 0, } }; --- a/drivers/net/ethernet/microchip/lan743x_main.h +++ b/drivers/net/ethernet/microchip/lan743x_main.h @@ -548,6 +548,7 @@ struct lan743x_adapter; /* SMSC acquired EFAR late 1990's, MCHP acquired SMSC 2012 */ #define PCI_VENDOR_ID_SMSC PCI_VENDOR_ID_EFAR #define PCI_DEVICE_ID_SMSC_LAN7430 (0x7430) +#define PCI_DEVICE_ID_SMSC_LAN7431 (0x7431) #define PCI_CONFIG_LENGTH (0x1000)