aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2017-04-20 14:40:05 +0200
committerJohn Crispin <john@phrozen.org>2017-05-16 12:10:39 +0200
commita131b892ea4abc08b7ec75d047f22f1716f74209 (patch)
tree883794c130c26b1b822cfb1544843f835b9c645a /package/kernel/linux
parent10d11859dfbad0b4482d1a50b20ef91eeeeca2d7 (diff)
downloadupstream-a131b892ea4abc08b7ec75d047f22f1716f74209.tar.gz
upstream-a131b892ea4abc08b7ec75d047f22f1716f74209.tar.bz2
upstream-a131b892ea4abc08b7ec75d047f22f1716f74209.zip
kernel: add Digi Edgeport USB serial driver package
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/usb.mk39
1 files changed, 39 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 591ba0a081..b0375dcb61 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -503,6 +503,45 @@ endef
$(eval $(call KernelPackage,usb-serial-ch341))
+define KernelPackage/usb-serial-edgeport
+ TITLE:=Support for Digi Edgeport devices
+ KCONFIG:=CONFIG_USB_SERIAL_EDGEPORT
+ FILES:=$(LINUX_DIR)/drivers/usb/serial/io_edgeport.ko
+ AUTOLOAD:=$(call AutoProbe,io_edgeport)
+ $(call AddDepends/usb-serial)
+endef
+
+define KernelPackage/usb-serial-edgeport/description
+ Kernel support for Inside Out Networks (Digi)
+ Edgeport/4
+ Rapidport/4
+ Edgeport/4t
+ Edgeport/2
+ Edgeport/4i
+ Edgeport/2i
+ Edgeport/421
+ Edgeport/21
+ Edgeport/8
+ Edgeport/8 Dual
+ Edgeport/2D8
+ Edgeport/4D8
+ Edgeport/8i
+ Edgeport/2 DIN
+ Edgeport/4 DIN
+ Edgeport/16 Dual
+endef
+
+define KernelPackage/usb-serial-edgeport/install
+ $(INSTALL_DIR) $(1)/lib/firmware/edgeport
+ $(INSTALL_DATA) $(LINUX_DIR)/firmware/edgeport/boot.fw $(1)/lib/firmware/edgeport/
+ $(INSTALL_DATA) $(LINUX_DIR)/firmware/edgeport/boot2.fw $(1)/lib/firmware/edgeport/
+ $(INSTALL_DATA) $(LINUX_DIR)/firmware/edgeport/down.fw $(1)/lib/firmware/edgeport/
+ $(INSTALL_DATA) $(LINUX_DIR)/firmware/edgeport/down2.fw $(1)/lib/firmware/edgeport/
+endef
+
+$(eval $(call KernelPackage,usb-serial-edgeport))
+
+
define KernelPackage/usb-serial-ftdi
TITLE:=Support for FTDI devices
KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO