diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-10-31 11:32:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-01 11:35:18 -0400 |
commit | 42a7ccef0a06519e2ea0be71d7c0f4ed9198509f (patch) | |
tree | 6171e6df724508370d36310a10a40664be22b7f7 /drivers/ptp/Kconfig | |
parent | c56283034ce28f99de494b69896528ae90cd9730 (diff) |
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>
Diffstat (limited to 'drivers/ptp/Kconfig')
-rw-r--r-- | drivers/ptp/Kconfig | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig index a6e4b7c4a704..131ef03fd11a 100644 --- a/drivers/ptp/Kconfig +++ b/drivers/ptp/Kconfig | |||
@@ -4,12 +4,9 @@ | |||
4 | 4 | ||
5 | menu "PTP clock support" | 5 | menu "PTP clock support" |
6 | 6 | ||
7 | comment "Enable Device Drivers -> PPS to see the PTP clock options." | ||
8 | depends on PPS=n | ||
9 | |||
10 | config PTP_1588_CLOCK | 7 | config PTP_1588_CLOCK |
11 | tristate "PTP clock support" | 8 | tristate "PTP clock support" |
12 | depends on PPS | 9 | select PPS |
13 | help | 10 | help |
14 | The IEEE 1588 standard defines a method to precisely | 11 | The IEEE 1588 standard defines a method to precisely |
15 | synchronize distributed clocks over Ethernet networks. The | 12 | synchronize distributed clocks over Ethernet networks. The |