[openwrt/openwrt] kernel: usb: package MaxLinear/Exar USB serial driver
LEDE Commits
lede-commits at lists.infradead.org
Mon May 26 09:59:29 PDT 2025
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d39d626b23756fe574ad46e093f5a796b1861b17
commit d39d626b23756fe574ad46e093f5a796b1861b17
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Mon May 26 15:39:58 2025 +0200
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: https://github.com/openwrt/openwrt/pull/18926
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
package/kernel/linux/modules/usb.mk | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index ca3e445ce2..4155082901 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1034,6 +1034,21 @@ endef
$(eval $(call KernelPackage,usb-serial-qualcomm))
+define KernelPackage/usb-serial-xr
+ TITLE:=Support for MaxLinear/Exar USB to Serial devices
+ KCONFIG:=CONFIG_USB_SERIAL_XR
+ FILES:=$(LINUX_DIR)/drivers/usb/serial/xr_serial.ko
+ AUTOLOAD:=$(call AutoProbe,xr_serial)
+ $(call AddDepends/usb-serial)
+endef
+
+define KernelPackage/usb-serial-xr/description
+ Kernel support for MaxLinear/Exar USB to Serial converter devices
+endef
+
+$(eval $(call KernelPackage,usb-serial-xr))
+
+
define KernelPackage/usb-storage
TITLE:=USB Storage support
DEPENDS:= +kmod-scsi-core
More information about the lede-commits
mailing list