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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Oct 2022 11:39:39 +0000 (12:39 +0100)
commitcb4b12071a4b68df323c339f60805834246b3e9e
tree2e5f9c4e2a9067be67c110d6922bb7456c9e0595
parent9e6fd874c7bb47b6a4295abc4c81b2f41b97e970
eth: lan743x: reject extts for non-pci11x1x devices

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>
drivers/net/ethernet/microchip/lan743x_ptp.c