1MDIOBUS_WRITE(9) Network device support MDIOBUS_WRITE(9)
2
3
4
6 mdiobus_write - Convenience function for writing a given MII mgmt
7 register
8
10 int mdiobus_write(struct mii_bus * bus, int addr, u16 regnum, u16 val);
11
13 bus
14 the mii_bus struct
15
16 addr
17 the phy address
18
19 regnum
20 register number to write
21
22 val
23 value to write to regnum
24
26 MUST NOT be called from interrupt context, because the bus read/write
27 functions may wait for an interrupt to conclude the operation.
28
30Kernel Hackers Manual 2.6. June 2019 MDIOBUS_WRITE(9)