ptp: Make PTP_1588_CLOCK select rather than depend on PPS
PTP hardware clock drivers that select PTP_1588_CLOCK must currently also select PPS. For those drivers that don't, the user must enable PPS, then enable PTP_1588_CLOCK, then the driver. Simplify things for developers and users by putting this selection in one place. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c56283034c
commit
42a7ccef0a
3 changed files with 1 additions and 7 deletions
|
@ -124,7 +124,6 @@ config IGB_PTP
|
||||||
bool "PTP Hardware Clock (PHC)"
|
bool "PTP Hardware Clock (PHC)"
|
||||||
default n
|
default n
|
||||||
depends on IGB
|
depends on IGB
|
||||||
select PPS
|
|
||||||
select PTP_1588_CLOCK
|
select PTP_1588_CLOCK
|
||||||
---help---
|
---help---
|
||||||
Say Y here if you want to use PTP Hardware Clock (PHC) in the
|
Say Y here if you want to use PTP Hardware Clock (PHC) in the
|
||||||
|
@ -226,7 +225,6 @@ config IXGBE_PTP
|
||||||
bool "PTP Clock Support"
|
bool "PTP Clock Support"
|
||||||
default n
|
default n
|
||||||
depends on IXGBE
|
depends on IXGBE
|
||||||
select PPS
|
|
||||||
select PTP_1588_CLOCK
|
select PTP_1588_CLOCK
|
||||||
---help---
|
---help---
|
||||||
Say Y here if you want support for 1588 Timestamping with a
|
Say Y here if you want support for 1588 Timestamping with a
|
||||||
|
|
|
@ -26,7 +26,6 @@ if PCH_GBE
|
||||||
config PCH_PTP
|
config PCH_PTP
|
||||||
bool "PCH PTP clock support"
|
bool "PCH PTP clock support"
|
||||||
default n
|
default n
|
||||||
select PPS
|
|
||||||
select PTP_1588_CLOCK
|
select PTP_1588_CLOCK
|
||||||
select PTP_1588_CLOCK_PCH
|
select PTP_1588_CLOCK_PCH
|
||||||
---help---
|
---help---
|
||||||
|
|
|
@ -4,12 +4,9 @@
|
||||||
|
|
||||||
menu "PTP clock support"
|
menu "PTP clock support"
|
||||||
|
|
||||||
comment "Enable Device Drivers -> PPS to see the PTP clock options."
|
|
||||||
depends on PPS=n
|
|
||||||
|
|
||||||
config PTP_1588_CLOCK
|
config PTP_1588_CLOCK
|
||||||
tristate "PTP clock support"
|
tristate "PTP clock support"
|
||||||
depends on PPS
|
select PPS
|
||||||
help
|
help
|
||||||
The IEEE 1588 standard defines a method to precisely
|
The IEEE 1588 standard defines a method to precisely
|
||||||
synchronize distributed clocks over Ethernet networks. The
|
synchronize distributed clocks over Ethernet networks. The
|
||||||
|
|
Loading…
Add table
Reference in a new issue