/* "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 u32 bcm5482_read_wirespeed(struct phy_device *phydev, u32 reg)
/* "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 u32 bcm5482_read_wirespeed(struct phy_device *phydev, u32 reg)
{
	return (phy_read(phydev, MDIO_DEVAD_NONE, reg) & 0x8FFF) | 0x8010;
}