aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/xscale/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2020-01-12 13:04:44 +0100
committerJakub Kicinski <kuba@kernel.org>2020-01-12 12:59:52 -0800
commit2785543fbf0498eb749adee3d129ba8ac139c729 (patch)
tree952a7280984cb16420ede82f7d055fa7ce192a51 /drivers/net/ethernet/xscale/Kconfig
parentwan: ixp4xx_hss: prepare compile testing (diff)
downloadlinux-dev-2785543fbf0498eb749adee3d129ba8ac139c729.tar.xz
linux-dev-2785543fbf0498eb749adee3d129ba8ac139c729.zip
ptp: ixp46x: move adjacent to ethernet driver
The ixp46x ptp driver has a somewhat unusual setup, where the ptp driver and the ethernet driver are in different directories but access the same registers that are defined a platform specific header file. Moving everything into drivers/net/ makes it look more like most other ptp drivers and allows compile-testing this driver on other targets. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/xscale/Kconfig')
-rw-r--r--drivers/net/ethernet/xscale/Kconfig14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/net/ethernet/xscale/Kconfig b/drivers/net/ethernet/xscale/Kconfig
index cd0a8f46e7c6..98aa7b8ddb06 100644
--- a/drivers/net/ethernet/xscale/Kconfig
+++ b/drivers/net/ethernet/xscale/Kconfig
@@ -27,4 +27,18 @@ config IXP4XX_ETH
Say Y here if you want to use built-in Ethernet ports
on IXP4xx processor.
+config PTP_1588_CLOCK_IXP46X
+ tristate "Intel IXP46x as PTP clock"
+ depends on IXP4XX_ETH
+ depends on PTP_1588_CLOCK
+ default y
+ help
+ This driver adds support for using the IXP46X as a PTP
+ clock. This clock is only useful if your PTP programs are
+ getting hardware time stamps on the PTP Ethernet packets
+ using the SO_TIMESTAMPING API.
+
+ To compile this driver as a module, choose M here: the module
+ will be called ptp_ixp46x.
+
endif # NET_VENDOR_XSCALE