This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_ETH_NIC_MODEL

(No prompt – not directly user assignable.)

Type: string

Help

Tells what Qemu network model to use. This value is given as
a parameter to -nic qemu command line option.

Help

Tells what Qemu network model to use. This value is given as
a parameter to -nic qemu command line option.

Help

Tells what Qemu network model to use. This value is given as
a parameter to -nic qemu command line option.

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.

Direct dependencies

(ETH_E1000 && NET_L2_ETHERNET) || (ETH_SMSC911X && NET_L2_ETHERNET) || (ETH_STELLARIS && NET_L2_ETHERNET) || (ETH_XLNX_GEM && NET_L2_ETHERNET)

(Includes any dependencies from ifs and menus.)

Defaults

  • “e1000”

  • “lan9118”

  • “stellaris”

  • “cadence_gem”

Kconfig definitions

At drivers/ethernet/Kconfig.e1000:12

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:20drivers/ethernet/Kconfig:50

Menu path: (Top) → Device Drivers → Ethernet Drivers → Intel(R) PRO/1000 Gigabit Ethernet driver

config ETH_NIC_MODEL
    string
    default "e1000"
    depends on ETH_E1000 && NET_L2_ETHERNET
    help
      Tells what Qemu network model to use. This value is given as
      a parameter to -nic qemu command line option.

At drivers/ethernet/Kconfig.smsc911x:9

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:20drivers/ethernet/Kconfig:53

Menu path: (Top) → Device Drivers → Ethernet Drivers → SMSC911x/9220 Ethernet driver

config ETH_NIC_MODEL
    string
    default "lan9118"
    depends on ETH_SMSC911X && NET_L2_ETHERNET
    help
      Tells what Qemu network model to use. This value is given as
      a parameter to -nic qemu command line option.

At drivers/ethernet/Kconfig.stellaris:11

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:20drivers/ethernet/Kconfig:55

Menu path: (Top) → Device Drivers → Ethernet Drivers → Enable TI Stellaris MCU family ethernet driver.

config ETH_NIC_MODEL
    string
    default "stellaris"
    depends on ETH_STELLARIS && NET_L2_ETHERNET
    help
      Tells what Qemu network model to use. This value is given as
      a parameter to -nic qemu command line option.

At drivers/ethernet/Kconfig.xlnx_gem:18

Included via Kconfig:8Kconfig.zephyr:40drivers/Kconfig:20drivers/ethernet/Kconfig:60

Menu path: (Top) → Device Drivers → Ethernet Drivers → Xilinx GEM Ethernet driver

config ETH_NIC_MODEL
    string
    default "cadence_gem"
    depends on ETH_XLNX_GEM && NET_L2_ETHERNET
    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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)