Skip to content

Commit 863d08e

Browse files
Takahiro Shimizudavem330
authored andcommitted
supports eg20t ptp clock
Supports EG20T ptp clock in the driver Changes e-mail address. Adds number. Signed-off-by: Takahiro Shimizu <tshimizu818@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 74dd152 commit 863d08e

3 files changed

Lines changed: 744 additions & 0 deletions

File tree

‎drivers/ptp/Kconfig‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,17 @@ config DP83640_PHY
7272
In order for this to work, your MAC driver must also
7373
implement the skb_tx_timetamp() function.
7474

75+
config PTP_1588_CLOCK_PCH
76+
tristate "Intel PCH EG20T as PTP clock"
77+
depends on PTP_1588_CLOCK
78+
depends on PCH_GBE
79+
help
80+
This driver adds support for using the PCH EG20T as a PTP
81+
clock. This clock is only useful if your PTP programs are
82+
getting hardware time stamps on the PTP Ethernet packets
83+
using the SO_TIMESTAMPING API.
84+
85+
To compile this driver as a module, choose M here: the module
86+
will be called ptp_pch.
87+
7588
endmenu

‎drivers/ptp/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
ptp-y := ptp_clock.o ptp_chardev.o ptp_sysfs.o
66
obj-$(CONFIG_PTP_1588_CLOCK) += ptp.o
77
obj-$(CONFIG_PTP_1588_CLOCK_IXP46X) += ptp_ixp46x.o
8+
obj-$(CONFIG_PTP_1588_CLOCK_PCH) += ptp_pch.o

0 commit comments

Comments
 (0)