mdiobus_read(9)

mdiobus_read9

Convenience function for reading a given mii mgmt register

Usage

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

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.