OSDN Git Service

net: mdio: of: Register discovered MII time stampers.
authorRichard Cochran <richardcochran@gmail.com>
Thu, 26 Dec 2019 02:16:18 +0000 (18:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2019 03:51:33 +0000 (19:51 -0800)
commit1dca22b1842136f57e9bd60fefd1715c22ff1874
tree5e8f379e9899a8f1c4fe46414bf8ebff8695faf8
parent25d12e1dde28fafd2ac37afadd24252fa19b80cd
net: mdio: of: Register discovered MII time stampers.

When parsing a PHY node, register its time stamper, if any, and attach
the instance to the PHY device.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c
drivers/of/of_mdio.c