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