summaryrefslogtreecommitdiff
path: root/drivers
AgeCommit message (Collapse)AuthorFilesLines
2009-01-07Staging: comedi: dt9812: fix sparse warningsGreg Kroah-Hartman1-4/+2
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>
2009-01-07Staging: comedi: dt9812: remove typedefsGreg Kroah-Hartman1-72/+74
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>
2009-01-07Staging: comedi: dt9812: remove dt9812.hGreg Kroah-Hartman2-211/+206
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>
2009-01-07Staging: comedi: dt9812: fix up a lot of coding style issuesGreg Kroah-Hartman2-328/+365
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>
2009-01-07Staging: comedi: add comedi_parport driverDavid Schleef2-0/+388
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>
2009-01-07Staging: comedi: add comedi_test driverJoachim Wuttke2-0/+527
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>
2009-01-07Staging: comedi: add comedi_bond driverDavid Schleef2-0/+523
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>
2009-01-07Staging: comedi: add usb dt9812 driverAnders Blomdell3-0/+1134
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>
2009-01-07Staging: comedi: add usb usbduxfast driverBernd Porr2-0/+1780
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>
2009-01-07Staging: comedi: add usb usbdux driverBernd Porr2-0/+2984
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>
2009-01-07Staging: comedi: add mite comedi pci driverDavid Schleef3-0/+1265
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>
2009-01-07Staging: comedi: comedi driver common function moduleDavid Schleef4-0/+285
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>
2009-01-07Staging: comedi: add pci and usb wrapper header filesDavid Schleef3-0/+137
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>
2009-01-07Staging: comedi: add local copy of interrupt.hDavid Schleef2-1/+68
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>
2009-01-07Staging: comedi: set up infrastructure for individual driversGreg Kroah-Hartman3-0/+17
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>
2009-01-07Staging: comedi: add kcomedilib to the treeDavid Schleef7-0/+1199
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>
2009-01-07Staging: comedi: fix build error in comedilib.hGreg Kroah-Hartman1-1/+1
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>
2009-01-07Staging: comedi: fix checkpatch.pl errors in comedi_fops.cGreg Kroah-Hartman1-265/+263
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>
2009-01-07Staging: comedi: fix up a lot of checkpatch.pl warningsGreg Kroah-Hartman7-704/+736
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>
2009-01-07Staging: add comedi coreDavid Schleef21-0/+6460
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>
2009-01-07Staging: benet: cleanup a check while posting rx buffersSathya Perla1-13/+2
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>
2009-01-07Staging: benet: fix problems reported by checkpatchSathya Perla8-46/+34
Signed-off-by: Sathya Perla <sathyap@serverengines.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: benet: patch to use offsetof() instead of AMAP_BYTE_OFFSET()Sathya Perla3-70/+44
Signed-off-by: Sathya Perla <sathyap@serverengines.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: benet: fix build error.Greg Kroah-Hartman1-0/+1
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>
2009-01-07Staging: benet: fix build errors when CONFIG_NETPOLL is offSathya Perla3-6/+3
Signed-off-by: Sathya Perla <sathyap@serverengines.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: benet: patch to remove subdirectoriesSathya Perla30-6/+10
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>
2009-01-07Staging: benet: build is broken unless CONFIG_NETPOLL is enabledGreg Kroah-Hartman2-1/+2
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>
2009-01-07Staging: benet: fix up netdev->priv changeGreg Kroah-Hartman4-27/+25
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>
2009-01-07Staging: benet: fix netif api breakageGreg Kroah-Hartman1-2/+2
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>
2009-01-07Staging: Add ServerEngines benet 10Gb ethernet driverSubbu Seetharaman39-0/+12285
Signed-off-by: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: rt2860: enable WPA_SUPPLICANT supportGreg Kroah-Hartman1-0/+2
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>
2009-01-07Staging: rt2860: Fix minor compiler warningsGreg Kroah-Hartman3-6/+1
The build is "clean" now for this driver. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: rt2860: use standard bit-reverse functionJ.R. Mauro1-17/+4
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>
2009-01-07Staging: rt2860: fix up netdev->priv usageGreg Kroah-Hartman4-97/+97
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>
2009-01-07Staging: rt2860: disable root hack for reading filesGreg Kroah-Hartman1-5/+10
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>
2009-01-07Staging: add rt2860 wireless driverGreg Kroah-Hartman65-0/+89657
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>
2009-01-07Staging: otus: remove dependence on kernel versionAlexander Beregalov8-265/+2
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>
2009-01-07Staging: otus: fix urb callback function typeGreg Kroah-Hartman1-16/+0
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>
2009-01-07Staging: otus: fix name clashJ.R. Mauro1-2/+1
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>
2009-01-07Staging: otus: fix netdev->priv usageGreg Kroah-Hartman9-104/+103
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>
2009-01-07Staging: add otus Atheros wireless network driverLuis R. Rodriguez79-0/+70415
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>
2009-01-07Staging: agnx: fix build warningsGreg Kroah-Hartman2-3/+5
Fix some minor build warnins in the agnx driver Cc: Li YanBo <dreamfly281@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: agnx: fix build errors due to rate control API changesGreg Kroah-Hartman1-3/+3
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>
2009-01-07Staging: agnx: fix build errors due to ssid removalGreg Kroah-Hartman2-8/+0
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>
2009-01-07Staging: add agnx wireless driverLi YanBo17-0/+5211
This driver is for the Airgo AGNX00 wireless chip. From: Li YanBo <dreamfly281@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07Staging: slicoss: use request_firmwareLior Dotan2-24/+87
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>
2009-01-07Staging: slicoss: use correct type for memory allcationsLior Dotan1-3/+3
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>
2009-01-07Staging: slicoss: use kzallocLior Dotan1-2/+1
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>
2009-01-07Staging: usbip: cleanup kerneldocQinghuang Feng1-1/+0
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>
2009-01-07Staging: et131x: remove unused variable in et1310_tx.cJohann Felix Soden1-3/+0
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>