mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![Linus Walleij](/assets/img/avatar_default.png)
This adds device tree probing to the IXP4xx ethernet driver. Add a platform data bool to tell us whether to register an MDIO bus for the device or not, as well as the corresponding NPE. We need to drop the memory region request as part of this since the OF core will request the memory for the device. Cc: Zoltan HERPAI <wigyori@uid0.hu> Cc: Raylynn Knight <rayknight@me.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
45 lines
1.3 KiB
Text
45 lines
1.3 KiB
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Intel XScale IXP device configuration
|
|
#
|
|
|
|
config NET_VENDOR_XSCALE
|
|
bool "Intel XScale IXP devices"
|
|
default y
|
|
depends on NET_VENDOR_INTEL && (ARM && ARCH_IXP4XX && \
|
|
IXP4XX_NPE && IXP4XX_QMGR)
|
|
help
|
|
If you have a network (Ethernet) card belonging to this class, say Y.
|
|
|
|
Note that the answer to this question does not directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the questions about XScale IXP devices. If you say Y, you will be
|
|
asked for your specific card in the following questions.
|
|
|
|
if NET_VENDOR_XSCALE
|
|
|
|
config IXP4XX_ETH
|
|
tristate "Intel IXP4xx Ethernet support"
|
|
depends on ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR
|
|
select PHYLIB
|
|
select OF_MDIO if OF
|
|
select NET_PTP_CLASSIFY
|
|
help
|
|
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
|