Commit ca816d98 authored by Committed by David S. Miller
net: Rework mpc5200 fec driver to use of_mdio infrastructure.
The patch reworks the MPC5200 Fast Ethernet Controller (FEC) driver to use the of_mdio infrastructure for registering PHY devices from data out openfirmware device tree, and eliminates the assumption that the PHY for the FEC is always attached to the FEC's own MDIO bus. With this patch, the FEC can use a PHY attached to any MDIO bus if it is described in the device tree. Tested on Freescale Lite5200b eval board Signed-off-by: Grant Likely <email@example.com> Acked-by: Andy Fleming <firstname.lastname@example.org> Signed-off-by: David S. Miller <email@example.com>
Showing with 59 additions and 147 deletions