]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
eth: lan743x: reject extts for non-pci11x1x devices
authorRaju Lakkaraju <Raju.Lakkaraju@microchip.com>
Fri, 30 Sep 2022 09:27:40 +0000 (14:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Oct 2022 07:57:15 +0000 (09:57 +0200)
commitd06ee1cbffc6a84ef28a65beec1a2c19b830c77a
tree857c94f5fc487d71b23841631071e35f36b25315
parent49c1729b5563c21ad91d6f794881465ef86e0f46
eth: lan743x: reject extts for non-pci11x1x devices

[ Upstream commit cb4b12071a4b68df323c339f60805834246b3e9e ]

Remove PTP_PF_EXTTS support for non-PCI11x1x devices since they do not support
the PTP-IO Input event triggered timestamping mechanisms added

Fixes: 60942c397af6 ("net: lan743x: Add support for PTP-IO Event Input External Timestamp (extts)")
Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microchip.com>
Reviewed-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/microchip/lan743x_ptp.c