zephyr/drivers/ethernet/Kconfig.smsc91x
Fabio Baltieri acbb7a39bb ethernet: smsc91x: select MDIO
This driver implements an MDIO device. Enable the MDIO driver to avoid a
build error for:

orphan section `._device.static.3_CONFIG_MDIO_INIT_PRIORITY_'

Also set the proper compatible in mdio_shell so that the ethernet tests
build correctly.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2023-08-16 14:52:31 +02:00

11 lines
287 B
Plaintext

# Copyright (c) 2023 Arm Limited (or its affiliates). All rights reserved.
# SPDX-License-Identifier: Apache-2.0
config ETH_SMSC91X
bool "SMSC91x Ethernet driver"
default y
depends on DT_HAS_SMSC_LAN91C111_ENABLED
select MDIO
help
Enable driver for SMSC/LAN91x family of chips.