/* This is the mii register read function provided to the mii interface.  */
static int amd8111e_mdio_read(struct net_device *dev, int phy_id, int reg_num)
/* This is the mii register read function provided to the mii interface.  */
static int amd8111e_mdio_read(struct net_device *dev, int phy_id, int reg_num)
{
	struct amd8111e_priv* lp = netdev_priv(dev);
	unsigned int reg_val;
	amd8111e_read_phy(lp,phy_id,reg_num,&reg_val);
	return reg_val;
}