xref: /OK3568_Linux_fs/kernel/drivers/net/ethernet/allwinner/Kconfig (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# Allwinner device configuration
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun
6*4882a593Smuzhiyunconfig NET_VENDOR_ALLWINNER
7*4882a593Smuzhiyun	bool "Allwinner devices"
8*4882a593Smuzhiyun	default y
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun	depends on ARCH_SUNXI
11*4882a593Smuzhiyun	help
12*4882a593Smuzhiyun	  If you have a network (Ethernet) card belonging to this
13*4882a593Smuzhiyun	  class, say Y here.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun	  Note that the answer to this question doesn't directly
16*4882a593Smuzhiyun	  affect the kernel: saying N will just cause the configurator
17*4882a593Smuzhiyun	  to skip all the questions about Allwinner cards. If you say Y,
18*4882a593Smuzhiyun	  you will be asked for your specific card in the following
19*4882a593Smuzhiyun	  questions.
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunif NET_VENDOR_ALLWINNER
22*4882a593Smuzhiyun
23*4882a593Smuzhiyunconfig SUN4I_EMAC
24*4882a593Smuzhiyun	tristate "Allwinner A10 EMAC support"
25*4882a593Smuzhiyun	depends on ARCH_SUNXI
26*4882a593Smuzhiyun	depends on OF
27*4882a593Smuzhiyun	select CRC32
28*4882a593Smuzhiyun	select MII
29*4882a593Smuzhiyun	select PHYLIB
30*4882a593Smuzhiyun	select MDIO_SUN4I
31*4882a593Smuzhiyun	help
32*4882a593Smuzhiyun	  Support for Allwinner A10 EMAC ethernet driver.
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun	  To compile this driver as a module, choose M here.  The module
35*4882a593Smuzhiyun	  will be called sun4i-emac.
36*4882a593Smuzhiyun
37*4882a593Smuzhiyunendif # NET_VENDOR_ALLWINNER
38