In a previous patch I added "select PHYLIB" at the wrong place for the
ADIN1110 driver symbol, so move it to its correct place under the
ADIN1110 kconfig symbol.
Fixes: a9f80df4f5
("net: ethernet: adi: requires PHYLIB support")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: Michal Kubecek <mkubecek@suse.cz>
Closes: https://lore.kernel.org/lkml/77012b38-4b49-47f4-9a88-d773d52909ad@infradead.org/T/#m8ba397484738711edc0ad607b2c63ca02244e3c3
Cc: Lennart Franzen <lennart@lfdomain.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
Cc: Nuno Sa <nuno.sa@analog.com>
Tested-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
29 lines
784 B
Text
29 lines
784 B
Text
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause
|
|
#
|
|
# Analog Devices device configuration
|
|
#
|
|
|
|
config NET_VENDOR_ADI
|
|
bool "Analog Devices devices"
|
|
default y
|
|
depends on SPI
|
|
help
|
|
If you have a network (Ethernet) card belonging to this class, 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 ADI devices. If you say Y, you will be asked
|
|
for your specific card in the following questions.
|
|
|
|
if NET_VENDOR_ADI
|
|
|
|
config ADIN1110
|
|
tristate "Analog Devices ADIN1110 MAC-PHY"
|
|
depends on SPI && NET_SWITCHDEV
|
|
select CRC8
|
|
select PHYLIB
|
|
help
|
|
Say yes here to build support for Analog Devices ADIN1110
|
|
Low Power 10BASE-T1L Ethernet MAC-PHY.
|
|
|
|
endif # NET_VENDOR_ADI
|