GitHub/MotorolaMobilityLLC/kernel-slsi.git
15 years agoStaging: comedi: comedi_pci.h: remove comedi_pci_enable_no_regions
Greg Kroah-Hartman [Wed, 19 Nov 2008 21:59:44 +0000 (13:59 -0800)]
Staging: comedi: comedi_pci.h: remove comedi_pci_enable_no_regions

comedi_pci_enable_no_regions is not called by any comedi code
(in or out of the kernel tree), so remove it, so no one tries to
use it in the future.

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>
15 years agoStaging: comedi: comedi_pci.h: remove unneeded wrapper
Greg Kroah-Hartman [Wed, 19 Nov 2008 21:57:34 +0000 (13:57 -0800)]
Staging: comedi: comedi_pci.h: remove unneeded wrapper

just call pci_disable_device() directly in comedi_pci_enable()
as no wrapper is needed now that we are in the kernel tree.

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>
15 years agoStaging: comedi: fix comedi_pci.h checkpatch.pl issues.
Greg Kroah-Hartman [Wed, 19 Nov 2008 21:55:14 +0000 (13:55 -0800)]
Staging: comedi: fix comedi_pci.h checkpatch.pl issues.

This resolves all the resolvable checkpatch.pl issues in the
comedi_pci.h file.

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>
15 years agoStaging: comedi: fix comedi_fc.h checkpatch.pl issues.
Greg Kroah-Hartman [Wed, 19 Nov 2008 21:53:34 +0000 (13:53 -0800)]
Staging: comedi: fix comedi_fc.h checkpatch.pl issues.

This resolves all the resolvable checkpatch.pl issues in the
comedi_fc.h file.

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>
15 years agoStaging: comedi: fix comedi_parport.c checkpatch.pl issues.
Greg Kroah-Hartman [Wed, 19 Nov 2008 18:34:00 +0000 (10:34 -0800)]
Staging: comedi: fix comedi_parport.c checkpatch.pl issues.

This resolves all the resolvable checkpatch.pl issues in the
comedi_parport.c file.

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>
15 years agoStaging: comedi: remove typedefs from comedi_test.c
Greg Kroah-Hartman [Wed, 19 Nov 2008 18:25:23 +0000 (10:25 -0800)]
Staging: comedi: remove typedefs from comedi_test.c

no more checkpatch.pl issues found in the comedi_test.c file.

Cc: Joachim Wuttke <Joachim.Wuttke@icn.siemens.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>
15 years agoStaging: comedi: fix sparse issues in comedi_test.c
Greg Kroah-Hartman [Wed, 19 Nov 2008 18:22:51 +0000 (10:22 -0800)]
Staging: comedi: fix sparse issues in comedi_test.c

This fixes all issues pointed out by sparse with the comedi_test.c
file.

Cc: Joachim Wuttke <Joachim.Wuttke@icn.siemens.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>
15 years agoStaging: comedi: fix checkpatch.pl issues in comedi_test.c
Greg Kroah-Hartman [Wed, 19 Nov 2008 18:21:17 +0000 (10:21 -0800)]
Staging: comedi: fix checkpatch.pl issues in comedi_test.c

This fixes almost all checkpatch.pl issues with the comedi_test.c
file.

Hint, volatile doesn't do what you think it does, it has been removed
from the structure...

Cc: Joachim Wuttke <Joachim.Wuttke@icn.siemens.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>
15 years agoStaging: comedi: fix sparse issues in comedi_bond.c
Greg Kroah-Hartman [Wed, 19 Nov 2008 18:08:14 +0000 (10:08 -0800)]
Staging: comedi: fix sparse issues in comedi_bond.c

This fixes the issues raised by the sparse tool on the
comedi_bond.c file.

Cc: Calin A. 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>
15 years agoStaging: comedi: remove typedefs from comedi_bond.c
Greg Kroah-Hartman [Wed, 19 Nov 2008 18:04:21 +0000 (10:04 -0800)]
Staging: comedi: remove typedefs from comedi_bond.c

This fixes the remaining checkpatch.pl issues found in the
comedi_bond.c file.

