Kconfig 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. #
  2. # PTP clock support configuration
  3. #
  4. menu "PTP clock support"
  5. config PTP_1588_CLOCK
  6. tristate "PTP clock support"
  7. depends on NET
  8. select PPS
  9. select NET_PTP_CLASSIFY
  10. help
  11. The IEEE 1588 standard defines a method to precisely
  12. synchronize distributed clocks over Ethernet networks. The
  13. standard defines a Precision Time Protocol (PTP), which can
  14. be used to achieve synchronization within a few dozen
  15. microseconds. In addition, with the help of special hardware
  16. time stamping units, it can be possible to achieve
  17. synchronization to within a few hundred nanoseconds.
  18. This driver adds support for PTP clocks as character
  19. devices. If you want to use a PTP clock, then you should
  20. also enable at least one clock driver as well.
  21. To compile this driver as a module, choose M here: the module
  22. will be called ptp.
  23. config PTP_1588_CLOCK_GIANFAR
  24. tristate "Freescale eTSEC as PTP clock"
  25. depends on GIANFAR
  26. select PTP_1588_CLOCK
  27. default y
  28. help
  29. This driver adds support for using the eTSEC as a PTP
  30. clock. This clock is only useful if your PTP programs are
  31. getting hardware time stamps on the PTP Ethernet packets
  32. using the SO_TIMESTAMPING API.
  33. To compile this driver as a module, choose M here: the module
  34. will be called gianfar_ptp.
  35. config PTP_1588_CLOCK_IXP46X
  36. tristate "Intel IXP46x as PTP clock"
  37. depends on IXP4XX_ETH
  38. select PTP_1588_CLOCK
  39. default y
  40. help
  41. This driver adds support for using the IXP46X as a PTP
  42. clock. This clock is only useful if your PTP programs are
  43. getting hardware time stamps on the PTP Ethernet packets
  44. using the SO_TIMESTAMPING API.
  45. To compile this driver as a module, choose M here: the module
  46. will be called ptp_ixp46x.
  47. comment "Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks."
  48. depends on PHYLIB=n || NETWORK_PHY_TIMESTAMPING=n
  49. config DP83640_PHY
  50. tristate "Driver for the National Semiconductor DP83640 PHYTER"
  51. depends on NETWORK_PHY_TIMESTAMPING
  52. depends on PHYLIB
  53. select PTP_1588_CLOCK
  54. ---help---
  55. Supports the DP83640 PHYTER with IEEE 1588 features.
  56. This driver adds support for using the DP83640 as a PTP
  57. clock. This clock is only useful if your PTP programs are
  58. getting hardware time stamps on the PTP Ethernet packets
  59. using the SO_TIMESTAMPING API.
  60. In order for this to work, your MAC driver must also
  61. implement the skb_tx_timestamp() function.
  62. config PTP_1588_CLOCK_PCH
  63. tristate "Intel PCH EG20T as PTP clock"
  64. depends on X86_32 || COMPILE_TEST
  65. depends on HAS_IOMEM && NET
  66. select PTP_1588_CLOCK
  67. help
  68. This driver adds support for using the PCH EG20T as a PTP
  69. clock. The hardware supports time stamping of PTP packets
  70. when using the end-to-end delay (E2E) mechansim. The peer
  71. delay mechansim (P2P) is not supported.
  72. This clock is only useful if your PTP programs are getting
  73. hardware time stamps on the PTP Ethernet packets using the
  74. SO_TIMESTAMPING API.
  75. To compile this driver as a module, choose M here: the module
  76. will be called ptp_pch.
  77. endmenu