GitHub/mt8127/android_kernel_alcatel_ttab.git
15 years agoStaging: comedi: Remove boardtype typedef in adl_pci9118.c
Bill Pemberton [Tue, 17 Mar 2009 02:07:52 +0000 (22:07 -0400)]
Staging: comedi: Remove boardtype typedef in adl_pci9118.c

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove C99 style comments in adl_pci9111.c
Bill Pemberton [Tue, 17 Mar 2009 02:07:46 +0000 (22:07 -0400)]
Staging: comedi: Remove C99 style comments in adl_pci9111.c

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove pci9111_ISC0_sources typedef
Bill Pemberton [Tue, 17 Mar 2009 02:07:41 +0000 (22:07 -0400)]
Staging: comedi: Remove pci9111_ISC0_sources typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove pci9111_trigger_sources typedef
Bill Pemberton [Tue, 17 Mar 2009 02:07:36 +0000 (22:07 -0400)]
Staging: comedi: Remove pci9111_trigger_sources typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove pci9111_private_data typedef
Bill Pemberton [Tue, 17 Mar 2009 02:07:30 +0000 (22:07 -0400)]
Staging: comedi: Remove pci9111_private_data typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove pci9111_board_struct typedef
Bill Pemberton [Tue, 17 Mar 2009 02:07:25 +0000 (22:07 -0400)]
Staging: comedi: Remove pci9111_board_struct typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove adl_pci8164_private typedef
Bill Pemberton [Tue, 17 Mar 2009 02:07:19 +0000 (22:07 -0400)]
Staging: comedi: Remove adl_pci8164_private typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove adl_pci7432_private typedef
Bill Pemberton [Tue, 17 Mar 2009 02:07:14 +0000 (22:07 -0400)]
Staging: comedi: Remove adl_pci7432_private typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove adl_pci7296_private typedef
Bill Pemberton [Tue, 17 Mar 2009 02:07:09 +0000 (22:07 -0400)]
Staging: comedi: Remove adl_pci7296_private typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove pci6208_private typedef
Bill Pemberton [Tue, 17 Mar 2009 02:07:03 +0000 (22:07 -0400)]
Staging: comedi: Remove pci6208_private typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove pci6208_board typedef
Bill Pemberton [Tue, 17 Mar 2009 02:06:58 +0000 (22:06 -0400)]
Staging: comedi: Remove pci6208_board typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove DMABUF typedef
Bill Pemberton [Tue, 17 Mar 2009 02:06:47 +0000 (22:06 -0400)]
Staging: comedi: Remove DMABUF typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_bufinfo typedef
Bill Pemberton [Tue, 17 Mar 2009 02:06:42 +0000 (22:06 -0400)]
Staging: comedi: Remove comedi_bufinfo typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_bufconfig typedef
Bill Pemberton [Tue, 17 Mar 2009 02:06:37 +0000 (22:06 -0400)]
Staging: comedi: Remove comedi_bufconfig typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_krange typedef
Bill Pemberton [Tue, 17 Mar 2009 02:06:31 +0000 (22:06 -0400)]
Staging: comedi: Remove comedi_krange typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_rangeinfo typedef
Bill Pemberton [Tue, 17 Mar 2009 02:06:26 +0000 (22:06 -0400)]
Staging: comedi: Remove comedi_rangeinfo typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_devconfig typedef
Bill Pemberton [Tue, 17 Mar 2009 02:06:20 +0000 (22:06 -0400)]
Staging: comedi: Remove comedi_devconfig typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_devinfo typedef
Bill Pemberton [Tue, 17 Mar 2009 02:06:15 +0000 (22:06 -0400)]
Staging: comedi: Remove comedi_devinfo typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_subdinfo typedef
Bill Pemberton [Tue, 17 Mar 2009 02:06:09 +0000 (22:06 -0400)]
Staging: comedi: Remove comedi_subdinfo typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_chaninfo typedef
Bill Pemberton [Tue, 17 Mar 2009 02:06:04 +0000 (22:06 -0400)]
Staging: comedi: Remove comedi_chaninfo typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_insnlist typedef
Bill Pemberton [Tue, 17 Mar 2009 02:05:59 +0000 (22:05 -0400)]
Staging: comedi: Remove comedi_insnlist typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_insn typedef
Bill Pemberton [Tue, 17 Mar 2009 02:05:53 +0000 (22:05 -0400)]
Staging: comedi: Remove comedi_insn typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_cmd typedef
Bill Pemberton [Tue, 17 Mar 2009 02:05:47 +0000 (22:05 -0400)]
Staging: comedi: Remove comedi_cmd typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_trig typedef
Bill Pemberton [Tue, 17 Mar 2009 02:05:42 +0000 (22:05 -0400)]
Staging: comedi: Remove comedi_trig typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove device_create_result_type typedef
Bill Pemberton [Tue, 17 Mar 2009 02:05:36 +0000 (22:05 -0400)]
Staging: comedi: Remove device_create_result_type typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_lrange typedef
Bill Pemberton [Tue, 17 Mar 2009 02:05:31 +0000 (22:05 -0400)]
Staging: comedi: Remove comedi_lrange typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_driver typedef
Bill Pemberton [Tue, 17 Mar 2009 02:05:25 +0000 (22:05 -0400)]
Staging: comedi: Remove comedi_driver typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_async typedef
Bill Pemberton [Tue, 17 Mar 2009 02:05:20 +0000 (22:05 -0400)]
Staging: comedi: Remove comedi_async typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_subdevice typedef
Bill Pemberton [Tue, 17 Mar 2009 02:05:14 +0000 (22:05 -0400)]
Staging: comedi: Remove comedi_subdevice typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_device typedef
Bill Pemberton [Tue, 17 Mar 2009 02:05:08 +0000 (22:05 -0400)]
Staging: comedi: Remove comedi_device typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove lsampl_t and sampl_t typedefs
Bill Pemberton [Tue, 17 Mar 2009 02:05:02 +0000 (22:05 -0400)]
Staging: comedi: Remove lsampl_t and sampl_t typedefs

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi_t typedef
Bill Pemberton [Tue, 17 Mar 2009 02:04:56 +0000 (22:04 -0400)]
Staging: comedi: Remove comedi_t typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove V_FP_V typedef
Bill Pemberton [Tue, 17 Mar 2009 02:04:50 +0000 (22:04 -0400)]
Staging: comedi: Remove V_FP_V typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove s626_board typedef
Bill Pemberton [Tue, 17 Mar 2009 02:04:45 +0000 (22:04 -0400)]
Staging: comedi: Remove s626_board typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove rtdBoard typedef
Bill Pemberton [Tue, 17 Mar 2009 02:04:40 +0000 (22:04 -0400)]
Staging: comedi: Remove rtdBoard typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove boardtype typedef
Bill Pemberton [Tue, 17 Mar 2009 02:04:34 +0000 (22:04 -0400)]
Staging: comedi: Remove boardtype typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove comedi32_chaninfo_struct typedef
Bill Pemberton [Tue, 17 Mar 2009 02:04:29 +0000 (22:04 -0400)]
Staging: comedi: Remove comedi32_chaninfo_struct typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove curly braces where they are not needed
Bill Pemberton [Tue, 17 Mar 2009 02:04:23 +0000 (22:04 -0400)]
Staging: comedi: Remove curly braces where they are not needed

