Staging: comedi: usbdux: don't initialize semaphores on init
This patch removes usbdux semaphores initialization
from init function as they are initialized later on in
probe function. Also remove init_usb_devices() as it is
not needed anymore.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Cc: Bernd Porr <BerndPorr@f2s.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Staging: comedi: usbduxfast: don't initialize semaphores on init
This patch removes usbduxfast semaphores initialization
from init function as they are initialized later on in
probe function. Also remove init_usb_devices() as it is
not needed anymore.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Cc: Bernd Porr <BerndPorr@f2s.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
From: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian Abbott [Mon, 9 Feb 2009 16:32:12 +0000 (16:32 +0000)]
Staging: comedi: newer gcc warning fixes
Fix GCC warning in call to request_module(): "format not a string
literal and no format arguments".
From: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian Abbott [Tue, 16 Dec 2008 13:09:56 +0000 (13:09 +0000)]
Staging: comedi: comedi_rt_task_context_t fix
Fix redefinition of macro comedi_rt_task_context_t
From: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Frank Mori Hess [Mon, 15 Dec 2008 13:48:47 +0000 (13:48 +0000)]
Staging: comedi: fix bug with invalid minor number usage.
Return error instead of segfaulting if user trys to run comedi_config on
a device file with and invalid minor number.
From: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian Abbott [Tue, 9 Dec 2008 11:07:22 +0000 (11:07 +0000)]
Staging: comedi: Make comedi_auto_config() succeed when auto-configuration disabled.
Otherwise it would not work properly.
From: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
usbdux and usbduxfast upload now their firmware via the firmware kernel
meachanism. No udev rules are needed for that except the default ones.
The firmware will usually be loaded from /lib/firmware. Upload via
comedi_config is still possible for static comedi devices
(comedi_num_legacy_minors>0).
Frank, thanks for the example code which sped up rewriting of the code
substantially.
From: Bernd Porr <BerndPorr@f2s.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
As suggested the legacy device count is set to zero. A new module
parameter for comedi_fops allows setting the number of legacy devices:
comedi_num_legacy_minors. The default is zero.
From: Bernd Porr <BerndPorr@f2s.com> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian Abbott [Mon, 8 Dec 2008 17:05:50 +0000 (17:05 +0000)]
Staging: comedi: Add a module parameter 'comedi_autoconfig'.
Set it to 0 or 'N' to disable autoconfiguration.
It is enabled by default.
From: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Frank Mori Hess [Sat, 6 Dec 2008 15:43:23 +0000 (15:43 +0000)]
Staging: comedi: usbduxfast bugfix
Fixed bug in firmware loading with multiple usbduxfast boards.
From: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian Abbott [Wed, 3 Dec 2008 10:58:33 +0000 (10:58 +0000)]
Staging: comedi: new devices for ni_pcimio.c
Added PXI-6224 based on report by Romain Bossart of equivalence to PCI-6224.
From: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Frank Mori Hess [Mon, 17 Nov 2008 21:36:45 +0000 (21:36 +0000)]
Staging: comedi: Added reading of board serial number from eeprom for m-series boards
Nothing is done with it yet, eventually it will be made available to
user-space via a readable file in sysfs.
From: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Coding style cleanups, but it needs some rework to make it sane.
Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Clean up lots of coding style issues in the addi-data header
files.
Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Staging: comedi: add new drivers to the kernel build
This adds all of the recently added drivers to the build system.
Also splits out the pcmcia drivers so we don't get build errors when we
don't want to.
Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Blaine Lee [Thu, 19 Feb 2009 18:24:49 +0000 (10:24 -0800)]
Staging: comedi: add pcm3730 driver
Driver for PCM3730 and clones
From: Blaine Lee <blee@tellurian-inc.com> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Driver for Mechatronic Systems Inc. C6x_DIGIO DSP daughter card
Written by Dan Block, email address unknown
Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 18:11:27 +0000 (10:11 -0800)]
Staging: comedi: add dt3000 driver
Driver for DataTranslation DT3000 devices
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 18:10:52 +0000 (10:10 -0800)]
Staging: comedi: add dt282x driver
Driver for DataTranslation DT2821 series cards
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 18:09:58 +0000 (10:09 -0800)]
Staging: comedi: add dt2817 driver
Driver for DataTranslation DT2817
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 18:09:38 +0000 (10:09 -0800)]
Staging: comedi: add dt2815 driver
Driver for DataTranslation DT2815
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 18:08:53 +0000 (10:08 -0800)]
Staging: comedi: add dt2814 driver
Driver for DataTranslation DT2814
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 18:08:26 +0000 (10:08 -0800)]
Staging: comedi: add dt2811 driver
Driver for DataTranslation DT2811
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 18:07:50 +0000 (10:07 -0800)]
Staging: comedi: add dt2601 driver
Driver for DataTranslation DT2801
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Driver for National Instruments PCMCIA DAQ-Card DIO-24
From: Daniel Vecino Castel <dvecino@able.es> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Fred Brooks [Thu, 19 Feb 2009 18:05:01 +0000 (10:05 -0800)]
Staging: comedi: add ni_daq_700 driver
Driver for National Instruments PCMCIA DAQCard-700 DIO only
From: Fred Brooks <nsaspook@nsaspook.com> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Chris R. Baugher [Thu, 19 Feb 2009 18:03:23 +0000 (10:03 -0800)]
Staging: comedi: add ni_at_atmio16d driver
Driver for National Instruments AT-MIO16D board
From: Chris R. Baugher <baugher@enteract.com> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Frank Mori Hess [Thu, 19 Feb 2009 18:01:19 +0000 (10:01 -0800)]
Staging: comedi: add ni_at_a2150 driver
Driver for National Instruments AT-A2150
From: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 17:58:16 +0000 (09:58 -0800)]
Staging: comedi: add das16 driver
Driver for DAS16 compatible boards
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Frank Mori Hess [Thu, 19 Feb 2009 17:57:07 +0000 (09:57 -0800)]
Staging: comedi: add das800 driver
Driver for Keitley das800 series boards and compatibles
From: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Frank Mori Hess [Thu, 19 Feb 2009 17:51:15 +0000 (09:51 -0800)]
Staging: comedi: add das1800 driver
Driver for Keitley das1700/das1800 series boards
From: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 17:47:26 +0000 (09:47 -0800)]
Staging: comedi: add ni_pcidio driver
Driver for National Instruments PCI-DIO-96/PCI-6508, PCI-DIO-32HS, and
PCI-6503 cards.
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 17:46:36 +0000 (09:46 -0800)]
Staging: comedi: add ni_at_ao driver
Driver for National Instruments AT-AO-6/10 cards
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
J.P. Mellor [Thu, 19 Feb 2009 17:42:53 +0000 (09:42 -0800)]
Staging: comedi: add ni_660x driver
Driver for National Instruments 660x counter/timer boards (PCI-6601,
PCI-6602, PXI-6602, and PXI-6608)
From: J.P. Mellor <jpmellor@rose-hulman.edu> Cc: Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be> Cc: Wim Meeussen <Wim.Meeussen@mech.kuleuven.ac.be> Cc: Klass Gadeyne <Klaas.Gadeyne@mech.kuleuven.ac.be> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jon Grierson [Thu, 19 Feb 2009 17:42:01 +0000 (09:42 -0800)]
Staging: comedi: add ni_65xx driver
Driver for National Instruments PCI-6514
From: Jon Grierson <jd@renko.co.uk> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 17:40:31 +0000 (09:40 -0800)]
Staging: comedi: add ni_6527 driver
Driver for National Instruments PCI-6527
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Drew Csillag [Thu, 19 Feb 2009 17:38:46 +0000 (09:38 -0800)]
Staging: comedi: add pcm3724 driver
Driver Advantech PCM-3724 card
From: Drew Csillag <drew_csillag@yahoo.com> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ivan Martinez [Thu, 19 Feb 2009 17:35:58 +0000 (09:35 -0800)]
Staging: comedi: add cb_pcidda driver
Driver for the ComputerBoards / MeasurementComputing PCI-DDA series.
From: Ivan Martinez <ivanmr@altavista.com> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Frank Mori Hess [Thu, 19 Feb 2009 17:32:42 +0000 (09:32 -0800)]
Staging: comedi: add cb_pcidas64 driver
Driver for the ComputerBoards/MeasurementComputing PCI-DAS
64xx, 60xx, and 4020 cards.
From: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Juan Grigera [Thu, 19 Feb 2009 17:30:57 +0000 (09:30 -0800)]
Staging: comedi: add pcl816 driver
Driver for Advantech PCL-816 and PCL-814
From: Juan Grigera <juan@grigera.com.ar> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
From: José Luis Sánchez <jsanchezv@teleline.es> Cc: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 17:29:20 +0000 (09:29 -0800)]
Staging: comedi: add pcl726 driver
Driver for Advantech PCL-726 & compatibles
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 19 Feb 2009 17:28:27 +0000 (09:28 -0800)]
Staging: comedi: add pcl725 driver
Driver for Advantech PCL-725 & compatibles
From: David Schleef <ds@schleef.org> Cc: Ian Abbott <abbotti@mev.co.uk> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>