From: Chuanhong Guo Date: Sat, 2 Nov 2024 14:24:21 +0000 (+0800) Subject: kernel: can: package driver for Geschwister Schneider interface X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ef4df2b5e9d66a6461982a0a81f928abb0f6a074;p=openwrt%2Fstaging%2Fwigyori.git 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 --- 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