---
name: "mdiobus_register"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mdiobus_register"
---

# mdiobus\_register(9)

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

## 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***);**

## ARGUMENTS

*bus*

target mii\_bus

## DESCRIPTION

Called by a bus driver to bring up all the PHYs on a given bus, and attach them to the bus.

Returns 0 on success or \< 0 on error.

## COPYRIGHT
