PHY_SANITIZE_SETTING(9) Network device support PHY_SANITIZE_SETTING(9)NAMEphy_sanitize_settings - make sure the PHY is set to supported speed and
duplex
SYNOPSIS
void phy_sanitize_settings(struct phy_device * phydev);
ARGUMENTS
phydev
the target phy_device struct
DESCRIPTION
Make sure the PHY is set to supported speeds and duplexes. Drop down by
one in this order: 1000/FULL, 1000/HALF, 100/FULL, 100/HALF, 10/FULL,
10/HALF.
COPYRIGHTKernel Hackers Manual 3.11 November 2013 PHY_SANITIZE_SETTING(9)