mdiobus_write(9)

mdiobus_write9

Convenience function for writing a given mii mgmt register

Usage

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

Note

MUST NOT be called from interrupt context, because the bus read/write functions may wait for an interrupt to conclude the operation.

Releases

4 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0
  2. 7
  3. 8
  4. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.