Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed9eccbe authored by David Schleef's avatar David Schleef Committed by Greg Kroah-Hartman
Browse files

Staging: add comedi core



This adds the Comedi core to the staging tree.
This is a data acquision infrastructure for Linux, providing a common
interface for these types of drivers.

Taken directly from the comedi git tree, with only minor tweaks
by Greg to get it to build properly within the kernel tree.

From: David Schleef <ds@schleef.org>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Shawn Bohrer <shawn.bohrer@gmail.com>
Signed-off-by: default avatarFrank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 535deaa3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -71,5 +71,7 @@ source "drivers/staging/rt2860/Kconfig"

source "drivers/staging/benet/Kconfig"

source "drivers/staging/comedi/Kconfig"

endif # !STAGING_EXCLUDE_BUILD
endif # STAGING
+1 −0
Original line number Diff line number Diff line
@@ -18,3 +18,4 @@ obj-$(CONFIG_AGNX) += agnx/
obj-$(CONFIG_OTUS)		+= otus/
obj-$(CONFIG_RT2860)		+= rt2860/
obj-$(CONFIG_BENET)		+= benet/
obj-$(CONFIG_COMEDI)		+= comedi/
+13 −0
Original line number Diff line number Diff line
config COMEDI
	tristate "Data Acquision support (comedi)"
	default N
	---help---
	  Enable support a wide range of data acquision devices
	  for Linux.

config COMEDI_RT
	tristate "Comedi Real-time support"
	depends on COMEDI && RT
	default N
	---help---
	  Enable Real time support for the Comedi core.
+14 −0
Original line number Diff line number Diff line
obj-$(CONFIG_COMEDI) += comedi.o
obj-$(CONFIG_COMEDI_RT) += comedi_rt.o

comedi-objs :=		\
	comedi_fops.o	\
	proc.o		\
	range.o		\
	drivers.o	\
	comedi_compat32.o \
	comedi_ksyms.o	\

comedi_rt-objs :=	\
	rt_pend_tq.o	\
	rt.o
+14 −0
Original line number Diff line number Diff line
TODO:
	- checkpatch.pl cleanups
	- Lindent
	- remove all wrappers
	- remove typedefs
	- audit userspace interface
	- reserve major number
	- cleanup the individual comedi drivers as well

Please send patches to Greg Kroah-Hartman <greg@kroah.com> and
copy:
	Ian Abbott <abbotti@mev.co.uk>
	Frank Mori Hess <fmhess@users.sourceforge.net>
	David Schleef <ds@schleef.org>
Loading