Cc: Calin A. 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>
15 years agoStaging: comedi: fix checkpatch.pl issues in comedi_fc.c
Greg Kroah-Hartman [Wed, 19 Nov 2008 17:59:41 +0000 (09:59 -0800)]
Staging: comedi: fix checkpatch.pl issues in comedi_fc.c

This fixes all of the checkpatch.pl issues in the comedi_fc.c file.

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>
15 years agoStaging: comedi: fix checkpatch.pl issues in comedi_bond.c
Greg Kroah-Hartman [Wed, 19 Nov 2008 17:58:28 +0000 (09:58 -0800)]
Staging: comedi: fix checkpatch.pl issues in comedi_bond.c

This fixes a number of the issues found by checkpatch.pl in the
comedi_bond.c file.

Cc: Calin A. 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>
15 years agoStaging: comedi: add me4000 driver
Guenter Gebhardt [Wed, 19 Nov 2008 17:38:19 +0000 (09:38 -0800)]
Staging: comedi: add me4000 driver

This adds the me4000 driver to the comedi staging tree

From: Guenter Gebhardt <g.gebhardt@meilhaus.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>
15 years agoStaging: comedi: add icp_multi driver
Anne Smorthit [Wed, 19 Nov 2008 17:30:18 +0000 (09:30 -0800)]
Staging: comedi: add icp_multi driver

This adds the icp_multi driver to the tree.

From: Anne Smorthit <anne.smorthit@sfwte.ch>
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>
15 years agoStaging: comedi: remove PCI wrappers
Greg Kroah-Hartman [Wed, 19 Nov 2008 01:20:22 +0000 (17:20 -0800)]
Staging: comedi: remove PCI wrappers

The PCI wrapper macros are no longer needed, as they are
all for compatiblity with older kernel versions.

Cc: 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>
15 years agoStaging: comedi: remove usb wrappers
Greg Kroah-Hartman [Wed, 19 Nov 2008 01:16:47 +0000 (17:16 -0800)]
Staging: comedi: remove usb wrappers

The usb wrapper macros are no longer needed, as all of
the comedi drivers using them have been converted to
use the "native" USB core calls.

Cc: 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>
15 years agoStaging: comedi: dt9812: remove #ifdef that is not needed
Greg Kroah-Hartman [Wed, 19 Nov 2008 01:12:15 +0000 (17:12 -0800)]
Staging: comedi: dt9812: remove #ifdef that is not needed

We don't need to set the owner field of the usb_driver structure
in the dt9812 driver.

Cc: 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>
15 years agoStaging: comedi: usbduxfast: remove comedi usb wrappers
Greg Kroah-Hartman [Wed, 19 Nov 2008 01:09:23 +0000 (17:09 -0800)]
Staging: comedi: usbduxfast: remove comedi usb wrappers

Remove the comedi usb wrapper function usage in the usbduxfast driver as
they are no longer needed.

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>
15 years agoStaging: comedi: usbdux: remove comedi usb wrappers
Greg Kroah-Hartman [Wed, 19 Nov 2008 01:02:39 +0000 (17:02 -0800)]
Staging: comedi: usbdux: remove comedi usb wrappers

Remove the comedi usb wrapper function usage in the usbdux driver as
they are no longer needed.

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>
15 years agoStaging: comedi: usbdux: remove typedef
Greg Kroah-Hartman [Wed, 19 Nov 2008 00:53:44 +0000 (16:53 -0800)]
Staging: comedi: usbdux: remove typedef

Remove the typedef in the usbdux driver.

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>
15 years agoStaging: comedi: usbdux: remove checkpatch.pl warnings
Greg Kroah-Hartman [Wed, 19 Nov 2008 00:50:36 +0000 (16:50 -0800)]
Staging: comedi: usbdux: remove checkpatch.pl warnings

Fix up and remove almost all of the remaining checkpatch.pl errors
and warnings in the usbdux driver.

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>
15 years agoStaging: comedi: usbdux: fix up printk calls
Greg Kroah-Hartman [Wed, 19 Nov 2008 00:18:40 +0000 (16:18 -0800)]
Staging: comedi: usbdux: fix up printk calls

