OSDN Git Service
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>
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>
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>
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>
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>
Calin Culianu [Thu, 19 Feb 2009 17:37:13 +0000 (09:37 -0800)]
Staging: comedi: add cb_pcimdda driver
Driver for Measurement Computing PCIM-DDA06-16
From: Calin Culianu <calin@ajvar.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>
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>
José Luis Sánchez [Thu, 19 Feb 2009 17:30:05 +0000 (09:30 -0800)]
Staging: comedi: add pcl730 driver
Driver for Advantech PCL-730 & compatibles
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>
Calin Culianu [Thu, 19 Feb 2009 17:13:10 +0000 (09:13 -0800)]
Staging: comedi: add pcmmio and pcmuio drivers
Drivers for Winsystems PC-104 based multifunction IO board and 48
channel and 98 channel dio boards
From: Calin Culianu <calin@ajvar.org>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Perry J. Piplani [Thu, 19 Feb 2009 17:11:30 +0000 (09:11 -0800)]
Staging: comedi: add dmm32at driver
Driver for Diamond Systems mm32at
From: Perry J. Piplani <perry.j.piplani@nasa.gov>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman [Thu, 19 Feb 2009 19:24:06 +0000 (11:24 -0800)]
Staging: comedi: fix bus_id use in jr3_pci driver
bus_id is going away, so don't use it.
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Frank Mori Hess [Wed, 18 Feb 2009 23:29:44 +0000 (15:29 -0800)]
Staging: comedi: add das16m1 driver
Driver for Measurement Computing CIO-DAS16/M1
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 [Wed, 18 Feb 2009 23:28:40 +0000 (15:28 -0800)]
Staging: comedi: add cb_das16_cs driver
Driver for Computer Boards PC-CARD DAS16/16
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Allan Willcox [Wed, 18 Feb 2009 23:27:06 +0000 (15:27 -0800)]
Staging: comedi: add amplc_pci230 driver
Driver for Amplicon PCI230 and PCI260 Multifunction I/O boards
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Steve D Sharples <steve.sharples@nottingham.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian Abbott [Wed, 18 Feb 2009 23:25:54 +0000 (15:25 -0800)]
Staging: comedi: add amplc_pci224 driver
Driver for Amplicon PCI224 and PCI234 AO boards
From: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian Abbott [Wed, 18 Feb 2009 23:25:15 +0000 (15:25 -0800)]
Staging: comedi: add amplc_pc263 driver
Driver for Amplicon PC263 and PCI263 relay boards
From: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian Abbott [Wed, 18 Feb 2009 23:23:36 +0000 (15:23 -0800)]
Staging: comedi: add ampl_dio200 driver
Driver for Amplicon PC272E and PCI272 DIO boards
From: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Zachary Ware [Wed, 18 Feb 2009 23:22:13 +0000 (15:22 -0800)]
Staging: comedi: add aio_iiro_16 driver
Driver for Acces I/O Products PC-104 IIRO16 Relay And Isolated Input
Board
From: Zachary Ware <zach.ware@cctechnol.com>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Pablo Mejia [Wed, 18 Feb 2009 23:21:21 +0000 (15:21 -0800)]
Staging: comedi: add aio_aio12_8 driver
Diver for Acces I/O Products PC-104 AIO12-8 Analog I/O Board
From: Pablo Mejia <pablo.mejia@cctechnol.com>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michal Dobes [Wed, 18 Feb 2009 23:19:26 +0000 (15:19 -0800)]
Staging: comedi: add adv_pci_dio driver
Driver for Advantech PCI-1730, PCI-1733, PCI-1734, PCI-1736UP, PCI-1750,
PCI-1751, PCI-1752, PCI-1753, PCI-1753+PCI-1753E, PCI-1754, PCI-1756,
PCI-1760, PCI-1762 devices.
From: Michal Dobes <dobes@tesnet.cz>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian Abbott [Wed, 18 Feb 2009 23:15:44 +0000 (15:15 -0800)]
Staging: comedi: add adv_pci1723 driver
driver for Advantech PCI-1723 device
From: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Roel Kluin [Sun, 15 Feb 2009 19:28:15 +0000 (20:28 +0100)]
Staging: comedi: rtd520: &&/|| typo
Only error out on unexpected fifo size.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Dan Christian <dac@ptolemy.arc.nasa.gov>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Mariusz Kozlowski [Mon, 16 Feb 2009 20:31:29 +0000 (21:31 +0100)]
Staging: comedi: usbduxfast: annotate __init and __exit functions
This patch adds __init and __exit annotations to proper functions in the
usbduxfast driver.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Cc: Bernd Porr <BerndPorr@f2s.com>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Mariusz Kozlowski [Mon, 16 Feb 2009 20:31:28 +0000 (21:31 +0100)]
Staging: comedi: usbduxfast: fix checkpatch issues plus some style cleanups etc.
This patch is a major code rewrite to make checkpatch.pl happy and also
other minor things are fixed.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Cc: Bernd Porr <BerndPorr@f2s.com>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Mariusz Kozlowski [Mon, 16 Feb 2009 20:31:27 +0000 (21:31 +0100)]
Staging: comedi: usbduxfast: add comedi debug to Kconfig
This patch moves CONFIG_COMEDI_DEBUG to Kconfig and cleans up the code
as it didn't actually compile with debug enabled.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Cc: Bernd Porr <BerndPorr@f2s.com>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Mariusz Kozlowski [Mon, 16 Feb 2009 20:31:26 +0000 (21:31 +0100)]
Staging: comedi: usbduxfast: remove kernel version checks
This patch removes kernel version checks from usbduxfast driver as the
driver is in the main kernel tree now.
Signed-off-by: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Cc: Bernd Porr <BerndPorr@f2s.com>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Anders Blomdell [Wed, 18 Feb 2009 01:12:51 +0000 (17:12 -0800)]
Staging: comedi: add daqboard2000 driver
hardware driver for IOtech DAQboard/2000
From: Anders Blomdell <anders.blomdell@control.lth.se>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Wed, 18 Feb 2009 01:11:26 +0000 (17:11 -0800)]
Staging: comedi: add pcl711 driver
hardware driver for PC-LabCard PCL-711 and AdSys ACL-8112
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Janne Jalkanen <jalkanen@cs.hut.fi>
Cc: Eric Bunn <ebu@cs.hut.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Wed, 18 Feb 2009 01:08:54 +0000 (17:08 -0800)]
Staging: comedi: add pcmad driver
Hardware driver for Winsystems PCM-A/D12 and PCM-A/D16
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Calin Culianu [Wed, 18 Feb 2009 01:07:57 +0000 (17:07 -0800)]
Staging: comedi: add pcmda12 driver
Driver for Winsystems PC-104 based PCM-D/A-12 8-channel AO board.
From: Calin Culianu <calin@ajvar.org>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Wed, 18 Feb 2009 01:04:22 +0000 (17:04 -0800)]
Staging: comedi: add ni_mio_common code
Common code for DAQ-STC based boards. Other drivers #include
this file to take advantage of the functions here.
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Stefano Rivoir [Wed, 18 Feb 2009 01:02:04 +0000 (17:02 -0800)]
Staging: comedi: add contec_pci_dio driver
driver for Contec PIO1616L digital I/O board
From: Stefano Rivoir <s.rivoir@gts.it>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Wed, 18 Feb 2009 00:46:00 +0000 (16:46 -0800)]
Staging: comedi: add mpc8260 driver
driver for digital I/O pins on the MPC 8260 CPM module
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Stanislaw Raczynski [Wed, 18 Feb 2009 00:44:58 +0000 (16:44 -0800)]
Staging: comedi: add mpc624 driver
driver for a Micro/sys inc. MPC-624 PC/104 board
From: Stanislaw Raczynski <sraczynski@op.pl>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michael Hillmann [Wed, 18 Feb 2009 00:43:22 +0000 (16:43 -0800)]
Staging: comedi: add ke_counter driver
driver for Kolter-Electronic PCI Counter 1 Card
From: Michael Hillmann <hillmann@syscongroup.de>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Markus Kempf [Wed, 18 Feb 2009 00:31:49 +0000 (16:31 -0800)]
Staging: comedi: add ii_pci20kc driver
Driver for Intelligent Instruments PCI-20001C carrier board
and modules.
From: Markus Kempf <kempf@matsci.uni-sb.de>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Frank Mori Hess [Wed, 18 Feb 2009 00:30:02 +0000 (16:30 -0800)]
Staging: comedi: add gsc_hpdi driver
Driver for the General Standards Corporation High Speed Parallel Digital
Interface rs485 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>
Anders Gnistrup [Wed, 18 Feb 2009 00:29:02 +0000 (16:29 -0800)]
Staging: comedi: add fl212 driver
Driver for FL512 board
From: Anders Gnistrup <ex18@kalman.iau.dtu.dk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Anders Blomdell [Wed, 18 Feb 2009 00:27:42 +0000 (16:27 -0800)]
Staging: comedi: add multiq3 driver
Hardware driver for Quanser Consulting MultiQ-3 board
From: Anders Blomdell <anders.blomdell@control.lth.se>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David A. Schleef [Wed, 18 Feb 2009 00:25:39 +0000 (16:25 -0800)]
Staging: comedi: add poc driver
mini-drivers for POC (Piece of crap) boards. Currently
supports:
Keithley Metrabyte DAC-02
Advantech PCL-733, PCL-734
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Brent Baccala [Wed, 18 Feb 2009 00:24:32 +0000 (16:24 -0800)]
Staging: comedi: add quatech_daqp_cs driver
Driver for Quatech DAQP PCMCIA data capture cards
From: Brent Baccala <baccala@freesoft.org>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Anders Blomdell [Wed, 18 Feb 2009 00:23:41 +0000 (16:23 -0800)]
Staging: comedi: add rti802 driver
Driver for Analog Devices RTI-802 board
From: Anders Blomdell <anders.blomdell@control.lth.se>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Everett Wang [Wed, 18 Feb 2009 00:22:34 +0000 (16:22 -0800)]
Staging: comedi: add s526 driver
For Sensoray 526 devices
From: Everett Wang <everett.wang@everteq.com>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michal Dobes [Wed, 18 Feb 2009 00:21:06 +0000 (16:21 -0800)]
Staging: comedi: add pcl818 driver
For Advantech cards:
PCL-818L, PCL-818H, PCL-818HD, PCL-818HG, PCL-818, PCL-718
From: Michal Dobes <dobes@tesnet.cz>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michal Dobes [Wed, 18 Feb 2009 00:19:16 +0000 (16:19 -0800)]
Staging: comedi: add pcl821 driver
hardware driver for Advantech cards:
PCL-812, PCL-812PG, PCL-813, PCL-813B
and for ADlink cards:
ACL-8112DG, ACL-8112HG, ACL-8112PG, ACL-8113, ACL-8216
and for ICP DAS cards:
ISO-813, A-821PGH, A-821PGL, A-821PGL-NDA, A-822PGH, A-822PGL,
A-823PGH, A-823PGL, A-826PG
From: Michal Dobes <dobes@tesnet.cz>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michal Dobes [Wed, 18 Feb 2009 00:17:46 +0000 (16:17 -0800)]
Staging: comedi: add pcl724 driver
For Advantech cards:
PCL-724, PCL-722, PCL-731 ADLink ACL-7122, ACL-7124, PET-48DIO
From: Michal Dobes <dobes@tesnet.cz>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jon Grierson [Fri, 13 Feb 2009 00:20:31 +0000 (16:20 -0800)]
Staging: comedi: add adl_pci7296 driver
Driver for the Adlink PCI-7296 96 ch. digital io board
From: Jon Grierson <jd@renko.co.uk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Anders Blomdell [Fri, 13 Feb 2009 00:27:11 +0000 (16:27 -0800)]
Staging: comedi: add serial2002 driver
Driver for serial connected hardware
From: Anders Blomdell <anders.blomdell@control.lth.se>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Fri, 13 Feb 2009 00:26:16 +0000 (16:26 -0800)]
Staging: comedi: add skeleton driver
Example skeleton comedi driver
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Robert Schwebel [Fri, 13 Feb 2009 00:25:34 +0000 (16:25 -0800)]
Staging: comedi: add ssv_dnp driver
driver for SSV Embedded Systems' DIL/Net-PCs
From: Robert Schwebel <robert@schwebel.de>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Kruchinin Daniil [Fri, 13 Feb 2009 00:24:49 +0000 (16:24 -0800)]
Staging: comedi: add unioxx5 driver
Driver for Fastwel UNIOxx-5 (analog and digital i/o) boards
From: Kruchinin Daniil <asgard@etersoft.ru>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jeremy Theler [Fri, 13 Feb 2009 00:23:56 +0000 (16:23 -0800)]
Staging: comedi: add adq12b driver
driver for MicroAxial ADQ12-B data acquisition and control card
From: Jeremy Theler <thelerg@ib.cnea.gov.ar>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Emmanuel Pacaud [Fri, 13 Feb 2009 00:23:11 +0000 (16:23 -0800)]
Staging: comedi: add adl_pci9111 driver
Hardware driver for PCI9111 ADLink cards
From: Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michel Lachaine [Fri, 13 Feb 2009 00:22:25 +0000 (16:22 -0800)]
Staging: comedi: add adl_pci8164 driver
Driver for the Adlink PCI-8164 4 Axes Motion Control board
board
From: Michel Lachaine <mike@mikelachaine.ca>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michel Lachaine [Fri, 13 Feb 2009 00:21:11 +0000 (16:21 -0800)]
Staging: comedi: add adl_pci7432 driver
Driver for the Adlink PCI-7432 64 ch. isolated digital io board
From: Michel Lachaine <mike@mikelachaine.ca>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Fri, 13 Feb 2009 00:19:47 +0000 (16:19 -0800)]
Staging: comedi: add comedi_rt_timer virtual driver
virtual driver for using RTL timing sources
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Fri, 13 Feb 2009 00:09:00 +0000 (16:09 -0800)]
Staging: comedi: add das08 drivers
Supports [Keithley Metrabyte] DAS08 (isa-das08), [ComputerBoards] DAS08
(isa-das08), DAS08-PGM (das08-pgm), DAS08-PGH (das08-pgh), DAS08-PGL
(das08-pgl), DAS08-AOH (das08-aoh), DAS08-AOL (das08-aol), DAS08-AOM
(das08-aom), DAS08/JR-AO (das08/jr-ao), DAS08/JR-16-AO (das08jr-16-ao),
PCI-DAS08 (das08), PC104-DAS08 (pc104-das08), DAS08/JR/16 (das08jr/16)
[ComputerBoards] PCM-DAS08 (pcm-das08)
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Anders Blomdell [Fri, 13 Feb 2009 00:07:16 +0000 (16:07 -0800)]
Staging: comedi: add jr3_pci driver
hardware driver for JR3/PCI force sensor board
From: Anders Blomdell <anders.blomdell@control.lth.se>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 12 Feb 2009 23:54:06 +0000 (15:54 -0800)]
Staging: comedi: add nt_pcimio driver
Hardware driver for NI PCI-MIO E series cards
Supports PCI-MIO-16XE-10, PXI-6030E, PCI-MIO-16E-1, PCI-MIO-16E-4,
PCI-6014, PCI-6040E, PXI-6040E, PCI-6030E, PCI-6031E, PCI-6032E,
PCI-6033E, PCI-6071E, PCI-6023E, PCI-6024E, PCI-6025E, PXI-6025E,
PCI-6034E, PCI-6035E, PCI-6052E, PCI-6110, PCI-6111, PCI-6220,
PCI-6221, PCI-6224, PCI-6225, PCI-6229, PCI-6250, PCI-6251, PCIe-6251,
PCI-6254, PCI-6259, PCIe-6259, PCI-6280, PCI-6281, PXI-6281, PCI-6284,
PCI-6289, PCI-6711, PXI-6711, PCI-6713, PXI-6713, PXI-6071E,
PCI-6070E, PXI-6070E, PXI-6052E, PCI-6036E, PCI-6731, PCI-6733,
PXI-6733, PCI-6143, PXI-6143
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 12 Feb 2009 23:52:59 +0000 (15:52 -0800)]
Staging: comedi: add nt_mio_cs driver
Hardware driver for NI PCMCIA MIO E series cards
Supports DAQCard-AI-16XE-50 (ni_mio_cs), DAQCard-AI-16E-4,
DAQCard-6062E, DAQCard-6024E, DAQCard-6036E
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 12 Feb 2009 23:51:45 +0000 (15:51 -0800)]
Staging: comedi: add nt_atmio driver
Hardware driver for NI AT-MIO E series cards
Supports the AT-MIO-16E-2, AT-MIO-16E-10, AT-MIO-16DE-10,
AT-MIO-64E-3, AT-MIO-16XE-50, AT-MIO-16XE-10, AT-AI-16XE-10 cards
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Frank Mori Hess [Thu, 12 Feb 2009 23:49:25 +0000 (15:49 -0800)]
Staging: comedi: add ni_labpc drivers
This supports National Instruments Lab-PC 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>
Ivan Martinez [Thu, 12 Feb 2009 23:47:34 +0000 (15:47 -0800)]
Staging: comedi: add cb_pcidas driver
For MeasurementComputing PCI-DAS series with the AMCC S5933 PCI
controller
From: Ivan Martinez <imr@oersted.dtu.dk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michal Dobes [Thu, 12 Feb 2009 23:46:45 +0000 (15:46 -0800)]
Staging: comedi: add adv_pci1710 driver
For Advantech cards:
PCI-1710, PCI-1710HG, PCI-1711, PCI-1713, PCI-1720,
From: Michal Dobes <dobes@tesnet.cz>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michal Dobes [Thu, 12 Feb 2009 23:44:54 +0000 (15:44 -0800)]
Staging: comedi: add adl_pci9118 driver
For ADLink cards:
PCI-9118DG, PCI-9118HG, PCI-9118HR
From: Michal Dobes <dobes@tesnet.cz>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michal Dobes [Thu, 12 Feb 2009 23:44:03 +0000 (15:44 -0800)]
Staging: comedi: add amcc_s5933 header file
This is used for any AMCC S5933 PCI controller code
From: Michal Dobes <dobes@tesnet.cz>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Frank Mori Hess [Thu, 12 Feb 2009 23:39:24 +0000 (15:39 -0800)]
Staging: comedi: add National Instruments infrastructure
These drivers are used to support National Instruments general purpose
counters and commands.
From: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: David Schleef <ds@schleef.org>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Richard Bytheway [Thu, 12 Feb 2009 23:36:37 +0000 (15:36 -0800)]
Staging: comedi: add cb_pcimdas driver
For Measurement Computing PCI Migration series boards
From: Richard Bytheway <mocelet@sucs.org>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian Abbott [Thu, 12 Feb 2009 23:35:39 +0000 (15:35 -0800)]
Staging: comedi: add amplc_pc236 driver
for Amplicon PC36AT and PCI236 devices
From: Ian Abbott <abbotti@mev.co.uk>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 12 Feb 2009 23:34:40 +0000 (15:34 -0800)]
Staging: comedi: add plx9052 header file
This is used by multiple comedi drivers.
It is the definitions for the PLX-9052 PCI interface chip
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 12 Feb 2009 23:30:25 +0000 (15:30 -0800)]
Staging: comedi: add rti800 driver
for Analog Devices RTI-800/815 devices
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
nsyeow [Thu, 12 Feb 2009 23:28:32 +0000 (15:28 -0800)]
Staging: comedi: add adl_pci6208 driver
For ADLink PCI-6208A devices
From: nsyeow <nsyeow@pd.jaring.my>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
José Luis Sánchez [Thu, 12 Feb 2009 23:26:54 +0000 (15:26 -0800)]
Staging: comedi: add acl7225b driver
For Adlink NuDAQ ACL-7225b & compatibles
From: José Luis Sánchez <jsanchezv@teleline.es>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 12 Feb 2009 23:25:27 +0000 (15:25 -0800)]
Staging: comedi: add 8255 driver
The classic in digital I/O.
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David Schleef [Thu, 12 Feb 2009 23:23:59 +0000 (15:23 -0800)]
Staging: comedi: add 8253.h header
This is needed by a bunch of different comedi drivers.
From: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ADDI-DATA GmbH [Thu, 12 Feb 2009 23:14:18 +0000 (15:14 -0800)]
Staging: comedi: add addi-data drivers
This adds the addi-data family of comedi drivers to the staging tree
From: ADDI-DATA GmbH <info@addi-data.com>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Julia Lawall [Fri, 26 Dec 2008 07:28:58 +0000 (08:28 +0100)]
Staging: comedi: Move a dereference below a NULL test
If the NULL test is necessary, then the dereference should be moved below
the NULL test.
The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/).
// <smpl>
@disable is_null@
identifier f;
expression E;
identifier fld;
statement S;
@@
+ if (E == NULL) S
f(...,E->fld,...);
- if (E == NULL) S
@@
identifier f;
expression E;
identifier fld;
statement S;
@@
+ if (!E) S
f(...,E->fld,...);
- if (!E) S
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Julia Lawall [Thu, 25 Dec 2008 20:10:30 +0000 (21:10 +0100)]
Staging: comedi: introduce missing kfree
Error handling code following a kmalloc should free the allocated data.
The semantic match that finds the problem is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@r exists@
local idexpression x;
statement S;
expression E;
identifier f,l;
position p1,p2;
expression *ptr != NULL;
@@
(
if ((x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...)) == NULL) S
|
x@p1 = \(kmalloc\|kzalloc\|kcalloc\)(...);
...
if (x == NULL) S
)
<... when != x
when != if (...) { <+...x...+> }
x->f = E
...>
(
return \(0\|<+...x...+>\|ptr\);
|
return@p2 ...;
)
@script:python@
p1 << r.p1;
p2 << r.p2;
@@
print "* file: %s kmalloc %s return %s" % (p1[0].file,p1[0].line,p2[0].line)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Julia Lawall [Thu, 25 Dec 2008 14:34:44 +0000 (15:34 +0100)]
Staging: comedi: Use DEFINE_SPINLOCK
SPIN_LOCK_UNLOCKED is deprecated. The following makes the change suggested
in Documentation/spinlocks.txt
The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@
declarer name DEFINE_SPINLOCK;
identifier xxx_lock;
@@
- spinlock_t xxx_lock = SPIN_LOCK_UNLOCKED;
+ DEFINE_SPINLOCK(xxx_lock);
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Julia Lawall [Wed, 24 Dec 2008 15:23:10 +0000 (16:23 +0100)]
Staging: comedi: Correct use of ! and &
0x20 has 0 as its rightmost bit and thus !inl(info->plx_regbase +
PLX_INTCSR) & 0x20 is always 0. I assume that !(!inl(info->plx_regbase +
PLX_INTCSR) & 0x20) was intended.
The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@@ expression E; constant C; @@
(
!E & !C
|
- !E & C
+ !(E & C)
)
// </smpl>
Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Randy Dunlap [Thu, 19 Feb 2009 17:47:32 +0000 (09:47 -0800)]
Staging: phison: depends on PCI
phison uses PCI interfaces, so it should depend on PCI.
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Evan Ko <evan_ko@phison.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Randy Dunlap [Mon, 16 Feb 2009 16:46:16 +0000 (08:46 -0800)]
Staging: phison: fix kconfig for clean build
phison is an ATA driver, not a classic IDE driver, so fix the Kconfig file
so that it will build.
drivers/staging/phison/phison.c:43: error: implicit declaration of function 'ATA_BMDMA_SHT'
drivers/staging/phison/phison.c:43: error: initializer element is not constant
drivers/staging/phison/phison.c:43: error: (near initialization for 'phison_sht.module')
drivers/staging/phison/phison.c:47: error: 'ata_bmdma_port_ops' undeclared here (not in a function)
drivers/staging/phison/phison.c:65: error: implicit declaration of function 'ata_pci_sff_init_one'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman [Mon, 9 Feb 2009 21:02:35 +0000 (13:02 -0800)]
Staging: phison: add driver to the build system
Cc: Evan Ko <evan_ko@phison.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman [Thu, 12 Feb 2009 21:37:51 +0000 (13:37 -0800)]
Staging: phison: port code to work properly with latest libata
This brings the driver up to modern times so that it can build and run
properly with the in-tree libata code.
Cc: Evan Ko <evan_ko@phison.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman [Thu, 12 Feb 2009 21:36:54 +0000 (13:36 -0800)]
Staging: phison: fix up checkpatch and other formatting issues
Minor touchups to fix up the coding style issues in the phison driver.
Cc: Evan Ko <evan_ko@phison.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Evan Ko [Mon, 9 Feb 2009 21:02:35 +0000 (13:02 -0800)]
Staging: add phison ATA driver to the tree
It doesn't build properly yet as it is against an older kernel version.
That will be fixed up in patches following this.
From: Evan Ko <evan_ko@phison.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Justin Bronder [Wed, 28 Jan 2009 15:06:42 +0000 (10:06 -0500)]
Staging: b3dfg: Prepare b3dfg for submission upstream.
- Basically, update driver to run with 2.6.28
- Conversion from struct class_device to struct device.
- Conversion from .nopfn to .fault in vm_operations_struct.
- Update use of pci_resource_flags to check for IORESOURCE_SIZEALIGN.
- Update use of pci_dma_mapping_error.
- Minor code cleanup and integration with kernel build system.
Signed-off-by: Justin Bronder <jsbronder@brontes3d.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Duane Griffin [Wed, 28 Jan 2009 14:50:37 +0000 (09:50 -0500)]
Staging: b3dfg: fixups and improvements
- Added support for cable plug/unplug detection.
- Improvements to error handling.
- Switch to the pci_* DMA API.
- Removed set_num_buffers functionality.
- Locking review.
- Unconditionally disable transmission when releasing device.
Signed-off-by: Justin Bronder <jsbronder@brontes3d.com>
Cc: Duane Griffin <duaneg@dghda.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>