other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
MDIOBUS_WRITE(9) | Network device support | MDIOBUS_WRITE(9) |
NAME¶
mdiobus_write - Convenience function for writing a given MII mgmt registerSYNOPSIS¶
int
mdiobus_write(struct mii_bus * bus,
int addr, u32 regnum,
u16 val);
ARGUMENTS¶
busthe 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.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |