diff options
author | Michael Zhivich <mzhivich@akamai.com> | 2019-04-08 22:00:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-09 02:37:40 +0300 |
commit | 7f301cff1fc20c5b91203c5e610cf95782081d5d (patch) | |
tree | 0c8331800a7b8ead2ccdd0924709b98e1d424587 /drivers/net/ethernet/realtek/r8169.c | |
parent | b7f29f8ce170c1b22779d62cbd24bf336ef0372b (diff) | |
download | linux-7f301cff1fc20c5b91203c5e610cf95782081d5d.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/realtek/r8169.c')
0 files changed, 0 insertions, 0 deletions