1MDIOBUS_WRITE(9)            Network device support            MDIOBUS_WRITE(9)
2
3
4

NAME

6       mdiobus_write - Convenience function for writing a given MII mgmt
7       register
8

SYNOPSIS

10       int mdiobus_write(struct mii_bus * bus, int addr, u32 regnum, u16 val);
11

ARGUMENTS

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

NOTE

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.       November 2011                MDIOBUS_WRITE(9)
Impressum