printk() needs a KERN_ level.  But it's usually better to just
use the dev_* functions instead, as they provide much better
information to the user and developer.

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>
15 years agoStaging: comedi: usbdux: remove // comments
Greg Kroah-Hartman [Tue, 18 Nov 2008 22:23:41 +0000 (14:23 -0800)]
Staging: comedi: usbdux: remove // comments

This converts all // comments to be /* */

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>
15 years agoStaging: comedi: usbdux: code style cleanups
Greg Kroah-Hartman [Tue, 18 Nov 2008 22:04:52 +0000 (14:04 -0800)]
Staging: comedi: usbdux: code style cleanups

Fix a lot of checkpatch.pl warnings and errors in the usbdux driver.

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>
15 years agoStaging: comedi: usbdux: remove kernel version checks
Greg Kroah-Hartman [Tue, 18 Nov 2008 19:59:49 +0000 (11:59 -0800)]
Staging: comedi: usbdux: remove kernel version checks

Now that we are in the kernel tree, these ifdefs are not needed.

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>
15 years agoStaging: comedi: dt9812: fix sparse warnings
Greg Kroah-Hartman [Tue, 18 Nov 2008 19:51:41 +0000 (11:51 -0800)]
Staging: comedi: dt9812: fix sparse warnings

remove all warnings that sparse complains about in the dt9812 driver

Cc: 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>
15 years agoStaging: comedi: dt9812: remove typedefs
Greg Kroah-Hartman [Tue, 18 Nov 2008 19:48:57 +0000 (11:48 -0800)]
Staging: comedi: dt9812: remove typedefs

remove all typedefs from the dt9812 driver

Cc: 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>
15 years agoStaging: comedi: dt9812: remove dt9812.h
Greg Kroah-Hartman [Tue, 18 Nov 2008 19:11:18 +0000 (11:11 -0800)]
Staging: comedi: dt9812: remove dt9812.h

An extra .h file is not needed for the dt9812 driver so
merge it into the .c file.

Cc: 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>
15 years agoStaging: comedi: dt9812: fix up a lot of coding style issues
Greg Kroah-Hartman [Tue, 18 Nov 2008 19:05:04 +0000 (11:05 -0800)]
Staging: comedi: dt9812: fix up a lot of coding style issues

Lots of checkpatch.pl warnings and errors resolved in the
comedi dt9812 usb driver.

Cc: 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>
15 years agoStaging: comedi: add comedi_parport driver
David Schleef [Fri, 14 Nov 2008 23:03:44 +0000 (15:03 -0800)]
Staging: comedi: add comedi_parport driver

This adds the comedi_parport driver to the kernel tree

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>
15 years agoStaging: comedi: add comedi_test driver
Joachim Wuttke [Fri, 14 Nov 2008 23:02:08 +0000 (15:02 -0800)]
Staging: comedi: add comedi_test driver

This adds the comedi_test driver to the kernel tree

From: Joachim Wuttke <Joachim.Wuttke@icn.siemens.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>
15 years agoStaging: comedi: add comedi_bond driver
David Schleef [Fri, 14 Nov 2008 23:00:43 +0000 (15:00 -0800)]
Staging: comedi: add comedi_bond driver

This adds the comedi_bond driver to the kernel tree

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>
15 years agoStaging: comedi: add usb dt9812 driver
Anders Blomdell [Fri, 14 Nov 2008 22:52:21 +0000 (14:52 -0800)]
Staging: comedi: add usb dt9812 driver

Data Translation DT9812 USB driver

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>
15 years agoStaging: comedi: add usb usbduxfast driver
Bernd Porr [Fri, 14 Nov 2008 22:49:34 +0000 (14:49 -0800)]
Staging: comedi: add usb usbduxfast driver

ITL USB-DUXfast driver

From: 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>
15 years agoStaging: comedi: add usb usbdux driver
Bernd Porr [Fri, 14 Nov 2008 22:46:04 +0000 (14:46 -0800)]
Staging: comedi: add usb usbdux driver

University of Stirling USB DAQ & INCITE Technology Limited driver.

