diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-12-29 15:46:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-02 23:00:50 +0300 |
commit | 8c5e850c0ce597cf5934beba8b55f7651d2cd6da (patch) | |
tree | b0c6bc880e95cbf7cf3a59466b18e6838cc687b3 /.gitignore | |
parent | 36c4449a949c47ca152901758ee3c6175df35231 (diff) | |
download | linux-8c5e850c0ce597cf5934beba8b55f7651d2cd6da.tar.xz |
net: phy: add helper to convert negotiation result to phy settings
Add a helper to convert the result of the autonegotiation advertisment
into the PHYs speed and duplex settings. If the result is full duplex,
also extract the pause mode settings from the link partner advertisment.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions