Skip to content

Commit

Permalink
Staging: add comedi core
Browse files Browse the repository at this point in the history
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: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
David Schleef authored and Greg Kroah-Hartman committed Jan 6, 2009
1 parent 535deaa commit ed9eccb
Show file tree
Hide file tree
Showing 21 changed files with 6,460 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/staging/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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 change: 1 addition & 0 deletions drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 13 additions & 0 deletions drivers/staging/comedi/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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 changes: 14 additions & 0 deletions drivers/staging/comedi/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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 changes: 14 additions & 0 deletions drivers/staging/comedi/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
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

0 comments on commit ed9eccb

Please sign in to comment.