[PATCH] PHY Layer fixup
This patch adds back the code that was taken out, thus re-enabling:
* The PHY Layer to initialize without crashing
* Drivers to actually connect to PHYs
* The entire PHY Control Layer
This patch is used by the gianfar driver, and other drivers which are in
development.
Signed-off-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile
index fb7cb385..e4116a5 100644
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
@@ -2,8 +2,9 @@
libphy-objs := phy.o phy_device.o mdio_bus.o
-obj-$(CONFIG_MARVELL_PHY) += libphy.o marvell.o
-obj-$(CONFIG_DAVICOM_PHY) += libphy.o davicom.o
-obj-$(CONFIG_CICADA_PHY) += libphy.o cicada.o
-obj-$(CONFIG_LXT_PHY) += libphy.o lxt.o
-obj-$(CONFIG_QSEMI_PHY) += libphy.o qsemi.o
+obj-$(CONFIG_PHYLIB) += libphy.o
+obj-$(CONFIG_MARVELL_PHY) += marvell.o
+obj-$(CONFIG_DAVICOM_PHY) += davicom.o
+obj-$(CONFIG_CICADA_PHY) += cicada.o
+obj-$(CONFIG_LXT_PHY) += lxt.o
+obj-$(CONFIG_QSEMI_PHY) += qsemi.o