diff options
author | Stephen Walker <stephendwalker+github@gmail.com> | 2016-06-29 18:34:50 -0400 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-06-30 22:48:39 +0200 |
commit | 66b67b743ffa2a55b64aeda4fe5e54da33227f43 (patch) | |
tree | 02b02ab1337c62c3b5cf9b82aecae56fb4fb86fe /package/kernel/linux/modules/other.mk | |
parent | 559a7d1177fcbb4e276f864f465fce9297624eaf (diff) | |
download | upstream-66b67b743ffa2a55b64aeda4fe5e54da33227f43.tar.gz upstream-66b67b743ffa2a55b64aeda4fe5e54da33227f43.tar.bz2 upstream-66b67b743ffa2a55b64aeda4fe5e54da33227f43.zip |
kernel: other.mk: add pps-ldisc support
The pps-ldisc kernel module supports Pulse-Per-Second connected with the CD (Carrier Detect) pin.
Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
Diffstat (limited to 'package/kernel/linux/modules/other.mk')
-rw-r--r-- | package/kernel/linux/modules/other.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 55fd455f06..85f7016673 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -825,6 +825,23 @@ endef $(eval $(call KernelPackage,pps-gpio)) +define KernelPackage/pps-ldisc + SUBMENU:=$(OTHER_MENU) + TITLE:=PPS line discipline + DEPENDS:=+kmod-pps + KCONFIG:=CONFIG_PPS_CLIENT_LDISC + FILES:=$(LINUX_DIR)/drivers/pps/clients/pps-ldisc.ko + AUTOLOAD:=$(call AutoLoad,18,pps-ldisc,1) +endef + +define KernelPackage/pps-ldisc/description + Support for a PPS source connected with the CD (Carrier + Detect) pin of your serial port. +endef + +$(eval $(call KernelPackage,pps-ldisc)) + + define KernelPackage/ptp SUBMENU:=$(OTHER_MENU) TITLE:=PTP clock support |