xref: /linux/drivers/net/ethernet/sunplus/Kconfig (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Sunplus network device configuration
4#
5
6config NET_VENDOR_SUNPLUS
7	bool "Sunplus devices"
8	default y
9	depends on ARCH_SUNPLUS || COMPILE_TEST
10	help
11	  If you have a network (Ethernet) card belonging to this
12	  class, say Y here.
13
14	  Note that the answer to this question doesn't directly
15	  affect the kernel: saying N will just cause the configurator
16	  to skip all the questions about Sunplus cards. If you say Y,
17	  you will be asked for your specific card in the following
18	  questions.
19
20if NET_VENDOR_SUNPLUS
21
22config SP7021_EMAC
23	tristate "Sunplus Dual 10M/100M Ethernet devices"
24	depends on SOC_SP7021 || COMPILE_TEST
25	select PHYLIB
26	help
27	  If you have Sunplus dual 10M/100M Ethernet devices, say Y.
28	  The network device creates two net-device interfaces.
29	  To compile this driver as a module, choose M here. The
30	  module will be called sp7021_emac.
31
32endif # NET_VENDOR_SUNPLUS
33