483b9d609c
As emulated by QEMU. SMSC9118 is compatible with SMSC9220 as used in ARM MPS2 board, as well as SMSC9115/6/7/etc. devices. Portions of the code are based on mbedOS code from its targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/device/drivers/smsc9220_eth.c eth_smsc9220_priv.h originally comes from Arm mbedOS file: targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/device/drivers/smsc9220_eth.h augmented with struct & defines from: targets/TARGET_ARM_SSG/TARGET_CM3DS_MPS2/device/CM3DS.h and renamed as eth_smsc911x_priv.h to follow Zephyr conventions. Then, following changes applied: Changes to build under Zephyr, changes to use symbolic constants and field access helpers, typo fixes, etc. Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
# Kconfig - Ethernet drivers configuration options
|
|
|
|
#
|
|
# Copyright (c) 2015 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
menu "Ethernet Drivers"
|
|
depends on NET_L2_ETHERNET
|
|
|
|
module = ETHERNET
|
|
module-dep = LOG
|
|
module-str = Log level for Ethernet driver
|
|
module-help = Sets log level for Ethernet Device Drivers.
|
|
source "subsys/net/Kconfig.template.log_config.net"
|
|
|
|
config ETH_INIT_PRIORITY
|
|
int "Ethernet driver init priority"
|
|
default 80
|
|
help
|
|
Ethernet device driver initialization priority.
|
|
Do not mess with it unless you know what you are doing.
|
|
Note that the priority needs to be lower than the net stack
|
|
so that it can start before the networking sub-system.
|
|
|
|
source "drivers/ethernet/Kconfig.enc28j60"
|
|
source "drivers/ethernet/Kconfig.mcux"
|
|
source "drivers/ethernet/Kconfig.dw"
|
|
source "drivers/ethernet/Kconfig.e1000"
|
|
source "drivers/ethernet/Kconfig.sam_gmac"
|
|
source "drivers/ethernet/Kconfig.stm32_hal"
|
|
source "drivers/ethernet/Kconfig.smsc911x"
|
|
source "drivers/ethernet/Kconfig.native_posix"
|
|
source "drivers/ethernet/Kconfig.stellaris"
|
|
|
|
endmenu # "Ethernet Drivers"
|