kernel: can: package driver for Geschwister Schneider interface
authorChuanhong Guo <gch981213@gmail.com>
Sat, 2 Nov 2024 14:24:21 +0000 (22:24 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Sun, 3 Nov 2024 02:48:13 +0000 (10:48 +0800)
Package gs_usb CAN driver, which is for Geschwister Schneider and
bytewerk.org candleLight compatible USB/CAN interfaces.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
package/kernel/linux/modules/can.mk

index c86d02d8deeab04687a65344b8fc1327107253dc..1a4c81cc31c53cd6475208c7b71be59e71d8b267 100644 (file)
@@ -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