Name
__mdiobus_write —
Unlocked version of the mdiobus_write function
Synopsis
int __mdiobus_write ( | struct mii_bus * bus, |
| int addr, |
| u32 regnum, |
| u16 val) ; |
Arguments
bus
the mii_bus struct
addr
the phy address
regnum
register number to write
val
value to write to regnum
Description
Write a MDIO bus register. Caller must hold the mdio bus lock.
NOTE
MUST NOT be called from interrupt context.