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	select COMMON_CLK_SP7021
27	select RESET_SUNPLUS
28	select NVMEM_SUNPLUS_OCOTP
29	help
30	  If you have Sunplus dual 10M/100M Ethernet devices, say Y.
31	  The network device creates two net-device interfaces.
32	  To compile this driver as a module, choose M here. The
33	  module will be called sp7021_emac.
34
35endif # NET_VENDOR_SUNPLUS
36