Searched hist:"7 f301cff" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 7f301cff Mon Apr 08 14:00:46 CDT 2019 Michael Zhivich <mzhivich@akamai.com> ethtool: thunder_bgx: use ethtool.h constants for speed and duplex
Use constants provided by ethtool.h for speed and duplex values instead of raw integer constants to increase code readability.
thunder_bgx already uses SPEED_UNKNOWN and DUPLEX_UNKNOWN constants, also provided by ethtool.h.
Signed-off-by: Michael Zhivich <mzhivich@akamai.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net> 7f301cff Mon Apr 08 14:00:46 CDT 2019 Michael Zhivich <mzhivich@akamai.com> ethtool: thunder_bgx: use ethtool.h constants for speed and duplex Use constants provided by ethtool.h for speed and duplex values instead of raw integer constants to increase code readability. thunder_bgx already uses SPEED_UNKNOWN and DUPLEX_UNKNOWN constants, also provided by ethtool.h. Signed-off-by: Michael Zhivich <mzhivich@akamai.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
|