From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next 2/2 v8] net: ethernet: Add a driver for Gemini gigabit ethernet Date: Mon, 11 Dec 2017 14:16:51 -0500 (EST) Message-ID: <20171211.141651.2190843744682664766.davem@davemloft.net> References: <20171210224558.27122-1-linus.walleij@linaro.org> <20171210224558.27122-2-linus.walleij@linaro.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, mirq-linux@rere.qmqm.pl, janos.dev@gmail.com, paulius.zaleckas@gmail.com, linux-arm-kernel@lists.infradead.org, ulli.kroll@googlemail.com, f.fainelli@gmail.com, tobias.waldvogel@gmail.com To: linus.walleij@linaro.org Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:38766 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751566AbdLKTQx (ORCPT ); Mon, 11 Dec 2017 14:16:53 -0500 In-Reply-To: <20171210224558.27122-2-linus.walleij@linaro.org> Sender: netdev-owner@vger.kernel.org List-ID: From: Linus Walleij Date: Sun, 10 Dec 2017 23:45:58 +0100 > diff --git a/drivers/net/ethernet/cortina/Kconfig b/drivers/net/ethernet/cortina/Kconfig > new file mode 100644 > index 000000000000..7d279ac4357d > --- /dev/null > +++ b/drivers/net/ethernet/cortina/Kconfig > @@ -0,0 +1,24 @@ > +# SPDX-License-Identifier: GPL-2.0 > +# Cortina ethernet devices > + > +config NET_VENDOR_CORTINA > + bool "Cortina Gemini devices" > + depends on (ARM || COMPILE_TEST) > + default ARCH_GEMINI > + ---help--- > + If you have a network (Ethernet) card belonging to this class, say Y > + and read the Ethernet-HOWTO, available from > + . Vendor Kconfig guards should default to 'y'. Remove the depends guard. > + > +if NET_VENDOR_CORTINA > + > +config GEMINI_ETHERNET > + tristate "Gemini Gigabit Ethernet support" > + depends on ARCH_GEMINI > + depends on OF > + select PHYLIB > + select CRC32 > + ---help--- > + This driver supports StorLink SL351x (Gemini) dual Gigabit Ethernet. Make this driver buildable anywhere, you don't use any platform architecture specific features. Otherwise your driver will have bad build coverage and will likely stop building when core APIs are changed.