From: 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>
15 years agoStaging: comedi: add mite comedi pci driver
David Schleef [Fri, 14 Nov 2008 22:43:55 +0000 (14:43 -0800)]
Staging: comedi: add mite comedi pci driver

Hardware driver for NI Mite 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>
15 years agoStaging: comedi: comedi driver common function module
David Schleef [Fri, 14 Nov 2008 22:42:01 +0000 (14:42 -0800)]
Staging: comedi: comedi driver common function module

This module is shared by many 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>
15 years agoStaging: comedi: add pci and usb wrapper header files
David Schleef [Fri, 14 Nov 2008 22:37:37 +0000 (14:37 -0800)]
Staging: comedi: add pci and usb wrapper header files

This are used by usb and pci comedi drivers to handle the different
kernel versions.  They will be eventually removed, but are needed now
to be able to add comedi drivers to the tree.

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>
15 years agoStaging: comedi: add local copy of interrupt.h
David Schleef [Fri, 14 Nov 2008 22:20:56 +0000 (14:20 -0800)]
Staging: comedi: add local copy of interrupt.h

This is needed for some internal comedi driver macros that were
built up over the years to handle multiple kernel versions.  It will be
removed eventually.

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>
15 years agoStaging: comedi: set up infrastructure for individual drivers
Greg Kroah-Hartman [Fri, 14 Nov 2008 22:10:15 +0000 (14:10 -0800)]
Staging: comedi: set up infrastructure for individual drivers

This adds two "generic" Kconfig options, one for PCI and one for USB
comedi drivers, and the Makefile infrastructure as well.  This is so
we can start adding individual comedi drivers and add them to the build
properly.

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 kcomedilib to the tree
David Schleef [Fri, 14 Nov 2008 23:58:23 +0000 (15:58 -0800)]
Staging: comedi: add kcomedilib to the tree

This adds the kcomedilib 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>
15 years agoStaging: comedi: fix build error in comedilib.h
Greg Kroah-Hartman [Fri, 14 Nov 2008 22:58:46 +0000 (14:58 -0800)]
Staging: comedi: fix build error in comedilib.h

If anyone included this file, it would break the build.
This patch fixes the issue.

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>
15 years agoStaging: comedi: fix checkpatch.pl errors in comedi_fops.c
Greg Kroah-Hartman [Fri, 14 Nov 2008 01:05:58 +0000 (17:05 -0800)]
Staging: comedi: fix checkpatch.pl errors in comedi_fops.c

There are still some >80 character lines in there, but
this catches the majority of the issues.

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: fix up a lot of checkpatch.pl warnings
Greg Kroah-Hartman [Fri, 14 Nov 2008 00:36:22 +0000 (16:36 -0800)]
Staging: comedi: fix up a lot of checkpatch.pl warnings

Only clean up some of the easier ones in the .h files

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: add comedi core
David Schleef [Wed, 5 Nov 2008 04:29:31 +0000 (20:29 -0800)]
Staging: add comedi core

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

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

From: David Schleef <ds@schleef.org>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Shawn Bohrer <shawn.bohrer@gmail.com>
Signed-off-by: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: benet: cleanup a check while posting rx buffers
Sathya Perla [Fri, 5 Dec 2008 10:22:15 +0000 (15:52 +0530)]
Staging: benet: cleanup a check while posting rx buffers

This patch cleans up the way to check if there is enough space in the rx_q
while posting buffers.

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: benet: fix problems reported by checkpatch
Sathya Perla [Thu, 27 Nov 2008 05:54:07 +0000 (11:24 +0530)]
Staging: benet: fix problems reported by checkpatch

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: benet: patch to use offsetof() instead of AMAP_BYTE_OFFSET()
Sathya Perla [Mon, 24 Nov 2008 05:34:45 +0000 (11:04 +0530)]
Staging: benet: patch to use offsetof() instead of AMAP_BYTE_OFFSET()

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: benet: fix build error.
Greg Kroah-Hartman [Tue, 25 Nov 2008 05:15:22 +0000 (21:15 -0800)]
Staging: benet: fix build error.

