162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Intel XScale IXP device configuration
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciconfig NET_VENDOR_XSCALE
762306a36Sopenharmony_ci	bool "Intel XScale IXP devices"
862306a36Sopenharmony_ci	default y
962306a36Sopenharmony_ci	depends on NET_VENDOR_INTEL && (ARM && ARCH_IXP4XX && \
1062306a36Sopenharmony_ci		   IXP4XX_NPE && IXP4XX_QMGR)
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  If you have a network (Ethernet) card belonging to this class, say Y.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci	  Note that the answer to this question does not directly affect the
1562306a36Sopenharmony_ci	  kernel: saying N will just cause the configurator to skip all
1662306a36Sopenharmony_ci	  the questions about XScale IXP devices. If you say Y, you will be
1762306a36Sopenharmony_ci	  asked for your specific card in the following questions.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciif NET_VENDOR_XSCALE
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ciconfig IXP4XX_ETH
2262306a36Sopenharmony_ci	tristate "Intel IXP4xx Ethernet support"
2362306a36Sopenharmony_ci	depends on ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR && OF
2462306a36Sopenharmony_ci	select PHYLIB
2562306a36Sopenharmony_ci	select OF_MDIO
2662306a36Sopenharmony_ci	select NET_PTP_CLASSIFY
2762306a36Sopenharmony_ci	help
2862306a36Sopenharmony_ci	  Say Y here if you want to use built-in Ethernet ports
2962306a36Sopenharmony_ci	  on IXP4xx processor.
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ciconfig PTP_1588_CLOCK_IXP46X
3262306a36Sopenharmony_ci	bool "Intel IXP46x as PTP clock"
3362306a36Sopenharmony_ci	depends on IXP4XX_ETH
3462306a36Sopenharmony_ci	depends on PTP_1588_CLOCK=y || PTP_1588_CLOCK=IXP4XX_ETH
3562306a36Sopenharmony_ci	default y
3662306a36Sopenharmony_ci	help
3762306a36Sopenharmony_ci	  This driver adds support for using the IXP46X as a PTP
3862306a36Sopenharmony_ci	  clock. This clock is only useful if your PTP programs are
3962306a36Sopenharmony_ci	  getting hardware time stamps on the PTP Ethernet packets
4062306a36Sopenharmony_ci	  using the SO_TIMESTAMPING API.
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ci	  To compile this driver as a module, choose M here: the module
4362306a36Sopenharmony_ci	  will be called ptp_ixp46x.
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ciendif # NET_VENDOR_XSCALE
46