Changes as suggested by checkpatch.pl.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove checks for NULL before calling kfree()
Bill Pemberton [Tue, 17 Mar 2009 02:04:18 +0000 (22:04 -0400)]
Staging: comedi: Remove checks for NULL before calling kfree()

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Misc code cleanups for checkpatch
Bill Pemberton [Tue, 17 Mar 2009 02:04:12 +0000 (22:04 -0400)]
Staging: comedi: Misc code cleanups for checkpatch

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Add spaces around colons as requested by checkpatch
Bill Pemberton [Tue, 17 Mar 2009 02:04:07 +0000 (22:04 -0400)]
Staging: comedi: Add spaces around colons as requested by checkpatch

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Fix cases of open curly on wrong line
Bill Pemberton [Tue, 17 Mar 2009 02:04:02 +0000 (22:04 -0400)]
Staging: comedi: Fix cases of open curly on wrong line

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Move trailing statements to next line as requested by checkpatch
Bill Pemberton [Tue, 17 Mar 2009 02:03:56 +0000 (22:03 -0400)]
Staging: comedi: Move trailing statements to next line as requested by checkpatch

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Remove instances of assignments in conditionals
Bill Pemberton [Tue, 17 Mar 2009 02:03:51 +0000 (22:03 -0400)]
Staging: comedi: Remove instances of assignments in conditionals

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Add spaces around parens as requested by checkpatch.pl
Bill Pemberton [Tue, 17 Mar 2009 02:03:45 +0000 (22:03 -0400)]
Staging: comedi: Add spaces around parens as requested by checkpatch.pl

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Add spaces around colons as needed
Bill Pemberton [Tue, 17 Mar 2009 02:03:40 +0000 (22:03 -0400)]
Staging: comedi: Add spaces around colons as needed

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Add spaces after commas where suggested by checkpatch.pl
Bill Pemberton [Tue, 17 Mar 2009 02:03:35 +0000 (22:03 -0400)]
Staging: comedi: Add spaces after commas where suggested by checkpatch.pl

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Change "foo * bar" to "foo *bar"
Bill Pemberton [Tue, 17 Mar 2009 02:03:29 +0000 (22:03 -0400)]
Staging: comedi: Change "foo * bar" to "foo *bar"

