All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] ptp: ocp: add EEPROM_AT24 dependency
@ 2022-06-23 23:31 Vadim Fedorenko
  2022-06-23 23:53 ` Jonathan Lemon
  0 siblings, 1 reply; 4+ messages in thread
From: Vadim Fedorenko @ 2022-06-23 23:31 UTC (permalink / raw)
  To: Jakub Kicinski, Jonathan Lemon; +Cc: Vadim Fedorenko, netdev

Various information which is provided via devlink is stored in
EEPROM and is not accessible unless at24 eeprom is supported.

Fixes: 773bda964921 ("ptp: ocp: Expose various resources on the timecard.")
Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru>
---
 drivers/ptp/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
index 458218f88c5e..c86be47e69ed 100644
--- a/drivers/ptp/Kconfig
+++ b/drivers/ptp/Kconfig
@@ -171,7 +171,7 @@ config PTP_1588_CLOCK_OCP
 	tristate "OpenCompute TimeCard as PTP clock"
 	depends on PTP_1588_CLOCK
 	depends on HAS_IOMEM && PCI
-	depends on I2C && MTD
+	depends on I2C && EEPROM_AT24 && MTD
 	depends on SERIAL_8250
 	depends on !S390
 	depends on COMMON_CLK
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-25 20:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-23 23:31 [PATCH net] ptp: ocp: add EEPROM_AT24 dependency Vadim Fedorenko
2022-06-23 23:53 ` Jonathan Lemon
2022-06-25  5:45   ` Jakub Kicinski
2022-06-25 20:36     ` Jonathan Lemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.