mbox series

[net,0/2] Fix link speed handling for SJA1105 DSA driver

Message ID 20190601103735.27506-1-olteanv@gmail.com
Headers show
Series Fix link speed handling for SJA1105 DSA driver | expand

Message

Vladimir Oltean June 1, 2019, 10:37 a.m. UTC
This patchset fixes two bugs in the logic handling of the enum
sja1105_speed_t which caused link speeds of 10 and 100 Mbps to not be
interpreted correctly and thus not be applied to the switch MACs.

Vladimir Oltean (2):
  net: dsa: sja1105: Force a negative value for enum sja1105_speed_t
  net: dsa: sja1105: Fix link speed not working at 100 Mbps and below

 drivers/net/dsa/sja1105/sja1105.h      | 1 +
 drivers/net/dsa/sja1105/sja1105_main.c | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)