Removes checkpatch.pl errors

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Convert C99 style comments to traditional style comments
Bill Pemberton [Tue, 17 Mar 2009 02:03:24 +0000 (22:03 -0400)]
Staging: comedi: Convert C99 style comments to traditional style comments

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: remove unnecessary #include <linux/version.h>
Mariusz Kozlowski [Tue, 3 Mar 2009 18:38:38 +0000 (19:38 +0100)]
Staging: comedi: remove unnecessary #include <linux/version.h>

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
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>
15 years agoStaging: comedi: remove LINUX_VERSION_CODE checks
Mariusz Kozlowski [Tue, 3 Mar 2009 18:38:37 +0000 (19:38 +0100)]
Staging: comedi: remove LINUX_VERSION_CODE checks

Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
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>
15 years agoStaging: comedi: usbdux: annotate __init and __exit functions
Mariusz Kozlowski [Tue, 3 Mar 2009 18:38:36 +0000 (19:38 +0100)]
Staging: comedi: usbdux: annotate __init and __exit functions

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>
15 years agoStaging: comedi: usbdux: don't initialize semaphores on init
Mariusz Kozlowski [Tue, 3 Mar 2009 18:38:35 +0000 (19:38 +0100)]
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>
15 years agoStaging: comedi: usbdux: remove .bss variable initialization
Mariusz Kozlowski [Tue, 3 Mar 2009 18:38:34 +0000 (19:38 +0100)]
Staging: comedi: usbdux: remove .bss variable initialization

This patch removes explicit zeroing of usbduxsub
variable on init because it is in .bss section.

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>
15 years agoStaging: comedi: usbduxfast: balance semaphores up/down in attach error path
Mariusz Kozlowski [Tue, 3 Mar 2009 18:38:33 +0000 (19:38 +0100)]
Staging: comedi: usbduxfast: balance semaphores up/down in attach error path

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>
15 years agoStaging: comedi: usbduxfast: don't initialize semaphores on init
Mariusz Kozlowski [Tue, 3 Mar 2009 18:38:32 +0000 (19:38 +0100)]
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>
15 years agoStaging: comedi: usbduxfast: remove .bss variable initialization
Mariusz Kozlowski [Tue, 3 Mar 2009 18:38:31 +0000 (19:38 +0100)]
Staging: comedi: usbduxfast: remove .bss variable initialization

This patch removes explicit zeroing of usbduxfastsub
variable on init because it is in .bss section.

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>
15 years agoStaging: comedi: usbduxfast: fix run-time error
Bernd Porr [Wed, 11 Mar 2009 21:17:37 +0000 (14:17 -0700)]
Staging: comedi: usbduxfast: fix run-time error

If debugging is enabled, this printk will oops, fix that issue.

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>
15 years agoStaging: comedi: comedi_open: Fix null pointer dereference.
Ian Abbott [Mon, 9 Feb 2009 16:51:38 +0000 (16:51 +0000)]
Staging: comedi: comedi_open: Fix null pointer dereference.

This can happen if other minor devices are used.

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>
15 years agoStaging: comedi: newer gcc warning fixes
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>
15 years agoStaging: comedi: Use explicit value for enumerated constant INSN_CONFIG_GET_HARDWARE_...
Ian Abbott [Fri, 30 Jan 2009 12:59:26 +0000 (12:59 +0000)]
Staging: comedi: Use explicit value for enumerated constant INSN_CONFIG_GET_HARDWARE_BUFFER_SIZE.

Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: David Schleef <ds@schleef.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: comedi_rt_task_context_t fix
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>
15 years agoStaging: comedi: fix bug with invalid minor number usage.
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>
15 years agoStaging: comedi: Added some validation of comedi module parameter values.
Frank Mori Hess [Mon, 15 Dec 2008 13:44:45 +0000 (13:44 +0000)]
Staging: comedi: Added some validation of comedi module parameter values.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Fixed minor numbers for subdevice files.
Frank Mori Hess [Tue, 9 Dec 2008 14:47:22 +0000 (14:47 +0000)]
Staging: comedi: Fixed minor numbers for subdevice files.

Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: Make comedi_auto_config() succeed when auto-configuration disabled.
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>
15 years agoStaging: comedi: usbdux[fast] firmware upload changes
Bernd Porr [Mon, 8 Dec 2008 23:30:13 +0000 (23:30 +0000)]
Staging: comedi: usbdux[fast] firmware upload changes

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>
15 years agoStaging: comedi: add comedi_usb_auto_[un]config functions
Bernd Porr [Mon, 8 Dec 2008 23:30:13 +0000 (23:30 +0000)]
Staging: comedi: add comedi_usb_auto_[un]config functions

