mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-24 19:12:14 +00:00
The dependency handling of the Synopsys DesignWare I2C adapter drivers is going to be changed so that the glue drivers for the platform and PCI buses depend on I2C_DESIGNWARE_CORE. Right now this driver prevents that update because it selects I2C_DESIGNWARE_PLATFORM. To make the dependency on I2C_DESIGNWARE_PLATFORM consistent with the other drivers in kernel that depend on it, and allow the dependency handling of the Synopsys DesignWare I2C drivers to be updated, change the "select" into "depends on". Cc: Jiawen Wu <jiawenwu@trustnetic.com> Cc: Mengyuan Lou <mengyuanlou@net-swift.com> Cc: David S. Miller <davem@davemloft.net> Cc: Eric Dumazet <edumazet@google.com> Cc: Jakub Kicinski <kuba@kernel.org> Cc: Paolo Abeni <pabeni@redhat.com> Cc: netdev@vger.kernel.org Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
65 lines
1.6 KiB
Plaintext
65 lines
1.6 KiB
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Wangxun network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_WANGXUN
|
|
bool "Wangxun devices"
|
|
default y
|
|
help
|
|
If you have a network (Ethernet) card from Wangxun(R), say Y.
|
|
|
|
Note that the answer to this question doesn't directly affect the
|
|
kernel: saying N will just cause the configurator to skip all
|
|
the questions about Wangxun(R) cards. If you say Y, you will
|
|
be asked for your specific card in the following questions.
|
|
|
|
if NET_VENDOR_WANGXUN
|
|
|
|
config LIBWX
|
|
tristate
|
|
select PAGE_POOL
|
|
help
|
|
Common library for Wangxun(R) Ethernet drivers.
|
|
|
|
config NGBE
|
|
tristate "Wangxun(R) GbE PCI Express adapters support"
|
|
depends on PCI
|
|
select LIBWX
|
|
select PHYLINK
|
|
help
|
|
This driver supports Wangxun(R) GbE PCI Express family of
|
|
adapters.
|
|
|
|
More specific information on configuring the driver is in
|
|
<file:Documentation/networking/device_drivers/ethernet/wangxun/ngbe.rst>.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called ngbe.
|
|
|
|
config TXGBE
|
|
tristate "Wangxun(R) 10GbE PCI Express adapters support"
|
|
depends on PCI
|
|
depends on COMMON_CLK
|
|
depends on I2C_DESIGNWARE_PLATFORM
|
|
select MARVELL_10G_PHY
|
|
select REGMAP
|
|
select PHYLINK
|
|
select HWMON if TXGBE=y
|
|
select SFP
|
|
select GPIOLIB
|
|
select GPIOLIB_IRQCHIP
|
|
select PCS_XPCS
|
|
select LIBWX
|
|
help
|
|
This driver supports Wangxun(R) 10GbE PCI Express family of
|
|
adapters.
|
|
|
|
More specific information on configuring the driver is in
|
|
<file:Documentation/networking/device_drivers/ethernet/wangxun/txgbe.rst>.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called txgbe.
|
|
|
|
endif # NET_VENDOR_WANGXUN
|