summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/oki-semi
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2017-04-05 12:28:45 +1000
committerDavid S. Miller <davem@davemloft.net>2017-04-06 12:38:04 -0700
commit51764777354664b20963359ad3b78e564d14e1a5 (patch)
tree01ab3f62d26708f4b406284c18082f4712708624 /drivers/net/ethernet/oki-semi
parent8396e1cb0b9f7505b0cd56e26df35279cb3bc1cb (diff)
ftgmac100: Cleanup speed/duplex tracking and fix duplex config
Keep track of both the current speed and duplex settings instead of only speed and properly apply the duplex setting to the HW. This reworks the adjust_link() function to also avoid trying to reconfigure the HW when there is no link and to display the link state to the user. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/oki-semi')
0 files changed, 0 insertions, 0 deletions