phy_check_valid(9)
phy_check_valid – check if there is a valid PHY setting which matches speed, duplex, and feature mask
Synopsis
bool phy_check_valid(intspeed, intduplex, u32features);
Arguments
speed
- speed to match
duplex
- duplex to match
features
- A mask of the valid settings
Description
Returns true if there is a valid setting, false otherwise.