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

NAME

6       phy_write_mmd_indirect - writes data to the MMD registers
7

SYNOPSIS

9       void phy_write_mmd_indirect(struct mii_bus * bus, int prtad, int devad,
10                                   int addr, u32 data);
11

ARGUMENTS

13       bus
14           the target MII bus
15
16       prtad
17           MMD Address
18
19       devad
20           MMD DEVAD
21
22       addr
23           PHY address on the MII bus
24
25       data
26           data to write in the MMD register
27

DESCRIPTION

29       Write data from the MMD registers of the specified phy address.
30

TO WRITE THESE REGISTER WE HAVE

32       1) Write reg 13 // DEVAD 2) Write reg 14 // MMD Address 3) Write reg 13
33       // MMD Data Command for MMD DEVAD 3) Write reg 14 // Write MMD data
34
36Kernel Hackers Manual 2.6.         June 2019           PHY_WRITE_MMD_INDIRE(9)
Impressum