Name

mdio_read — read MII PHY register

Synopsis

int mdio_read (struct net_device *  net_dev,
 int  phy_id,
 int  location);

Arguments

net_dev

the net device to read

phy_id

the phy address to read

location

the phy regiester id to read

Description

Read MII registers through MDIO and MDC using MDIO management frame structure and protocol(defined by ISO/IEC). Please see SiS7014 or ICS spec