linux-2.6
15 years agoStaging: frontier: fix compiler warnings
Greg Kroah-Hartman [Thu, 18 Dec 2008 01:20:23 +0000 (17:20 -0800)] 
Staging: frontier: fix compiler warnings

Basically remove unused code and variables still hanging around.

Cc: David Taht <d@teklibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: frontier: remove unused alphatrack_sysfs.c file
Greg Kroah-Hartman [Thu, 18 Dec 2008 01:16:31 +0000 (17:16 -0800)] 
Staging: frontier: remove unused alphatrack_sysfs.c file

The alphatrack_sysfs.c is unused, so remove it.

Cc: David Taht <d@teklibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: add frontier tranzport and alphatrack drivers
David Taht [Thu, 18 Dec 2008 01:13:45 +0000 (17:13 -0800)] 
Staging: add frontier tranzport and alphatrack drivers

Adds the tranzport and alphatrack drivers to the staging tree.

Cc: David Taht <d@teklibre.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: rt2870: fix up netdev->priv usage
Greg Kroah-Hartman [Mon, 5 Jan 2009 23:33:10 +0000 (15:33 -0800)] 
Staging: rt2870: 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: rt2870: disable root hack for reading files
Greg Kroah-Hartman [Mon, 5 Jan 2009 23:23:19 +0000 (15:23 -0800)] 
Staging: rt2870: 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 rt2870 wireless driver
Greg Kroah-Hartman [Thu, 18 Dec 2008 01:04:23 +0000 (17:04 -0800)] 
Staging: add rt2870 wireless driver

This is the Ralink RT2870 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: add mimio xi driver
Greg Kroah-Hartman [Tue, 24 Jun 2008 14:19:47 +0000 (15:19 +0100)] 
Staging: add mimio xi driver

This patch adds the Mimio Xi interactive whiteboard driver to the tree.

It was originally written by mwilder@cs.nmsu.edu, but cleaned up and
forward ported by me to the latest kernel version.

Cc: Phil Hannent <phil@hannent.co.uk>
Cc: <mwilder@cs.nmsu.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: add princeton instruments usb camera driver
Greg Kroah-Hartman [Thu, 21 Aug 2008 21:04:55 +0000 (14:04 -0700)] 
Staging: add princeton instruments usb camera driver

Adds the driver for the Princeton Instruments USB camera.

Needs a lot of work...

TODO:
- make checkpatch.pl clean
- coding style fixups (typedefs, etc.)
- get it to build properly
- audit ioctls
- remove ioctls if possible
- assign proper minor number
- remove dbg() macro
- lots of general cleanups
- review locking

Cc: Judd Montgomery <judd@jpilot.org>
Cc: Jeff Frontz <jeff.frontz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: usbip: switch to list_for_each_entry()
Alexander Beregalov [Sun, 7 Dec 2008 02:32:46 +0000 (05:32 +0300)] 
Staging: usbip: switch to list_for_each_entry()

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: me4000: switch to list_for_each*()
Alexander Beregalov [Sun, 7 Dec 2008 02:31:19 +0000 (05:31 +0300)] 
Staging: me4000: switch to list_for_each*()

Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: rtl8187se: remove duplicate pci ids
Greg Kroah-Hartman [Fri, 5 Dec 2008 04:39:37 +0000 (20:39 -0800)] 
Staging: rtl8187se: remove duplicate pci ids

We only want to load for one PCI device, the "SE" device.  The other PCI
devices that this driver supports are already supported by the existing
rtl8187 module.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: rtl8187se: make the built module be the proper name
Greg Kroah-Hartman [Fri, 5 Dec 2008 04:19:44 +0000 (20:19 -0800)] 
Staging: rtl8187se: make the built module be the proper name

If we are calling this the rtl8187se module, let's actually build
a module with that name.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: rtl8187se: remove unneeded files
Greg Kroah-Hartman [Fri, 5 Dec 2008 04:10:59 +0000 (20:10 -0800)] 
Staging: rtl8187se: remove unneeded files

There were a number of files in the ieee80211 code that were not
needed, so they are removed.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: add rtl8187se driver
Greg Kroah-Hartman [Fri, 5 Dec 2008 04:01:41 +0000 (20:01 -0800)] 
Staging: add rtl8187se driver

