lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251005204946.2150340-1-pbrobinson@gmail.com>
Date: Sun,  5 Oct 2025 21:49:42 +0100
From: Peter Robinson <pbrobinson@...il.com>
To: Richard Cochran <richardcochran@...il.com>,
	Andrew Lunn <andrew+netdev@...n.ch>,
	"David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>,
	Jakub Kicinski <kuba@...nel.org>,
	Paolo Abeni <pabeni@...hat.com>,
	Frank Li <Frank.Li@....com>,
	Wei Fang <wei.fang@....com>,
	netdev@...r.kernel.org
Cc: Peter Robinson <pbrobinson@...il.com>
Subject: [PATCH] ptp: netc: Add dependency on NXP_ENETC4

The NETC V4 Timer PTP IP works with the associated NIC
so depend on it, plus compile test, and default it on if
the NIC is enabled similar to the other PTP modules.

Fixes: 87a201d59963e ("ptp: netc: add NETC V4 Timer PTP driver support")
Signed-off-by: Peter Robinson <pbrobinson@...il.com>
---
 drivers/ptp/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
index 5f8ea34d11d6d..a5542751216d6 100644
--- a/drivers/ptp/Kconfig
+++ b/drivers/ptp/Kconfig
@@ -255,6 +255,8 @@ config PTP_S390
 
 config PTP_NETC_V4_TIMER
 	tristate "NXP NETC V4 Timer PTP Driver"
+	depends on NXP_ENETC4 || COMPILE_TEST
+	default y if NXP_ENETC4
 	depends on PTP_1588_CLOCK
 	depends on PCI_MSI
 	help
-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