net: emaclite: adding MDIO and phy lib support
authorJohn Linn <john.linn@xilinx.com>
Tue, 16 Feb 2010 05:51:00 +0000 (21:51 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2010 05:51:00 +0000 (21:51 -0800)
commit5cdaaa12866e916d0ada8b56c5f0e543cfc7fe3d
tree6f48329f17feb151315470cb6706a05c102bb6ae
parenta9288525d2aed806c1b8a785c226d4a9e6371650
net: emaclite: adding MDIO and phy lib support

These changes add MDIO and phy lib support to the driver as the
IP core now supports the MDIO bus.

The MDIO bus and phy are added as a child to the emaclite in the device
tree as illustrated below.

mdio {
#address-cells = <1>;
#size-cells = <0>;
phy0: phy@7 {
compatible = "marvell,88e1111";
reg = <7>;
} ;
}

Signed-off-by: Sadanand Mutyala <Sadanand.Mutyala@xilinx.com>
Signed-off-by: John Linn <john.linn@xilinx.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig
drivers/net/xilinx_emaclite.c