]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: ti: cpsw: Enable PHY timestamping
authorKurt Kanzenbach <kurt@linutronix.de>
Tue, 16 Nov 2021 08:03:25 +0000 (09:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Nov 2021 14:34:33 +0000 (14:34 +0000)
commite16b5804dcd6299ba4453376d7f21ecf07bb5101
tree29d1fda262cba3271facfc922f58386325ba1282
parentca34748f12bf76daef423a4e0cb804921597c608
net: ethernet: ti: cpsw: Enable PHY timestamping

If the used PHYs also support hardware timestamping, all configuration requests
should be forwared to the PHYs instead of being processed by the MAC driver
itself.

This enables PHY timestamping in combination with the cpsw driver.

Tested with an am335x based board with two DP83640 PHYs connected to the cpsw
switch.

Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw_priv.c