Commit 7958ba7e authored by Andrew Lunn's avatar Andrew Lunn Committed by Jakub Kicinski

drivers: net: smsc: Add COMPILE_TEST support

Improve the build testing of these SMSC drivers by enabling them when
COMPILE_TEST is selected.
Signed-off-by: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 6e4a930c
...@@ -8,7 +8,7 @@ config NET_VENDOR_SMSC ...@@ -8,7 +8,7 @@ config NET_VENDOR_SMSC
default y default y
depends on ARM || ARM64 || ATARI_ETHERNAT || COLDFIRE || \ depends on ARM || ARM64 || ATARI_ETHERNAT || COLDFIRE || \
ISA || MAC || MIPS || NIOS2 || PCI || \ ISA || MAC || MIPS || NIOS2 || PCI || \
PCMCIA || SUPERH || XTENSA || H8300 PCMCIA || SUPERH || XTENSA || H8300 || COMPILE_TEST
help help
If you have a network (Ethernet) card belonging to this class, say Y. If you have a network (Ethernet) card belonging to this class, say Y.
...@@ -39,7 +39,7 @@ config SMC91X ...@@ -39,7 +39,7 @@ config SMC91X
select MII select MII
depends on !OF || GPIOLIB depends on !OF || GPIOLIB
depends on ARM || ARM64 || ATARI_ETHERNAT || COLDFIRE || \ depends on ARM || ARM64 || ATARI_ETHERNAT || COLDFIRE || \
MIPS || NIOS2 || SUPERH || XTENSA || H8300 MIPS || NIOS2 || SUPERH || XTENSA || H8300 || COMPILE_TEST
help help
This is a driver for SMC's 91x series of Ethernet chipsets, This is a driver for SMC's 91x series of Ethernet chipsets,
including the SMC91C94 and the SMC91C111. Say Y if you want it including the SMC91C94 and the SMC91C111. Say Y if you want it
...@@ -78,7 +78,7 @@ config SMC911X ...@@ -78,7 +78,7 @@ config SMC911X
tristate "SMSC LAN911[5678] support" tristate "SMSC LAN911[5678] support"
select CRC32 select CRC32
select MII select MII
depends on (ARM || SUPERH) depends on (ARM || SUPERH || COMPILE_TEST)
help help
This is a driver for SMSC's LAN911x series of Ethernet chipsets This is a driver for SMSC's LAN911x series of Ethernet chipsets
including the new LAN9115, LAN9116, LAN9117, and LAN9118. including the new LAN9115, LAN9116, LAN9117, and LAN9118.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment