]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: Introduce helper functions for time stamping support.
authorRichard Cochran <richardcochran@gmail.com>
Thu, 26 Dec 2019 02:16:09 +0000 (18:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2019 03:51:33 +0000 (19:51 -0800)
commit1be0db714b5ed44620b464db285c05eb4ab4f875
tree3d7868f71612001d60449009f3e17a16dbbc7e35
parentc8d8bf925eff32f454e9334a94e00c89b2f1f004
net: phy: Introduce helper functions for time stamping support.

Some parts of the networking stack and at least one driver test fields
within the 'struct phy_device' in order to query time stamping
capabilities and to invoke time stamping methods.  This patch adds a
functional interface around the time stamping fields.  This will allow
insulating the callers from future changes to the details of the time
stamping implemenation.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy.h