From: Florian Fainelli Subject: Re: [PATCH v1 net-next 2/3] lan743x: Update Kconfig and Makefile to include lan743x driver Date: Tue, 13 Feb 2018 15:53:03 -0800 Message-ID: References: <1518564410-8020-1-git-send-email-Bryan.Whitehead@microchip.com> <1518564410-8020-3-git-send-email-Bryan.Whitehead@microchip.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: UNGLinuxDriver@microchip.com, netdev@vger.kernel.org To: Bryan Whitehead , davem@davemloft.net Return-path: Received: from mail-qt0-f195.google.com ([209.85.216.195]:44483 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966179AbeBMXxO (ORCPT ); Tue, 13 Feb 2018 18:53:14 -0500 Received: by mail-qt0-f195.google.com with SMTP id f18so5688216qth.11 for ; Tue, 13 Feb 2018 15:53:14 -0800 (PST) In-Reply-To: <1518564410-8020-3-git-send-email-Bryan.Whitehead@microchip.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 02/13/2018 03:26 PM, Bryan Whitehead wrote: > Update Kconfig and Makefile to include lan743x driver. This should be squashed into the first patch, otherwise the first patch introduces non buildable code, which is kind of pointless. > > Signed-off-by: Bryan Whitehead > --- > drivers/net/ethernet/microchip/Kconfig | 9 +++++++++ > drivers/net/ethernet/microchip/Makefile | 3 +++ > 2 files changed, 12 insertions(+) > > diff --git a/drivers/net/ethernet/microchip/Kconfig b/drivers/net/ethernet/microchip/Kconfig > index 36a09d9..0c6955f 100644 > --- a/drivers/net/ethernet/microchip/Kconfig > +++ b/drivers/net/ethernet/microchip/Kconfig > @@ -42,4 +42,13 @@ config ENCX24J600 > To compile this driver as a module, choose M here. The module will be > called encx24j600. > > +config LAN743X > + tristate "LAN743x support" > + depends on PCI There should probably be a select PHYLIB here since you use struct mii_bus and the PHY library. -- Florian