/* Description: Reduces the speed/duplex settings by one notch, in this order */
static void phy_force_reduction(struct phy_device *phydev)
/* Description: Reduces the speed/duplex settings by one notch, in this order */
static void phy_force_reduction(struct phy_device *phydev)
{
	int idx;
	idx = phy_find_setting(phydev->speed, phydev->duplex);
	idx++;
	idx = phy_find_valid(idx, phydev->supported);
	phydev->speed = settings[idx].speed;
	phydev->duplex = settings[idx].duplex;
	pr_info("Trying %d/%s\n", phydev->speed,
			DUPLEX_FULL == phydev->duplex ?
			"FULL" : "HALF");
}