Since FIXED_PHY depends on PHYLIB, PHYLIB needs to be set to avoid
a kconfig warning:
WARNING: unmet direct dependencies detected for FIXED_PHY
Depends on [n]: NETDEVICES [=y] && PHYLIB [=n]
Selected by [y]:
- LAN743X [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && PCI [=y] && PTP_1588_CLOCK_OPTIONAL [=y]
Fixes: 73c4d1b307
("net: lan743x: select FIXED_PHY")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: lore.kernel.org/r/202309261802.JPbRHwti-lkp@intel.com
Cc: Bryan Whitehead <bryan.whitehead@microchip.com>
Cc: UNGLinuxDriver@microchip.com
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Simon Horman <horms@kernel.org> # build-tested
Link: https://lore.kernel.org/r/20231002193544.14529-1-rdunlap@infradead.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
63 lines
1.7 KiB
Text
63 lines
1.7 KiB
Text
# SPDX-License-Identifier: GPL-2.0-only
|
|
#
|
|
# Microchip network device configuration
|
|
#
|
|
|
|
config NET_VENDOR_MICROCHIP
|
|
bool "Microchip devices"
|
|
default y
|
|
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 Microchip cards. If you say Y, you will be asked
|
|
for your specific card in the following questions.
|
|
|
|
if NET_VENDOR_MICROCHIP
|
|
|
|
config ENC28J60
|
|
tristate "ENC28J60 support"
|
|
depends on SPI
|
|
select CRC32
|
|
help
|
|
Support for the Microchip EN28J60 ethernet chip.
|
|
|
|
To compile this driver as a module, choose M here. The module will be
|
|
called enc28j60.
|
|
|
|
config ENC28J60_WRITEVERIFY
|
|
bool "Enable write verify"
|
|
depends on ENC28J60
|
|
help
|
|
Enable the verify after the buffer write useful for debugging purpose.
|
|
If unsure, say N.
|
|
|
|
config ENCX24J600
|
|
tristate "ENCX24J600 support"
|
|
depends on SPI
|
|
help
|
|
Support for the Microchip ENC424J600/624J600 ethernet chip.
|
|
|
|
To compile this driver as a module, choose M here. The module will be
|
|
called encx24j600.
|
|
|
|
config LAN743X
|
|
tristate "LAN743x support"
|
|
depends on PCI
|
|
depends on PTP_1588_CLOCK_OPTIONAL
|
|
select PHYLIB
|
|
select FIXED_PHY
|
|
select CRC16
|
|
select CRC32
|
|
help
|
|
Support for the Microchip LAN743x PCI Express Gigabit Ethernet chip
|
|
|
|
To compile this driver as a module, choose M here. The module will be
|
|
called lan743x.
|
|
|
|
source "drivers/net/ethernet/microchip/lan966x/Kconfig"
|
|
source "drivers/net/ethernet/microchip/sparx5/Kconfig"
|
|
source "drivers/net/ethernet/microchip/vcap/Kconfig"
|
|
|
|
endif # NET_VENDOR_MICROCHIP
|