From: Linus Walleij <linus.walleij@linaro.org>
To: netdev@vger.kernel.org, "David S . Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>
Cc: Imre Kaloz <kaloz@openwrt.org>,
Krzysztof Halasa <khalasa@piap.pl>, Arnd Bergmann <arnd@arndb.de>,
Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH net-next 3/6 v2] ixp4xx_eth: enable compile testing
Date: Sat, 14 Aug 2021 00:00:08 +0200 [thread overview]
Message-ID: <20210813220011.921211-4-linus.walleij@linaro.org> (raw)
In-Reply-To: <20210813220011.921211-1-linus.walleij@linaro.org>
From: Arnd Bergmann <arnd@arndb.de>
The driver is now independent of machine specific header
files and should build on all architectures, so enable
building with CONFIG_COMPILE_TEST.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/net/ethernet/xscale/Kconfig | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/xscale/Kconfig b/drivers/net/ethernet/xscale/Kconfig
index 0e878fa6e322..b93e88422a13 100644
--- a/drivers/net/ethernet/xscale/Kconfig
+++ b/drivers/net/ethernet/xscale/Kconfig
@@ -6,8 +6,8 @@
config NET_VENDOR_XSCALE
bool "Intel XScale IXP devices"
default y
- depends on NET_VENDOR_INTEL && (ARM && ARCH_IXP4XX && \
- IXP4XX_NPE && IXP4XX_QMGR)
+ depends on NET_VENDOR_INTEL && IXP4XX_NPE && IXP4XX_QMGR
+ depends on ARCH_IXP4XX || COMPILE_TEST
help
If you have a network (Ethernet) card belonging to this class, say Y.
@@ -20,7 +20,8 @@ if NET_VENDOR_XSCALE
config IXP4XX_ETH
tristate "Intel IXP4xx Ethernet support"
- depends on ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR
+ depends on IXP4XX_NPE && IXP4XX_QMGR
+ depends on ARCH_IXP4XX || COMPILE_TEST
select PHYLIB
select OF_MDIO if OF
select NET_PTP_CLASSIFY
--
2.31.1
next prev parent reply other threads:[~2021-08-13 22:02 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-13 22:00 [PATCH net-next 0/6 v2] IXP46x PTP Timer clean-up and DT Linus Walleij
2021-08-13 22:00 ` [PATCH net-next 1/6 v2] ixp4xx_eth: make ptp support a platform driver Linus Walleij
2021-08-13 22:00 ` [PATCH net-next 2/6 v2] ixp4xx_eth: fix compile-testing Linus Walleij
2021-08-13 22:00 ` Linus Walleij [this message]
2021-08-13 22:55 ` [PATCH net-next 3/6 v2] ixp4xx_eth: enable compile testing Jakub Kicinski
2021-08-13 22:00 ` [PATCH net-next 4/6 v2] ixp4xx_eth: Stop referring to GPIOs Linus Walleij
2021-08-13 22:00 ` [PATCH net-next 5/6 v2] ixp4xx_eth: Add devicetree bindings Linus Walleij
2021-08-13 22:00 ` [PATCH net-next 6/6 v2] ixp4xx_eth: Probe the PTP module from the device tree Linus Walleij
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=20210813220011.921211-4-linus.walleij@linaro.org \
--to=linus.walleij@linaro.org \
--cc=arnd@arndb.de \
--cc=davem@davemloft.net \
--cc=kaloz@openwrt.org \
--cc=khalasa@piap.pl \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).