udelay() was not being defined properly, this patch fixes it.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Subbu Seetharaman <subbus@serverengines.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: benet: fix build errors when CONFIG_NETPOLL is off
Sathya Perla [Thu, 13 Nov 2008 05:43:32 +0000 (11:13 +0530)]
Staging: benet: fix build errors when CONFIG_NETPOLL is off

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: benet: patch to remove subdirectories
Sathya Perla [Tue, 11 Nov 2008 05:27:37 +0000 (10:57 +0530)]
Staging: benet: patch to remove subdirectories

Here's a patch tp remove the subdirectories in staging/benet (1st item in
staging/benet/TODO).

Signed-off-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: benet: build is broken unless CONFIG_NETPOLL is enabled
Greg Kroah-Hartman [Fri, 7 Nov 2008 20:50:13 +0000 (12:50 -0800)]
Staging: benet: build is broken unless CONFIG_NETPOLL is enabled

So disable the driver in that build situation and document
that this needs to be fixed.

Cc: Subbu Seetharaman <subbus@serverengines.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: benet: fix up netdev->priv change
Greg Kroah-Hartman [Mon, 5 Jan 2009 23:05:47 +0000 (15:05 -0800)]
Staging: benet: fix up netdev->priv change

netdev->priv is now gone, so fix up all of the build errors in the benet
driver due to this change.

Cc: Subbu Seetharaman <subbus@serverengines.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: benet: fix netif api breakage
Greg Kroah-Hartman [Mon, 5 Jan 2009 23:04:44 +0000 (15:04 -0800)]
Staging: benet: fix netif api breakage

The netif_rx_complete() and netif_rx_schedule() functions have changed,
so fix up the build breakage in the benet driver.

Cc: Subbu Seetharaman <subbus@serverengines.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: Add ServerEngines benet 10Gb ethernet driver
Subbu Seetharaman [Sun, 2 Nov 2008 13:09:57 +0000 (08:09 -0500)]
Staging: Add ServerEngines benet 10Gb ethernet driver

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: rt2860: enable WPA_SUPPLICANT support
Greg Kroah-Hartman [Mon, 17 Nov 2008 23:55:52 +0000 (15:55 -0800)]
Staging: rt2860: enable WPA_SUPPLICANT support

This is needed in order to get NetworkManager to work properly
with this driver.

More details can be found at
https://bugzilla.novell.com/show_bug.cgi?id=437959

Cc: Helmut Schaa <hschaa@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: rt2860: Fix minor compiler warnings
Greg Kroah-Hartman [Thu, 13 Nov 2008 23:37:21 +0000 (15:37 -0800)]
Staging: rt2860: Fix minor compiler warnings

The build is "clean" now for this driver.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: rt2860: use standard bit-reverse function
J.R. Mauro [Fri, 7 Nov 2008 01:30:03 +0000 (20:30 -0500)]
Staging: rt2860: use standard bit-reverse function

Make the rt2860 use standard bit-reversing functions

Signed-off by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: rt2860: fix up netdev->priv usage
Greg Kroah-Hartman [Mon, 5 Jan 2009 22:19:51 +0000 (14:19 -0800)]
Staging: rt2860: fix up netdev->priv usage

Now that netdev->priv is removed, fix the driver to use netdev->ml_priv
like it always should have been doing.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: rt2860: disable root hack for reading files
Greg Kroah-Hartman [Mon, 5 Jan 2009 22:18:40 +0000 (14:18 -0800)]
Staging: rt2860: disable root hack for reading files

We are now using credentials, so just blindly setting the fsuid and
fsguid isn't acceptable.  All this means is that the config file needs
to be readable by the driver thread, not a big deal.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: add rt2860 wireless driver
Greg Kroah-Hartman [Tue, 28 Oct 2008 21:48:09 +0000 (14:48 -0700)]
Staging: add rt2860 wireless driver

This is the Ralink RT2860 driver from the company that does horrible
things like reading a config file from /etc.  However, the driver that
is currently under development from the wireless development community
is not working at all yet, so distros and users are using this version
instead (quite common hardware on a lot of netbook machines).

So here is this driver, for now, until the wireless developers get a
"clean" version into the main tree, or until this version is cleaned up
sufficiently to move out of the staging tree.

Ported to the Linux build system and cleaned up a bit already by me.

