mdio_write
Name
mdio_write -- write MII PHY register
Synopsis
void mdio_write
(struct net_device * net_dev, int phy_id, int location, int value);
Arguments
- net_dev
the net device to write
- phy_id
the phy address to write
- location
the phy regiester id to write
- value
the register value to write with
Description
Write MII registers with value through MDIO and MDC
using MDIO management frame structure and protocol(defined by ISO/IEC)
please see SiS7014 or ICS spec