This is a driver for the Realtek 8187 "SE" wireless PCI devices in some
netbook computers (MSI Wind, and others).  It includes its own copy of
the ieee80211 stack, but it is compiled into the driver to prevend
duplicate symbol issues.

This version comes from Ralink with no authorship, but it is based
on an old version of the rtl8180 driver from Andrea Merello.  It was
hacked up a bit to get it to build properly within the kernel tree and
to properly handle the merged wireless stack within the driver.

Cc: Andrea Merello <andreamrl@tiscali.it>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: add Driver for Altera PCI Express Chaining DMA reference design
Leon Woestenberg [Mon, 1 Dec 2008 13:45:57 +0000 (08:45 -0500)] 
Staging: add Driver for Altera PCI Express Chaining DMA reference design

Altera PCI Express Chaining DMA driver

A reference driver that exercises the Chaining DMA logic reference
design generated along the Altera FPGA PCI Express soft or hard core,
only if instantiated using the MegaWizard, not the SOPC builder, of
Quartus 8.1.

This driver can be used to test the logic instantiation and PCI
Express layers and acts as a starting point for driving custom logic
connected to the PCI Express End Point Chaining DMA engines.

Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: panel: remove support for smartcards
Willy Tarreau [Sat, 22 Nov 2008 11:52:18 +0000 (12:52 +0100)] 
Staging: panel: remove support for smartcards

Smartcard support was more like a proof-of-concept than a completed
work. It was only able to read serial numbers from a few smartcards,
and the goal was to be able to secure keypad access with a smartcard.
Given how the concept was limited, this was never used beyond demos,
and it's better to remove this code so that nobody tries to use it
for security purposes.

The function panel_bind_callback() was ifdef'ed out, as its only user
was smartcard. However, it would be a waste to remove it because many
variations made on this driver will need it.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Cc: Frank Menne <frank.menne@hsm.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: panel: remove ifdefs and code for pre-2.6 kernels
Willy Tarreau [Sat, 22 Nov 2008 11:04:19 +0000 (12:04 +0100)] 
Staging: panel: remove ifdefs and code for pre-2.6 kernels

The code began 8 years ago with kernel 2.0 or 2.1, and kernels 2.2 and
2.4 were still supported. These old version need no longer be supported
if the code gets merged in mainline.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Cc: Frank Menne <frank.menne@hsm.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: panel: major checkpatch cleanup
Willy Tarreau [Sat, 22 Nov 2008 10:29:33 +0000 (11:29 +0100)] 
Staging: panel: major checkpatch cleanup

All of the 401 errors, and 108 of the 235 warnings reported by checkpatch
were cleared. The only remanining warnings left concern lines larger than
80 characters. This cleanup will be performed last.

Signed-off-by: Willy Tarreau <w@1wt.eu>
Cc: Frank Menne <frank.menne@hsm.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: add lcd-panel driver
Willy Tarreau [Fri, 14 Nov 2008 01:18:59 +0000 (17:18 -0800)] 
Staging: add lcd-panel driver

This adds the lcd-panel parallel port driver to the staging tree.

See the file, drivers/staging/panel/TODO for what needs to be fixed up
in order for this to be properly merged into the rest of the kernel
tree.

Cc: Willy Tarreau <w@1wt.eu>
Cc: Frank Menne <frank.menne@hsm.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: meilhaus: fix __symbol_get problems
Kamalesh Babulal [Thu, 20 Nov 2008 16:16:45 +0000 (21:46 +0530)] 
Staging: meilhaus: fix __symbol_get problems

next-20081120 kernel randconfig on x86_64 box fails, while !CONFIG_MODULES

drivers/staging/meilhaus/memain.c: In function 'me_probe_pci':
drivers/staging/meilhaus/memain.c:425: error: implicit declaration of function '__symbol_get'
drivers/staging/meilhaus/memain.c:425: warning: cast to pointer from integer of different size
drivers/staging/meilhaus/memain.c:433: warning: cast to pointer from integer of different size
drivers/staging/meilhaus/memain.c:453: error: implicit declaration of function '__symbol_put'
make[3]: *** [drivers/staging/meilhaus/memain.o] Error 1

