From: David Miller <davem@davemloft.net>
To: linus.walleij@linaro.org
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
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) [thread overview]
Message-ID: <20171211.141651.2190843744682664766.davem@davemloft.net> (raw)
In-Reply-To: <20171210224558.27122-2-linus.walleij@linaro.org>
From: Linus Walleij <linus.walleij@linaro.org>
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
> + <http://www.tldp.org/docs.html#howto>.
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.
next prev parent reply other threads:[~2017-12-11 19:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-10 22:45 [PATCH net-next 1/2 v8] net: ethernet: Add DT bindings for the Gemini ethernet Linus Walleij
2017-12-10 22:45 ` [PATCH net-next 2/2 v8] net: ethernet: Add a driver for Gemini gigabit ethernet Linus Walleij
2017-12-11 19:16 ` David Miller [this message]
2017-12-17 15:49 ` Linus Walleij
[not found] ` <20171210224558.27122-1-linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2017-12-15 21:43 ` [PATCH net-next 1/2 v8] net: ethernet: Add DT bindings for the Gemini ethernet Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171211.141651.2190843744682664766.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=janos.dev@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mirq-linux@rere.qmqm.pl \
--cc=netdev@vger.kernel.org \
--cc=paulius.zaleckas@gmail.com \
--cc=tobias.waldvogel@gmail.com \
--cc=ulli.kroll@googlemail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox