tg3_readphy
err = tg3_readphy(tp, MII_PHYSID1, &hw_phy_id_1);
err |= tg3_readphy(tp, MII_PHYSID2, &hw_phy_id_2);
tg3_readphy(tp, MII_TG3_AUX_CTRL, &val);
err = tg3_readphy(tp, MII_BMCR, &phy_control);
tg3_readphy(tp, 0x16, &tmp32);
tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &low);
tg3_readphy(tp, MII_TG3_DSP_RW_PORT, &high);
tg3_readphy(tp, MII_TG3_EXT_CTRL, ®32);
tg3_readphy(tp, MII_TG3_CTRL, &phy9_orig);
tg3_readphy(tp, MII_TG3_EXT_CTRL, ®32);
err = tg3_readphy(tp, MII_BMSR, &phy_status);
err |= tg3_readphy(tp, MII_BMSR, &phy_status);
tg3_readphy(tp, MII_BMSR, &bmsr);
tg3_readphy(tp, MII_BMSR, &bmsr);
tg3_readphy(tp, MII_BMSR, &bmsr);
tg3_readphy(tp, MII_BMSR, &bmsr);
tg3_readphy(tp, MII_BMSR, &bmsr);
tg3_readphy(tp, MII_BMSR, &bmsr);
tg3_readphy(tp, MII_TG3_ISTAT, &dummy);
tg3_readphy(tp, MII_TG3_ISTAT, &dummy);
tg3_readphy(tp, MII_BMSR, &bmsr);
tg3_readphy(tp, MII_BMSR, &bmsr);
tg3_readphy(tp, MII_TG3_AUX_STAT, &aux_stat);
tg3_readphy(tp, MII_TG3_AUX_STAT, &aux_stat);
tg3_readphy(tp, MII_BMCR, &bmcr);
tg3_readphy(tp, MII_BMCR, &bmcr);
tg3_readphy(tp, MII_TG3_CTRL, &gig_ctrl);
tg3_readphy(tp, MII_ADVERTISE, &local_adv);
tg3_readphy(tp, MII_LPA, &remote_adv);
tg3_readphy(tp, MII_BMSR, &tmp);
tg3_readphy(tp, MII_BMSR, &tmp);