Cc: Linux wireless <linux-wireless@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: otus: remove dependence on kernel version
Alexander Beregalov [Sun, 7 Dec 2008 03:58:47 +0000 (06:58 +0300)]
Staging: otus: remove dependence on kernel version

Dependence on kernel version is not needed anymore
if we are in mainline now.

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Cc: <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: otus: fix urb callback function type
Greg Kroah-Hartman [Thu, 13 Nov 2008 23:35:52 +0000 (15:35 -0800)]
Staging: otus: fix urb callback function type

The #ifdef for version checking is wrong, and we no longer
pass the struct pt_regs to the urb callback functions.  This
patch fixes this error.

Cc: Luis Rodriguez <Luis.Rodriguez@Atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: otus: fix name clash
J.R. Mauro [Fri, 7 Nov 2008 22:49:07 +0000 (17:49 -0500)]
Staging: otus: fix name clash

Make p80211wext_handler_def in the otus driver static. It's not used outside
this file and causes name clashes if it's visible.

Signed-off by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: otus: fix netdev->priv usage
Greg Kroah-Hartman [Mon, 5 Jan 2009 21:44:36 +0000 (13:44 -0800)]
Staging: otus: fix netdev->priv usage

Now that netdev->priv is gone, fix things up properly in the otus driver
to use ml_priv as it should have always been doing.

Cc: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: add otus Atheros wireless network driver
Luis R. Rodriguez [Tue, 28 Oct 2008 05:44:22 +0000 (22:44 -0700)]
Staging: add otus Atheros wireless network driver

Initial dump of the otus USB wireless network driver.
It builds properly, but a lot of work needs to be done cleaning
it up before it can be merged into the wireless driver tree.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: agnx: fix build warnings
Greg Kroah-Hartman [Thu, 13 Nov 2008 23:34:13 +0000 (15:34 -0800)]
Staging: agnx: fix build warnings

Fix some minor build warnins in the agnx driver

Cc: Li YanBo <dreamfly281@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: agnx: fix build errors due to rate control API changes
Greg Kroah-Hartman [Mon, 5 Jan 2009 20:37:19 +0000 (12:37 -0800)]
Staging: agnx: fix build errors due to rate control API changes

In commit e6a9854b05c1a6af1308fe2b8c68f35abf28a3ee, the rate control API
was rewritten, so make the needed changes to the agnx driver so that it
will build and work properly.

Cc: Li YanBo <dreamfly281@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: agnx: fix build errors due to ssid removal
Greg Kroah-Hartman [Mon, 5 Jan 2009 20:37:19 +0000 (12:37 -0800)]
Staging: agnx: fix build errors due to ssid removal

The wireless core has removed the ssid variables, so also remove
them from the agnx driver so that it builds properly.

Cc: Li YanBo <dreamfly281@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: add agnx wireless driver
Li YanBo [Tue, 28 Oct 2008 03:32:57 +0000 (20:32 -0700)]
Staging: add agnx wireless driver

This driver is for the Airgo AGNX00 wireless chip.

From: Li YanBo <dreamfly281@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: slicoss: use request_firmware
Lior Dotan [Wed, 5 Nov 2008 14:02:20 +0000 (16:02 +0200)]
Staging: slicoss: use request_firmware

This should make the driver use request_firmware() instead of a static
firmware.
Some obvious things are missing:
1) The unneeded header files are not removed yet. This is to keep the
   patch size small.
2) The .bin files are missing so the driver doesn't have what to load.
3) Testing. None of this was tested. It does compiles OK though :)

Signed-off-by: Lior Dotan <liodot@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: slicoss: use correct type for memory allcations
Lior Dotan [Wed, 5 Nov 2008 09:52:17 +0000 (11:52 +0200)]
Staging: slicoss: use correct type for memory allcations

Fix sizeof to use the right type

Signed-off-by: Lior Dotan <liodot@gmail.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: slicoss: use kzalloc
Lior Dotan [Wed, 5 Nov 2008 09:27:17 +0000 (11:27 +0200)]
Staging: slicoss: use kzalloc

This patch uses kzalloc() where really applicable.

