Skip to content

Commit

Permalink
kernel: netdevices: add generic selftests module
Browse files Browse the repository at this point in the history
Upstream in commit 3e1e58d64c3d ("net: add generic selftest support") in
version 5.13 added generic selftests module and usb-net-asix already
depends on it, in version 5.18 via commit 1710b52d7c13 ("net: usb:
smsc95xx: add generic selftest support") it will be used by
usb-net-smsc95xx as well.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
  • Loading branch information
ynezz authored and aiamadeus committed Jan 16, 2023
1 parent 2d986ed commit d34a06c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions package/kernel/linux/modules/netdevices.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1248,6 +1248,22 @@ endef
$(eval $(call KernelPackage,mlx5-core))


define KernelPackage/net-selftests
SUBMENU:=$(NETWORK_DEVICES_MENU)
DEPENDS:=+kmod-libphy
TITLE:=Network generic selftest support
KCONFIG:=CONFIG_NET_SELFTESTS
FILES:=$(LINUX_DIR)/net/core/selftests.ko
AUTOLOAD:=$(call AutoLoad,99,selftests)
endef

define KernelPackage/net-selftests/description
Kernel modules for the generic selftest support
endef

$(eval $(call KernelPackage,net-selftests))


define KernelPackage/qlcnic
SUBMENU:=$(NETWORK_DEVICES_MENU)
DEPENDS:=@PCI_SUPPORT +kmod-hwmon-core
Expand Down

0 comments on commit d34a06c

Please sign in to comment.