Name

of_mdiobus_register — Register mii_bus and create PHYs from the device tree

Synopsis

int of_mdiobus_register (struct mii_bus * mdio,
 struct device_node * np);
 

Arguments

mdio

Pointer to mii_bus structure

np

Pointer to device_node of MDIO bus

Description

Register the mii_bus structure and registers a phy_device for each child node of np.

Return

zzz