Signed-off-by: Lior Dotan <liodot@gmail.com>
Cc: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: usbip: cleanup kerneldoc
Qinghuang Feng [Wed, 12 Nov 2008 22:42:16 +0000 (14:42 -0800)]
Staging: usbip: cleanup kerneldoc

No argument named @regs in stub_complete(), remove it.

Signed-off-by: Qinghuang Feng <qhfeng.kernel@gmail.com>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: et131x: remove unused variable in et1310_tx.c
Johann Felix Soden [Sat, 15 Nov 2008 19:44:39 +0000 (20:44 +0100)]
Staging: et131x: remove unused variable in et1310_tx.c

The 'pPacket' variable is assigned, but never used. Remove it.

Signed-off-by: Johann Felix Soden <johfel@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: et131x: fix build failure
J.R. Mauro [Fri, 14 Nov 2008 00:11:22 +0000 (19:11 -0500)]
Staging: et131x: fix build failure

Fix build failure in et131x driver - missing \ in multiline macro

Signed-off by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: et131x: Cleanup et131x_debug.h defines
Stoyan Gaydarov [Thu, 17 Jul 2008 10:29:06 +0000 (10:29 +0000)]
Staging: et131x: Cleanup et131x_debug.h defines

This patch cleans up the et131x_debug.h defines as well as fix the
checkpatch warnings

Signed-off-by: Stoyan Gaydarov <stoyboyker@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: go7007: add some more v4l2 ioctls
Greg Kroah-Hartman [Mon, 5 Jan 2009 19:22:07 +0000 (11:22 -0800)]
Staging: go7007: add some more v4l2 ioctls

Now that the v4l2 tree is merged with mainline, enable some of
the compiled out functions.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: go7007: small cleanup
Oliver Neukum [Thu, 18 Dec 2008 12:52:39 +0000 (13:52 +0100)]
Staging: go7007: small cleanup

small cleanup of go7007:

- prepare for urb->status conversion
- micro optimization
- use kzalloc
- fix free of memory in use in go7007_usb_disconnect

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Cc: Cohen <rcohen@snurgle.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: go7007: fix minor build warnings
Greg Kroah-Hartman [Thu, 13 Nov 2008 23:35:08 +0000 (15:35 -0800)]
Staging: go7007: fix minor build warnings

Comment out some functions that we aren't using yet, in anticipation
of using them when the v4l core merges are changed upstream.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: go7007: annotate code pointers
Harvey Harrison [Mon, 3 Nov 2008 05:24:35 +0000 (21:24 -0800)]
Staging: go7007: annotate code pointers

They are treated as __le16 everywhere, annotate as such.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: go7007: Convert driver to use video_ioctl2
Mauro Carvalho Chehab [Wed, 12 Nov 2008 00:54:30 +0000 (22:54 -0200)]
Staging: go7007: Convert driver to use video_ioctl2

go7007: Convert driver to use video_ioctl2

go7007 driver were using the old method of having a big switch for handling
ioctls. Use instead the new video_ioctl2 method.

This patch also adds support for the 2.6.19 new ioctls to enumberate video
formats and intervals.

Still lacking the implementation of compression ioctls needed on go7007.

This patch weren't tested, due to the lack of a hardware with me.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: go7007: add sensoray 2250/2251 support
Pete Eberlein [Thu, 30 Oct 2008 19:56:41 +0000 (12:56 -0700)]
Staging: go7007: add sensoray 2250/2251 support

This is the driver for the Sensoray 2250/2251 USB devices added to
go7007 driver.

Signed-off-by: Pete Eberlein <pete@sensoray.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: go7007: saa7134 updates
Pete Eberlein [Thu, 30 Oct 2008 19:56:33 +0000 (12:56 -0700)]
Staging: go7007: saa7134 updates

- Added documentation including README files from the original go7007
  driver package.
- Added Video4Linux2 MPEG controls.
- Added Video4Linux2 audio ioctls, which pass thru to the i2c driver.
- Improved saa7134 interface, to pass thru controls and video settings.
- Fixed a bug in sony tuner, as reported by Bifferos on the Go7007 wiki.

