Scroll to navigation

PHY_FIND_VALID(9) Network device support PHY_FIND_VALID(9)

NAME

phy_find_valid - find a PHY setting that matches the requested parameters

SYNOPSIS

const struct phy_setting * phy_find_valid(int speed, int duplex, u32 supported);

ARGUMENTS

int speed
desired speed

int duplex

desired duplex

u32 supported

mask of supported link modes

DESCRIPTION

Locate a supported phy setting that is, in priority order: - an exact match for the specified speed and duplex mode - a match for the specified speed, or slower speed - the slowest supported speed Returns the matched phy_setting entry, or NULL if no supported phy settings were found.

COPYRIGHT

September 2017 Kernel Hackers Manual 4.12