Skip to content

Commit d39d626

Browse files
committed
kernel: usb: package MaxLinear/Exar USB serial driver
Currently, MaxLinear/Exar USB serial devices are supported via out-of-tree usb-serial-xr_usb_serial_common driver which is broken on 6.12. So since upstream has support for these devices since 6.5 lets package the in-tree driver to be able to drop the out-of-tree one. Link: openwrt/openwrt#18926 Signed-off-by: Robert Marko <[email protected]>
1 parent fa236de commit d39d626

File tree

1 file changed

+15
-0
lines changed
  • package/kernel/linux/modules

1 file changed

+15
-0
lines changed

package/kernel/linux/modules/usb.mk

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,21 @@ endef
10341034
$(eval $(call KernelPackage,usb-serial-qualcomm))
10351035

10361036

1037+
define KernelPackage/usb-serial-xr
1038+
TITLE:=Support for MaxLinear/Exar USB to Serial devices
1039+
KCONFIG:=CONFIG_USB_SERIAL_XR
1040+
FILES:=$(LINUX_DIR)/drivers/usb/serial/xr_serial.ko
1041+
AUTOLOAD:=$(call AutoProbe,xr_serial)
1042+
$(call AddDepends/usb-serial)
1043+
endef
1044+
1045+
define KernelPackage/usb-serial-xr/description
1046+
Kernel support for MaxLinear/Exar USB to Serial converter devices
1047+
endef
1048+
1049+
$(eval $(call KernelPackage,usb-serial-xr))
1050+
1051+
10371052
define KernelPackage/usb-storage
10381053
TITLE:=USB Storage support
10391054
DEPENDS:= +kmod-scsi-core

0 commit comments

Comments
 (0)