Name

__mdiobus_read — Unlocked version of the mdiobus_read function

Synopsis

int __mdiobus_read (struct mii_bus * bus,
 int addr,
 u32 regnum);
 

Arguments

bus

the mii_bus struct

addr

the phy address

regnum

register number to read

Description

Read a MDIO bus register. Caller must hold the mdio bus lock.

NOTE

MUST NOT be called from interrupt context.