summaryrefslogtreecommitdiffstats
path: root/include/uapi/linux/ethtool.h
diff options
context:
space:
mode:
authorMichael Zhivich2019-04-08 21:00:46 +0200
committerDavid S. Miller2019-04-09 01:37:40 +0200
commit7f301cff1fc20c5b91203c5e610cf95782081d5d (patch)
tree0c8331800a7b8ead2ccdd0924709b98e1d424587 /include/uapi/linux/ethtool.h
parentnet: phy: fix setting autoneg_complete in genphy_update_link (diff)
downloadkernel-qcow2-linux-7f301cff1fc20c5b91203c5e610cf95782081d5d.tar.gz
kernel-qcow2-linux-7f301cff1fc20c5b91203c5e610cf95782081d5d.tar.xz
kernel-qcow2-linux-7f301cff1fc20c5b91203c5e610cf95782081d5d.zip
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 'include/uapi/linux/ethtool.h')
0 files changed, 0 insertions, 0 deletions