mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 10:33:41 +02:00
net: phy: improve rgmii_clock() documentation
Improve the rgmii_clock() documentation to indicate that it can also be used for MII, GMII and RMII modes as well as RGMII as the required clock rates are identical, but note that it won't error out for 1G speeds for MII and RMII. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/E1uPjjk-0049pI-MD@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
b776999bf2
commit
91695b8592
|
|
@ -269,8 +269,10 @@ static inline const char *phy_modes(phy_interface_t interface)
|
|||
* rgmii_clock - map link speed to the clock rate
|
||||
* @speed: link speed value
|
||||
*
|
||||
* Description: maps RGMII supported link speeds
|
||||
* into the clock rates.
|
||||
* Description: maps RGMII supported link speeds into the clock rates.
|
||||
* This can also be used for MII, GMII, and RMII interface modes as the
|
||||
* clock rates are indentical, but the caller must be aware that errors
|
||||
* for unsupported clock rates will not be signalled.
|
||||
*
|
||||
* Returns: clock rate or negative errno
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user