Skip to content

Commit

Permalink
modules: fix usb-net support for kernel 6.6
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Jan 25, 2024
1 parent e729857 commit 14e928e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package/kernel/linux/modules/usb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1155,9 +1155,9 @@ $(eval $(call KernelPackage,usb-net-aqc111))

define KernelPackage/usb-net-asix
TITLE:=Kernel module for USB-to-Ethernet Asix convertors
DEPENDS:=+kmod-phy-ax88796b +LINUX_6_1:kmod-phylink \
+(LINUX_5_15||LINUX_6_1):kmod-mdio-devres \
+(LINUX_5_15||LINUX_6_1):kmod-net-selftests
DEPENDS:=+kmod-phy-ax88796b +(LINUX_6_1||LINUX_6_6):kmod-phylink \
+(LINUX_5_15||LINUX_6_1||LINUX_6_6):kmod-mdio-devres \
+(LINUX_5_15||LINUX_6_1||LINUX_6_6):kmod-net-selftests
KCONFIG:=CONFIG_USB_NET_AX8817X
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
AUTOLOAD:=$(call AutoProbe,asix)
Expand Down Expand Up @@ -1285,7 +1285,7 @@ $(eval $(call KernelPackage,usb-net-smsc75xx))

define KernelPackage/usb-net-smsc95xx
TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices
DEPENDS:=+kmod-phy-smsc +LINUX_6_1:kmod-net-selftests
DEPENDS:=+kmod-phy-smsc +(LINUX_6_1||LINUX_6_6):kmod-net-selftests
KCONFIG:=CONFIG_USB_NET_SMSC95XX
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko
AUTOLOAD:=$(call AutoProbe,smsc95xx)
Expand Down Expand Up @@ -1578,7 +1578,7 @@ define KernelPackage/usb-hid-mcp2221
SUBMENU:=$(USB_MENU)
TITLE:=Microchip USB 2.0 to I2C/UART Protocol Converter with GPIO
KCONFIG:=CONFIG_HID_MCP2221
DEPENDS:=@GPIO_SUPPORT +kmod-usb-hid +kmod-i2c-core
DEPENDS:=@GPIO_SUPPORT +kmod-usb-hid +kmod-i2c-core +LINUX_6_6:kmod-iio-core
FILES:=$(LINUX_DIR)/drivers/hid/hid-mcp2221.ko
AUTOLOAD:=$(call AutoProbe,hid-mcp2221)
endef
Expand Down

0 comments on commit 14e928e

Please sign in to comment.