mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-22 12:05:32 +00:00
kernel: modules: usb: adapt for kernel 6.6
Adapt usb kmods for building under kernel 6.6: * Add kmod-phylink as dependency for usb-net-asix * Add kmod-net-selftests as dependency for usb-net-smsc95xx * Add kmod-iio-core as dependency for usb-hid-mcp2221 as ADC/DAC support was added since 6.2 which requires IIO. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
This commit is contained in:
parent
ad2906b405
commit
ef523fdb07
@ -1184,7 +1184,7 @@ define KernelPackage/usb-net-asix
|
||||
TITLE:=Kernel module for USB-to-Ethernet Asix convertors
|
||||
DEPENDS:= \
|
||||
+kmod-libphy +kmod-net-selftests +kmod-mdio-devres +kmod-phy-ax88796b \
|
||||
+LINUX_6_1:kmod-phylink
|
||||
+LINUX_6_1:kmod-phylink +LINUX_6_6:kmod-phylink
|
||||
KCONFIG:=CONFIG_USB_NET_AX8817X
|
||||
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
|
||||
AUTOLOAD:=$(call AutoProbe,asix)
|
||||
@ -1312,7 +1312,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-libphy +kmod-phy-smsc +LINUX_6_1:kmod-net-selftests
|
||||
DEPENDS:=+kmod-libphy +kmod-phy-smsc +!LINUX_5_15:kmod-net-selftests
|
||||
KCONFIG:=CONFIG_USB_NET_SMSC95XX
|
||||
FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko
|
||||
AUTOLOAD:=$(call AutoProbe,smsc95xx)
|
||||
@ -1605,7 +1605,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user