zephyr/drivers/ethernet/Kconfig.xlnx_gem
Kumar Gala d36125654e drivers: ethernet: Update Kconfig
* Utilize DT_HAS_<COMPAT>_ENABLED for devicetree based drivers
* Move to using 'select SPI' instead of 'depends on'
  (see commit df81fef944 for
   more details)

Signed-off-by: Kumar Gala <galak@kernel.org>
2022-08-15 14:32:45 +02:00

25 lines
646 B
Plaintext

#
# Xilinx Processor System Gigabit Ethernet controller (GEM) driver
# configuration options
#
# Copyright (c) 2021, Weidmueller Interface GmbH & Co. KG
# SPDX-License-Identifier: Apache-2.0
#
menuconfig ETH_XLNX_GEM
bool "Xilinx GEM Ethernet driver"
default y
depends on DT_HAS_XLNX_GEM_ENABLED
depends on !QEMU_TARGET || (QEMU_TARGET && NET_QEMU_ETHERNET)
help
Enable Xilinx GEM Ethernet driver.
config ETH_NIC_MODEL
string
default "cadence_gem"
depends on ETH_XLNX_GEM
help
Value of the -nic parameter to be used when starting QEMU.
This parameter specifies which type of Ethernet controller
shall be simulated by QEMU.