Home
last modified time | relevance | path

Searched hist:"8 c5e850c0ce597cf5934beba8b55f7651d2cd6da" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/phy/
H A Dphy-core.cdiff 8c5e850c0ce597cf5934beba8b55f7651d2cd6da Fri Dec 29 06:46:38 CST 2017 Russell King <rmk+kernel@armlinux.org.uk> 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>
/openbmc/linux/include/linux/
H A Dphy.hdiff 8c5e850c0ce597cf5934beba8b55f7651d2cd6da Fri Dec 29 06:46:38 CST 2017 Russell King <rmk+kernel@armlinux.org.uk> 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>