From: Alexander Sverdlin <alexander.sverdlin@nokia.com>
To: Arnd Bergmann <arnd@arndb.de>, "David S. Miller" <davem@davemloft.net>
Cc: Aleksey Makarov <aleksey.makarov@cavium.com>,
Radoslaw Biernacki <rad@semihalf.com>,
Felix Manlunas <felix.manlunas@cavium.com>,
Sunil Goutham <sgoutham@cavium.com>,
Vijaya Mohan Guvva <vijaya.guvva@cavium.com>,
<netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net-next] net: cavium: add missing PCI dependencies
Date: Tue, 17 Jul 2018 16:31:35 +0200 [thread overview]
Message-ID: <f1cc2710-2bd5-4a55-1a40-67cb2f4e0798@nokia.com> (raw)
In-Reply-To: <20180717134756.3447762-1-arnd@arndb.de>
Hello Arnd,
On 17/07/18 15:46, Arnd Bergmann wrote:
> While some of the cavium drivers don't require PCI support, most
> others do, as shown by these build failures:
[...]
> This adds back the minimum set of dependencies to get everything to
> build cleanly again, but leaving the ones that build cleanly.
>
> Fixes: 7e2bc7fb65d5 ("net: cavium: Drop dependency of NET_VENDOR_CAVIUM on PCI")
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> ---
> drivers/net/ethernet/cavium/Kconfig | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/net/ethernet/cavium/Kconfig b/drivers/net/ethernet/cavium/Kconfig
> index 4c3a5c354497..80e2e93e4aad 100644
> --- a/drivers/net/ethernet/cavium/Kconfig
> +++ b/drivers/net/ethernet/cavium/Kconfig
> @@ -14,7 +14,7 @@ if NET_VENDOR_CAVIUM
>
> config THUNDER_NIC_PF
> tristate "Thunder Physical function driver"
> - depends on 64BIT
> + depends on 64BIT && PCI
> select THUNDER_NIC_BGX
> ---help---
> This driver supports Thunder's NIC physical function.
> @@ -27,7 +27,7 @@ config THUNDER_NIC_PF
> config THUNDER_NIC_VF
> tristate "Thunder Virtual function driver"
> imply CAVIUM_PTP
> - depends on 64BIT
> + depends on 64BIT && PCI
> ---help---
> This driver supports Thunder's NIC virtual function
>
> @@ -35,7 +35,7 @@ config THUNDER_NIC_BGX
> tristate "Thunder MAC interface driver (BGX)"
> depends on 64BIT
> select PHYLIB
> - select MDIO_THUNDER
> + select MDIO_THUNDER if PCI
> select THUNDER_NIC_RGX
> ---help---
> This driver supports programming and controlling of MAC
I believe this hunk should look exactly as the previous one, i.e. 64BIT && PCI,
BGX itself depends on PCI as well. I've actually sent v2 to fix the above, but
got no reply on it up to now...
--
Best regards,
Alexander Sverdlin.
next prev parent reply other threads:[~2018-07-17 14:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-17 13:46 Arnd Bergmann
2018-07-17 14:31 ` Alexander Sverdlin [this message]
2018-07-17 16:00 ` Arnd Bergmann
2018-07-17 15:11 ` Andrew Lunn
2018-07-17 15:38 ` Alexander Sverdlin
2018-07-17 15:57 ` Andrew Lunn
2018-07-18 20:48 ` David Miller
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=f1cc2710-2bd5-4a55-1a40-67cb2f4e0798@nokia.com \
--to=alexander.sverdlin@nokia.com \
--cc=aleksey.makarov@cavium.com \
--cc=arnd@arndb.de \
--cc=davem@davemloft.net \
--cc=felix.manlunas@cavium.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=rad@semihalf.com \
--cc=sgoutham@cavium.com \
--cc=vijaya.guvva@cavium.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
all inboxes | Powered by JetHome®