]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit0e5dafc8a6e540c0145b61545c557c43be70af10
tree3d7868f71612001d60449009f3e17a16dbbc7e35
parent9f6cff995e98258b6b81cc864532f633e5b3a081
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