Skip to contentSkip to conversation

mlx4_en: Select PTP_1588_CLOCK

PATCH In review Shawn Bohrer 2 participants 3 messages Jan 7, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mlx4_en: Select PTP_1588_CLOCK

From: Shawn Bohrer <[email protected]>

Now that mlx4_en includes a PHC driver it must select PTP_1588_CLOCK.

drivers/built-in.o: In function `mlx4_en_get_ts_info':

Quoted 1 line
Quoted 1 line

en_ethtool.c:(.text+0x391a11): undefined reference to `ptp_clock_index'

drivers/built-in.o: In function `mlx4_en_remove_timestamp':

Quoted 1 line
Quoted 1 line

(.text+0x397913): undefined reference to `ptp_clock_unregister'

drivers/built-in.o: In function `mlx4_en_init_timestamp':

Quoted 1 line
Quoted 1 line

(.text+0x397b20): undefined reference to `ptp_clock_register'

Fixes ad7d4eaed995d ("mlx4_en: Add PTP hardware clock")
---
 drivers/net/ethernet/mellanox/mlx4/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/net/ethernet/mellanox/mlx4/Kconfig +1 -0
index eb520ab..563495d 100644
@@ -6,6 +6,7 @@ config MLX4_EN
 	tristate "Mellanox Technologies 10Gbit Ethernet support"
 	depends on PCI
 	select MLX4_CORE
+	select PTP_1588_CLOCK
 	---help---
 	  This driver supports Mellanox Technologies ConnectX Ethernet
 	  devices.
Signature · 1 line
1.7.7.6
#1 lore raw
Quoted 5 lines · Shawn Bohrer

From: Shawn Bohrer <[email protected]>

Now that mlx4_en includes a PHC driver it must select PTP_1588_CLOCK.

drivers/built-in.o: In function `mlx4_en_get_ts_info':

Quoted 8 lines
Quoted 1 line
Quoted 1 line

en_ethtool.c:(.text+0x391a11): undefined reference to `ptp_clock_index'

drivers/built-in.o: In function `mlx4_en_remove_timestamp':

Quoted 1 line
Quoted 1 line

(.text+0x397913): undefined reference to `ptp_clock_unregister'

drivers/built-in.o: In function `mlx4_en_init_timestamp':

Quoted 1 line
Quoted 1 line

(.text+0x397b20): undefined reference to `ptp_clock_register'

Fixes ad7d4eaed995d ("mlx4_en: Add PTP hardware clock")

Sorry forgot to add this is against net-next.

--
Shawn

maintainer
#2 lore raw
In reply to Shawn Bohrer

From: Shawn Bohrer <[email protected]>
Date: Tue, 7 Jan 2014 12:49:17 -0600

Quoted 5 lines

From: Shawn Bohrer <[email protected]>

Now that mlx4_en includes a PHC driver it must select PTP_1588_CLOCK.

drivers/built-in.o: In function `mlx4_en_get_ts_info':

Quoted 8 lines
Quoted 1 line
Quoted 1 line

en_ethtool.c:(.text+0x391a11): undefined reference to `ptp_clock_index'

drivers/built-in.o: In function `mlx4_en_remove_timestamp':

Quoted 1 line
Quoted 1 line

(.text+0x397913): undefined reference to `ptp_clock_unregister'

drivers/built-in.o: In function `mlx4_en_init_timestamp':

Quoted 1 line
Quoted 1 line

(.text+0x397b20): undefined reference to `ptp_clock_register'

Fixes ad7d4eaed995d ("mlx4_en: Add PTP hardware clock")

Looks good, applied, thanks.