commit | c44d05358ebfd24d51dad9b2291731df5a11ba62 | [log] [tgz] |
---|---|---|
author | Vladimir Oltean <olteanv@gmail.com> | Sat Jun 08 16:03:41 2019 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sun Jun 09 19:58:58 2019 -0700 |
tree | 579111f4ba9dfcfa08e0ad4afde7de15d8585586 | |
parent | de47c5d8e11dda678e4354eeb4235e58e92f7cd2 [diff] |
net: dsa: sja1105: Use SPEED_{10, 100, 1000, UNKNOWN} macros This is a cosmetic patch that replaces the link speed numbers used in the driver with the corresponding ethtool macros. Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Suggested-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>