Signed-off-by: Pete Eberlein <pete@sensoray.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: echo: Lindent drivers/staging/echo
J.R. Mauro [Thu, 30 Oct 2008 23:35:27 +0000 (19:35 -0400)]
Staging: echo: Lindent drivers/staging/echo

Lindent drivers/staging/echo

Signed-off by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: echo: remove typedefs
J.R. Mauro [Thu, 30 Oct 2008 23:26:59 +0000 (19:26 -0400)]
Staging: echo: remove typedefs

Remove typedefs in drivers/staging/echo

Signed-off by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agostaging: struct device - replace bus_id with dev_name(), dev_set_name()
Kay Sievers [Thu, 30 Oct 2008 00:59:32 +0000 (01:59 +0100)]
staging: struct device - replace bus_id with dev_name(), dev_set_name()

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: update README
J.R. Mauro [Fri, 31 Oct 2008 22:58:30 +0000 (18:58 -0400)]
Staging: sxg: update README

Update readme in drivers/staging/sxg

Signed-off by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: break the build in a cleaner way when !x86
J.R. Mauro [Tue, 28 Oct 2008 23:00:56 +0000 (19:00 -0400)]
Staging: sxg: break the build in a cleaner way when !x86

Remove ugly 'Stop Comilation;' statement in sxghif, replace with an
error macro.

This should never be hit as we are only building for x86 boxes at the
moment.

Signed-off by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: sxg: remove typedefs
J.R. Mauro [Tue, 28 Oct 2008 22:42:02 +0000 (18:42 -0400)]
Staging: sxg: remove typedefs

Remove typedefs in the sxg driver

Signed-off by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: poch: Fine grained locking
Vijay Kumar [Wed, 29 Oct 2008 03:28:40 +0000 (08:58 +0530)]
Staging: poch: Fine grained locking

Lock only the portion of code that does register access.

Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: poch: Fix user space protocol syncing
Vijay Kumar [Wed, 29 Oct 2008 03:28:39 +0000 (08:58 +0530)]
Staging: poch: Fix user space protocol syncing

Always set the user space offset from kernel space, to indicate group
transmitted/received.

Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: poch: Rx control register init
Vijay Kumar [Wed, 29 Oct 2008 03:28:37 +0000 (08:58 +0530)]
Staging: poch: Rx control register init

Added Rx control register definition. Flush Rx FIFO on init, and set
continuous DMA mode.

Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: poch: Fix build warnings
Vijay Kumar [Wed, 29 Oct 2008 03:28:36 +0000 (08:58 +0530)]
Staging: poch: Fix build warnings

Removed out printing of DMA address, that causes warnings during
build.

Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: poch: minor fixes
Vijay Kumar [Wed, 29 Oct 2008 03:28:35 +0000 (08:58 +0530)]
Staging: poch: minor fixes

Unmap PCI bars on remove().
Validate sysfs values before using them.

Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: poch: Correct pages from bytes.
Vijay Kumar [Wed, 29 Oct 2008 03:28:34 +0000 (08:58 +0530)]
Staging: poch: Correct pages from bytes.

Accurately calculate the no. of pages from the bytes.

Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: poch: Update TODO list
Vijay Kumar [Wed, 29 Oct 2008 03:28:33 +0000 (08:58 +0530)]
Staging: poch: Update TODO list

Update TODO list.

Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: poch: Block size bug fix
Vijay Kumar [Wed, 29 Oct 2008 03:28:32 +0000 (08:58 +0530)]
Staging: poch: Block size bug fix

Block size is to be expressed in no. of 64 bit transfers. But the code
specifies the block size in bytes. Fix this issue.

Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: at76_usb: cleanup dma on stack issues
Oliver Neukum [Thu, 18 Dec 2008 12:16:40 +0000 (13:16 +0100)]
Staging: at76_usb: cleanup dma on stack issues

- no DMA on stack
- cleanup unclear endianness issue

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: at76_usb: fix up all remaining checkpatch.pl warnings
Greg Kroah-Hartman [Mon, 27 Oct 2008 20:54:32 +0000 (13:54 -0700)]
Staging: at76_usb: fix up all remaining checkpatch.pl warnings

It's now a "clean" driver.

Cc: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>