Skip to content

drivers: ethernet: Add Intel® i226 Ethernet Controller Driver #88108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions drivers/ethernet/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,4 @@ add_subdirectory(phy)
add_subdirectory(eth_nxp_enet_qos)
add_subdirectory(nxp_imx_netc)
add_subdirectory(dwc_xgmac)
add_subdirectory(intel)
1 change: 1 addition & 0 deletions drivers/ethernet/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ source "drivers/ethernet/phy/Kconfig"

source "drivers/ethernet/nxp_imx_netc/Kconfig"
source "drivers/ethernet/Kconfig.renesas_ra"
source "drivers/ethernet/intel/Kconfig"

endif # "Ethernet Drivers"

Expand Down
5 changes: 5 additions & 0 deletions drivers/ethernet/intel/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copyright (c) 2025 Intel Corporation.
# SPDX-License-Identifier: Apache-2.0

zephyr_library_sources_ifdef(CONFIG_ETH_INTEL_IGC eth_intel_igc.c)
zephyr_library_sources_ifdef(CONFIG_ETH_INTEL_PLAT eth_intel_plat.c)
12 changes: 12 additions & 0 deletions drivers/ethernet/intel/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright (c) 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

config ETH_INTEL_PLAT
bool "Intel Ethernet parent Platform device driver"
depends on DT_HAS_INTEL_ETH_PLAT_ENABLED
help
Enable Platform driver to retrieve the MMIO mapping details and
share them with all the child devices such as MDIO, PHY, MAC
and PTP_CLOCK.

source "drivers/ethernet/intel/Kconfig.intel_igc"
29 changes: 29 additions & 0 deletions drivers/ethernet/intel/Kconfig.intel_igc
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Copyright (c) 2025 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

menuconfig ETH_INTEL_IGC
bool "Intel IGC MAC driver"
default y
depends on DT_HAS_INTEL_IGC_MAC_ENABLED
select MDIO
select PCIE_MSI_MULTI_VECTOR
select PCIE_MSI_X
help
Ethernet device driver for Intel i226 MAC.

if ETH_INTEL_IGC

config ETH_INTEL_IGC_INT_PRIORITY
int "Interrupt priority"
default 6
help
MSI-X vectors priority for IGC interrupts.

config ETH_INTEL_IGC_NET_MTU
int "MTU size"
default 1500
range 64 1522
help
Maximum Transmission Unit (MTU) size configuration.

endif # ETH_INTEL_IGC
Loading
Loading