xref: /openbmc/linux/drivers/net/ethernet/xscale/Kconfig (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2b47da977SJeff Kirsher#
3b47da977SJeff Kirsher# Intel XScale IXP device configuration
4b47da977SJeff Kirsher#
5b47da977SJeff Kirsher
6b47da977SJeff Kirsherconfig NET_VENDOR_XSCALE
7b47da977SJeff Kirsher	bool "Intel XScale IXP devices"
888f07484SJeff Kirsher	default y
9695e0078SRob Herring	depends on NET_VENDOR_INTEL && (ARM && ARCH_IXP4XX && \
10695e0078SRob Herring		   IXP4XX_NPE && IXP4XX_QMGR)
11a7f7f624SMasahiro Yamada	help
12138b15edSPaul Gortmaker	  If you have a network (Ethernet) card belonging to this class, say Y.
13b47da977SJeff Kirsher
14b47da977SJeff Kirsher	  Note that the answer to this question does not directly affect the
15b47da977SJeff Kirsher	  kernel: saying N will just cause the configurator to skip all
16cec754ccSGeert Uytterhoeven	  the questions about XScale IXP devices. If you say Y, you will be
17b47da977SJeff Kirsher	  asked for your specific card in the following questions.
18b47da977SJeff Kirsher
19b47da977SJeff Kirsherif NET_VENDOR_XSCALE
20b47da977SJeff Kirsher
21b47da977SJeff Kirsherconfig IXP4XX_ETH
22b47da977SJeff Kirsher	tristate "Intel IXP4xx Ethernet support"
23*c8200f4eSLinus Walleij	depends on ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR && OF
24b47da977SJeff Kirsher	select PHYLIB
25*c8200f4eSLinus Walleij	select OF_MDIO
26408eccceSDaniel Borkmann	select NET_PTP_CLASSIFY
27a7f7f624SMasahiro Yamada	help
28b47da977SJeff Kirsher	  Say Y here if you want to use built-in Ethernet ports
29b47da977SJeff Kirsher	  on IXP4xx processor.
30b47da977SJeff Kirsher
312785543fSArnd Bergmannconfig PTP_1588_CLOCK_IXP46X
329055a2f5SArnd Bergmann	bool "Intel IXP46x as PTP clock"
332785543fSArnd Bergmann	depends on IXP4XX_ETH
349055a2f5SArnd Bergmann	depends on PTP_1588_CLOCK=y || PTP_1588_CLOCK=IXP4XX_ETH
352785543fSArnd Bergmann	default y
362785543fSArnd Bergmann	help
372785543fSArnd Bergmann	  This driver adds support for using the IXP46X as a PTP
382785543fSArnd Bergmann	  clock. This clock is only useful if your PTP programs are
392785543fSArnd Bergmann	  getting hardware time stamps on the PTP Ethernet packets
402785543fSArnd Bergmann	  using the SO_TIMESTAMPING API.
412785543fSArnd Bergmann
422785543fSArnd Bergmann	  To compile this driver as a module, choose M here: the module
432785543fSArnd Bergmann	  will be called ptp_ixp46x.
442785543fSArnd Bergmann
45b47da977SJeff Kirsherendif # NET_VENDOR_XSCALE
46