the driver uses __symbol_get and __symbol_put instead of marco's
symbol_get and symbol_put, I have only build tested the patch.

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: Add the Meilhaus ME-IDS driver package
David Kiliani [Fri, 31 Oct 2008 23:39:12 +0000 (00:39 +0100)] 
Staging: Add the Meilhaus ME-IDS driver package

Originally written by Guenter Gebhardt <g.gebhardt@meilhaus.de>
and Krzysztof Gantzke <k.gantzke@meilhaus.de>

This is the drv/lnx/mod directory of ME-IDS 1.2.9 tarball with
some files from drv/lnx/include.

Signed-off-by: David Kiliani <mail@davidkiliani.de>
Cc: Guenter Gebhardt <g.gebhardt@meilhaus.de>
Cc: Krzysztof Gantzke <k.gantzke@meilhaus.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: asus_oled: fix build dependancy
Kamalesh Babulal [Thu, 20 Nov 2008 17:09:27 +0000 (22:39 +0530)] 
Staging: asus_oled: fix build dependancy

asus_oled depends on the CONFIG_USB_SUPPORT, I have only build tested
the patch.

Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: add asus_oled driver
Jakub Schmidtke [Wed, 5 Nov 2008 07:46:58 +0000 (23:46 -0800)] 
Staging: add asus_oled driver

Driver for the OLED tiny display on some Asus laptops.

From: Jakub Schmidtke <sjakub@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: fix build if CONFIG_PROC_FS is not set
J.R. Mauro [Sat, 15 Nov 2008 01:01:14 +0000 (20:01 -0500)] 
Staging: comedi: fix build if CONFIG_PROC_FS is not set

Don't include procfs functions if CONFIG_PROC_FS is not set

Signed-off by: J.R. Mauro <jrm8005@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
15 years agoStaging: comedi: fix checkpatch.pl warning in interrupt.h
Greg Kroah-Hartman [Fri, 21 Nov 2008 18:58:10 +0000 (10:58 -0800)] 
Staging: comedi: fix checkpatch.pl warning in interrupt.h

No more need for a kernel version check now that we are in the main
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: me_daq: fix sparse issues
Greg Kroah-Hartman [Wed, 19 Nov 2008 23:31:31 +0000 (15:31 -0800)] 
Staging: comedi: me_daq: fix sparse issues

This fixes the sparse issues that the tool had with the me_daq
driver.

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

This removes the typedefs from the me_daq driver.

Cc: 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>
15 years agoStaging: comedi: me_daq: fix checkpatch.pl issues
Greg Kroah-Hartman [Wed, 19 Nov 2008 23:26:21 +0000 (15:26 -0800)] 
Staging: comedi: me_daq: fix checkpatch.pl issues

This fixes a number of checkpatch.pl issues in the me_daq
driver.

Cc: 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>
15 years agoStaging: comedi: add me_daq driver
Michael Hillmann [Wed, 19 Nov 2008 22:26:25 +0000 (14:26 -0800)] 
Staging: comedi: add me_daq driver

This adds the me_daq comedi driver to the build.

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>
15 years agoStaging: comedi: add rtd520 driver
Dan Christian [Wed, 19 Nov 2008 22:21:25 +0000 (14:21 -0800)] 
Staging: comedi: add rtd520 driver

This adds the rtd520 comedi driver to the build.

From: 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>
15 years agoStaging: comedi: add s626 driver
Gianluca Palli [Wed, 19 Nov 2008 22:10:49 +0000 (14:10 -0800)] 
Staging: comedi: add s626 driver

This adds the s626 comedi driver to the build.

From: Gianluca Palli <gpalli@deis.unibo.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>
15 years agoStaging: comedi: comedi_pci.h: remove comedi_pci_disable_no_regions
Greg Kroah-Hartman [Wed, 19 Nov 2008 22:02:21 +0000 (14:02 -0800)] 
Staging: comedi: comedi_pci.h: remove comedi_pci_disable_no_regions

comedi_pci_disable_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 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>