1# SPDX-License-Identifier: GPL-2.0-only 2menu "Emac Drivers" 3 depends on AW_BSP 4 5config AW_EMAC 6 tristate "Allwinner EMAC support" 7 depends on OF 8 depends on AW_EMAC_MDIO 9 select CRC32 10 select MII 11 select PHYLIB 12 help 13 Support for Allwinner Gigabit ethernet driver. 14 15 To compile this driver as a module, choose M here. The module 16 will be called sunxi-emac.ko. 17 18config AW_EMAC_MDIO 19 bool "Allwinner EMAC mdio support" 20 depends on OF 21 select MDIO_BUS 22 select MDIO_DEVICE 23 select NETDEVICES 24 select PHYLIB 25 default y 26 help 27 Support for Allwinner EMAC mdio driver 28 29endmenu 30