This will be used by the usbdux and usbduxfast drivers.

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>
15 years agoStaging: comedi: add comedi_num_legacy_minors module parameter
Bernd Porr [Mon, 8 Dec 2008 23:30:13 +0000 (23:30 +0000)]
Staging: comedi: add comedi_num_legacy_minors module parameter

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>
15 years agoStaging: comedi: Add a module parameter 'comedi_autoconfig'.
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>
15 years agoStaging: comedi: usbduxfast bugfix
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>
15 years agoStaging: comedi: new devices for ni_pcimio.c
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>
15 years agoStaging: comedi: Added reading of board serial number from eeprom for m-series boards
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>
15 years agoStaging: comedi: addi-data: APCI1710_82x54 cleanups
Greg Kroah-Hartman [Fri, 20 Feb 2009 01:35:05 +0000 (17:35 -0800)]
Staging: comedi: addi-data: APCI1710_82x54 cleanups

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>
15 years agoStaging: comedi: addi-data header file cleanups
Greg Kroah-Hartman [Fri, 20 Feb 2009 01:09:52 +0000 (17:09 -0800)]
Staging: comedi: addi-data header file cleanups

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>
15 years agoStaging: comedi: add new drivers to the kernel build
Greg Kroah-Hartman [Thu, 19 Feb 2009 18:25:52 +0000 (10:25 -0800)]
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>
15 years agoStaging: comedi: add pcm3730 driver
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>
15 years agoStaging: comedi: add cb_pcidio driver
Yoshiya Matsuzaka [Thu, 19 Feb 2009 18:22:46 +0000 (10:22 -0800)]
Staging: comedi: add cb_pcidio driver

Driver for PCI-DIO24H & PCI-DIO48H of ComputerBoards (currently
MeasurementComputing)

From: Yoshiya Matsuzaka <matsuzay@mail.cc.tohoku.ac.jp>
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>
15 years agoStaging: comedi: add c6xdigio driver
Greg Kroah-Hartman [Thu, 19 Feb 2009 18:20:28 +0000 (10:20 -0800)]
Staging: comedi: add c6xdigio driver

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>
15 years agoStaging: comedi: add dt3000 driver
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>
15 years agoStaging: comedi: add dt282x driver
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>
15 years agoStaging: comedi: add dt2817 driver
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>
15 years agoStaging: comedi: add dt2815 driver
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>
15 years agoStaging: comedi: add dt2814 driver
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>
15 years agoStaging: comedi: add dt2811 driver
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>
15 years agoStaging: comedi: add dt2601 driver
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>
15 years agoStaging: comedi: add ni_daq_dio24 driver
Daniel Vecino Castel [Thu, 19 Feb 2009 18:05:52 +0000 (10:05 -0800)]
Staging: comedi: add ni_daq_dio24 driver

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>
15 years agoStaging: comedi: add ni_daq_700 driver
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>
15 years agoStaging: comedi: add ni_at_atmio16d driver
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>
15 years agoStaging: comedi: add ni_at_a2150 driver
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>
15 years agoStaging: comedi: add das16 driver
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>
15 years agoStaging: comedi: add das800 driver
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>
15 years agoStaging: comedi: add das6402 driver
Oystein Svendsen [Thu, 19 Feb 2009 17:52:05 +0000 (09:52 -0800)]
Staging: comedi: add das6402 driver

Driver for Computerboards' DAS6402 I/O card

From: Oystein Svendsen <svendsen@pvv.org>
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>
15 years agoStaging: comedi: add das1800 driver
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>
15 years agoStaging: comedi: add ni_pcidio driver
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>
15 years agoStaging: comedi: add ni_at_ao driver
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>
15 years agoStaging: comedi: add ni_670x driver
Bart Joris [Thu, 19 Feb 2009 17:44:57 +0000 (09:44 -0800)]
Staging: comedi: add ni_670x driver

Driver for National Instruments 670x

From: Bart Joris <bjoris@advalvas.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>
15 years agoStaging: comedi: add ni_660x driver
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>
15 years agoStaging: comedi: add ni_65xx driver
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>
15 years agoStaging: comedi: add ni_6527 driver
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>