Procházet zdrojové kódy

kernel: add garmin_gps module

OpenWrt on sailboats
requested: https://forum.openwrt.org/viewtopic.php?id=56586

Signed-off-by: Dirk Neukirchen <[email protected]>

SVN-Revision: 45232
John Crispin před 10 roky
rodič
revize
63442803af
1 změnil soubory, kde provedl 15 přidání a 0 odebrání
  1. 15 0
      package/kernel/linux/modules/usb.mk

+ 15 - 0
package/kernel/linux/modules/usb.mk

@@ -631,6 +631,21 @@ endef
 $(eval $(call KernelPackage,usb-serial-ftdi))
 
 
+define KernelPackage/usb-serial-garmin
+  TITLE:=Support for Garmin GPS devices
+  KCONFIG:=CONFIG_USB_SERIAL_GARMIN
+  FILES:=$(LINUX_DIR)/drivers/usb/serial/garmin_gps.ko
+  AUTOLOAD:=$(call AutoProbe,garmin_gps)
+  $(call AddDepends/usb-serial)
+endef
+
+define KernelPackage/usb-serial-garmin/description
+ Should work with most Garmin GPS devices which have a native USB port.
+endef
+
+$(eval $(call KernelPackage,usb-serial-garmin))
+
+
 define KernelPackage/usb-serial-ti-usb
   TITLE:=Support for TI USB 3410/5052
   KCONFIG:=CONFIG_USB_SERIAL_TI