Skip to content
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

Add Intel e1000 and igc support #13396

Merged
merged 2 commits into from
Sep 16, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
drivers/net: add support for Intel I225 network card
add support for Intel I225 network card

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
  • Loading branch information
szafonimateusz-mi committed Sep 16, 2024
commit 544b89fbf6f8ab50dfd3f0e2149b9a7c3a44e427
4 changes: 4 additions & 0 deletions drivers/net/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ if(CONFIG_NET)
list(APPEND SRCS e1000.c)
endif()

if(CONFIG_NET_IGC)
list(APPEND SRCS igc.c)
endif()

if(CONFIG_ARCH_PHY_INTERRUPT)
list(APPEND SRCS phy_notify.c)
endif()
Expand Down
19 changes: 19 additions & 0 deletions drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -801,4 +801,23 @@ config NET_E1000_82574L

endif # NET_E1000

menuconfig NET_IGC
bool "Intel IGC support"
default n
depends on PCI && PCI_MSIX
---help---
Enable IGC PCI Ethernet driver.

if NET_IGC

config NET_IGC_RXSPARE
int "Intel IGC spare RX buffers"
default 8

config NET_IGC_I225LM
bool "Intel I225LM"
default n

endif # NET_IGC

endif # NETDEVICES
4 changes: 4 additions & 0 deletions drivers/net/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ ifeq ($(CONFIG_DRIVERS_WIFI_SIM),y)
CSRCS += wifi_sim.c
endif

ifeq ($(CONFIG_NET_IGC),y)
CSRCS += igc.c
endif

# Include network build support

DEPPATH += --dep-path net
Expand Down
Loading
Loading