Skip to content

Commit

Permalink
drivers/net: add support for Intel I225 network card
Browse files Browse the repository at this point in the history
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
1 parent 3fd60e0 commit 544b89f
Show file tree
Hide file tree
Showing 7 changed files with 1,948 additions and 0 deletions.
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

0 comments on commit 544b89f

Please sign in to comment.