ar71xx: only enable the rx engine after the link is up, fixes a race condition that...
[openwrt.git] / target / linux / ar71xx / files / drivers / net / ag71xx / Makefile
index 37c98d2..b3ec408 100644 (file)
@@ -2,6 +2,14 @@
 # Makefile for the Atheros AR71xx built-in ethernet macs
 #
 
+ag71xx-y       += ag71xx_main.o
+ag71xx-y       += ag71xx_ethtool.o
+ag71xx-y       += ag71xx_phy.o
+ag71xx-y       += ag71xx_mdio.o
+ag71xx-y       += ag71xx_ar7240.o
+
+ag71xx-$(CONFIG_AG71XX_DEBUG_FS)       += ag71xx_debugfs.o
+ag71xx-$(CONFIG_AG71XX_AR8216_SUPPORT) += ag71xx_ar8216.o
+
 obj-$(CONFIG_AG71XX)   += ag71xx.o
 
-ag71xx-objs    := ag71xx_main.o ag71xx_ethtool.o ag71xx_phy.o ag71xx_mdio.o