Query: phy_read_mmd_indirect
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PHY_READ_MMD_INDIREC(9) Network device support PHY_READ_MMD_INDIREC(9)NAMEphy_read_mmd_indirect - reads data from the MMD registersSYNOPSISint phy_read_mmd_indirect(struct mii_bus * bus, int prtad, int devad, int addr);ARGUMENTSbus the target MII bus prtad MMD Address devad MMD DEVAD addr PHY address on the MII busDESCRIPTIONit reads data from the MMD registers (clause 22 to access to clause 45) of the specified phy address.TO READ THESE REGISTER WE HAVE1) Write reg 13 // DEVAD 2) Write reg 14 // MMD Address 3) Write reg 13 // MMD Data Command for MMD DEVAD 3) Read reg 14 // Read MMD dataCOPYRIGHTKernel Hackers Manual 3.10 June 2014 PHY_READ_MMD_INDIREC(9)