[openwrt/openwrt] kernel: can: package driver for Geschwister Schneider interface
LEDE Commits
lede-commits at lists.infradead.org
Thu Nov 28 10:57:09 PST 2024
ynezz pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/3451a7035600d06631dc05333ddeb63ebdfda16e
commit 3451a7035600d06631dc05333ddeb63ebdfda16e
Author: Chuanhong Guo <gch981213 at gmail.com>
AuthorDate: Sat Nov 2 22:24:21 2024 +0800
kernel: can: package driver for Geschwister Schneider interface
Package gs_usb CAN driver, which is for Geschwister Schneider and
bytewerk.org candleLight compatible USB/CAN interfaces.
Signed-off-by: Chuanhong Guo <gch981213 at gmail.com>
(cherry picked from commit ef4df2b5e9d66a6461982a0a81f928abb0f6a074)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
package/kernel/linux/modules/can.mk | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/package/kernel/linux/modules/can.mk b/package/kernel/linux/modules/can.mk
index c86d02d8de..1a4c81cc31 100644
--- a/package/kernel/linux/modules/can.mk
+++ b/package/kernel/linux/modules/can.mk
@@ -245,6 +245,25 @@ endef
$(eval $(call KernelPackage,can-usb-esd))
+define KernelPackage/can-usb-gs
+ TITLE:=Geschwister Schneider UG interfaces
+ KCONFIG:=CONFIG_CAN_GS_USB
+ FILES:= \
+ $(LINUX_DIR)/drivers/net/can/usb/gs_usb.ko
+ AUTOLOAD:=$(call AutoProbe,gs_usb)
+ $(call AddDepends/can,+kmod-usb-core)
+endef
+
+define KernelPackage/can-usb-gsr/description
+ This driver supports the Geschwister Schneider and
+ bytewerk.org candleLight compatible
+ (https://github.com/candle-usb/candleLight_fw) USB/CAN
+ interfaces.
+endef
+
+$(eval $(call KernelPackage,can-usb-gs))
+
+
define KernelPackage/can-usb-kvaser
TITLE:=Kvaser CAN/USB interface
KCONFIG:=CONFIG_CAN_KVASER_USB
More information about the lede-commits
mailing list