]> asedeno.scripts.mit.edu Git - linux.git/commit
net: Introduce a new MII time stamping interface.
authorRichard Cochran <richardcochran@gmail.com>
Thu, 26 Dec 2019 02:16:15 +0000 (18:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Dec 2019 03:51:33 +0000 (19:51 -0800)
commit4715f65ffa0520af0680dbfbedbe349f175adaf4
treea9723490345512b0883ab8a6c950389f62baf41e
parent12d0efb9e6d90e6ff5c94e46d1ea273a41e36454
net: Introduce a new MII time stamping interface.

Currently the stack supports time stamping in PHY devices.  However,
there are newer, non-PHY devices that can snoop an MII bus and provide
time stamps.  In order to support such devices, this patch introduces
a new interface to be used by both PHY and non-PHY devices.

In addition, the one and only user of the old PHY time stamping API is
converted to the new interface.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83640.c
drivers/net/phy/phy.c
drivers/net/phy/phy_device.c
include/linux/mii_timestamper.h [new file with mode: 0644]
include/linux/phy.h
net/core/timestamping.c