/* "Ethernet@Wirespeed" needs to be enabled to achieve link in certain circumstances. eg a gigabit TSEC connected to a gigabit switch with a 4-wire ethernet cable. Both ends advertise gigabit, but can't link. "Ethernet@Wirespeed" reduces advertised speed until link can be achieved.  */
static uint mii_BCM54xx_wirespeed(uint mii_reg, struct tsec_private *priv)
/* "Ethernet@Wirespeed" needs to be enabled to achieve link in certain circumstances. eg a gigabit TSEC connected to a gigabit switch with a 4-wire ethernet cable. Both ends advertise gigabit, but can't link. "Ethernet@Wirespeed" reduces advertised speed until link can be achieved.  */
static uint mii_BCM54xx_wirespeed(uint mii_reg, struct tsec_private *priv)
{
	return (read_phy_reg(priv, mii_reg) & 0x8FFF) | 0x8010;
}