12 #include <linux/kernel.h>
13 #include <linux/module.h>
14 #include <linux/netdevice.h>
17 #include <linux/slab.h>
60 return mpc52xx_fec_mdio_transfer(bus, phy_id, reg,
73 bus = mdiobus_alloc();
82 bus->
name =
"mpc52xx MII bus";
83 bus->
read = mpc52xx_fec_mdio_read;
84 bus->
write = mpc52xx_fec_mdio_write;
140 { .compatible =
"fsl,mpc5200b-mdio", },
141 { .compatible =
"fsl,mpc5200-mdio", },
142 { .compatible =
"mpc5200b-fec-phy", },
149 .name =
"mpc5200b-fec-phy",
151 .of_match_table = mpc52xx_fec_mdio_match,
153 .probe = mpc52xx_fec_mdio_probe,
154 .remove = mpc52xx_fec_mdio_remove,