table of contents
other versions
- stretch 4.9.168-1
__MDIOBUS_REGISTER(9) | Network device support | __MDIOBUS_REGISTER(9) |
NAME¶
__mdiobus_register - bring up all the PHYs on a given bus and attach them to busSYNOPSIS¶
int __mdiobus_register(struct mii_bus * bus, struct module * owner);
ARGUMENTS¶
bustarget mii_bus
owner
module containing bus accessor functions
DESCRIPTION¶
Called by a bus driver to bring up all the PHYs on a given bus, and attach them to the bus. Drivers should use mdiobus_register rather than __mdiobus_register unless they need to pass a specific owner module. MDIO devices which are not PHYs will not be brought up by this function. They are expected to to be explicitly listed in DT and instantiated by of_mdiobus_register.Returns 0 on success or < 0 on error.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |