[openwrt/openwrt] kernel: can: package driver for Geschwister Schneider interface

LEDE Commits lede-commits at lists.infradead.org
Sun Nov 3 05:44:09 PST 2024


981213 pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ef4df2b5e9d66a6461982a0a81f928abb0f6a074

commit ef4df2b5e9d66a6461982a0a81f928abb0f6a074
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>
---
 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