__mdiobus_register
Prev | PHY Support | Next

## Name

__mdiobus_register — bring up all the PHYs on a given bus and attach them to bus

## Synopsis

`int __mdiobus_register (` | struct mii_bus * bus,
| struct module * owner`)`;

## Arguments

`bus`

  target 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.

Returns 0 on success or < 0 on error.

Prev | Up | Next
of_mdio_find_bus | Home | mdiobus_free