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