Check if there is a valid phy setting which matches speed, duplex, and feature mask
bool phy_check_valid(int speed, int duplex, u32 features);
speed
speed to match
duplex
duplex to match
features
A mask of the valid settings
Returns true if there is a valid setting, false otherwise.