mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
6a7ce95d75
While do COMPILE_TEST build without CONFIG_NETDEVICES,
we get Kconfig warning:
WARNING: unmet direct dependencies detected for PHYLIB
Depends on [n]: NETDEVICES [=n]
Selected by [y]:
- OCTEON_ETHERNET [=y] && STAGING [=y] && (CAVIUM_OCTEON_SOC && NETDEVICES [=n] || COMPILE_TEST [=y])
Reported-by: Hulk Robot <hulkci@huawei.com>
Reported-by: Mark Brown <broonie@kernel.org>
Fixes: 171a9bae68
("staging/octeon: Allow test build on !MIPS")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
15 lines
493 B
Text
15 lines
493 B
Text
# SPDX-License-Identifier: GPL-2.0
|
|
config OCTEON_ETHERNET
|
|
tristate "Cavium Networks Octeon Ethernet support"
|
|
depends on CAVIUM_OCTEON_SOC || COMPILE_TEST
|
|
depends on NETDEVICES
|
|
select PHYLIB
|
|
select MDIO_OCTEON
|
|
help
|
|
This driver supports the builtin ethernet ports on Cavium
|
|
Networks' products in the Octeon family. This driver supports the
|
|
CN3XXX and CN5XXX Octeon processors.
|
|
|
|
To compile this driver as a module, choose M here. The module
|
|
will be called octeon-ethernet.
|
|
|