forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/ethernet/xscale/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Intel XScale IXP device configuration
34 #
....@@ -7,12 +8,12 @@
78 default y
89 depends on NET_VENDOR_INTEL && (ARM && ARCH_IXP4XX && \
910 IXP4XX_NPE && IXP4XX_QMGR)
10
- ---help---
11
+ help
1112 If you have a network (Ethernet) card belonging to this class, say Y.
1213
1314 Note that the answer to this question does not directly affect the
1415 kernel: saying N will just cause the configurator to skip all
15
- the questions about XSacle IXP devices. If you say Y, you will be
16
+ the questions about XScale IXP devices. If you say Y, you will be
1617 asked for your specific card in the following questions.
1718
1819 if NET_VENDOR_XSCALE
....@@ -22,8 +23,22 @@
2223 depends on ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR
2324 select PHYLIB
2425 select NET_PTP_CLASSIFY
25
- ---help---
26
+ help
2627 Say Y here if you want to use built-in Ethernet ports
2728 on IXP4xx processor.
2829
30
+config PTP_1588_CLOCK_IXP46X
31
+ tristate "Intel IXP46x as PTP clock"
32
+ depends on IXP4XX_ETH
33
+ depends on PTP_1588_CLOCK
34
+ default y
35
+ help
36
+ This driver adds support for using the IXP46X as a PTP
37
+ clock. This clock is only useful if your PTP programs are
38
+ getting hardware time stamps on the PTP Ethernet packets
39
+ using the SO_TIMESTAMPING API.
40
+
41
+ To compile this driver as a module, choose M here: the module
42
+ will be called ptp_ixp46x.
43
+
2944 endif # NET_VENDOR_XSCALE