]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: sja1105: Use SPEED_{10, 100, 1000, UNKNOWN} macros
authorVladimir Oltean <olteanv@gmail.com>
Sat, 8 Jun 2019 13:03:41 +0000 (16:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jun 2019 02:58:58 +0000 (19:58 -0700)
commitc4d5eb6327fab2ee9d6765d8892bd2c4de471344
tree579111f4ba9dfcfa08e0ad4afde7de15d8585586
parent9fb7185fb9b7ec7d7674824c9eeee511605b5acf
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>
drivers/net/dsa/sja1105/sja1105_main.c