summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-01-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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-06Staging: 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>
2009-01-06Staging: et131x: fix build failureJ.R. Mauro1-2/+2
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>
2009-01-06Staging: et131x: Cleanup et131x_debug.h definesStoyan Gaydarov1-53/+107
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>
2009-01-06Staging: go7007: add some more v4l2 ioctlsGreg Kroah-Hartman1-4/+0
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>
2009-01-06Staging: go7007: small cleanupOliver Neukum1-21/+24
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>
2009-01-06Staging: go7007: fix minor build warningsGreg Kroah-Hartman1-1/+4
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>
2009-01-06Staging: go7007: annotate code pointersHarvey Harrison1-15/+15
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>
2009-01-06Staging: go7007: Convert driver to use video_ioctl2Mauro Carvalho Chehab1-692/+820
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>
2009-01-06Staging: go7007: add sensoray 2250/2251 supportPete Eberlein8-3/+893
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>
2009-01-06Staging: go7007: saa7134 updatesPete Eberlein7-18/+803
- 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>
2009-01-06Staging: echo: Lindent drivers/staging/echoJ.R. Mauro3-14/+13
Lindent drivers/staging/echo Signed-off by: J.R. Mauro <jrm8005@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: echo: remove typedefsJ.R. Mauro4-29/+28
Remove typedefs in drivers/staging/echo Signed-off by: J.R. Mauro <jrm8005@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06staging: struct device - replace bus_id with dev_name(), dev_set_name()Kay Sievers8-18/+19
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: sxg: update READMEJ.R. Mauro1-2/+0
Update readme in drivers/staging/sxg Signed-off by: J.R. Mauro <jrm8005@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: sxg: break the build in a cleaner way when !x86J.R. Mauro1-1/+1
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>
2009-01-06Staging: sxg: remove typedefsJ.R. Mauro7-330/+325
Remove typedefs in the sxg driver Signed-off by: J.R. Mauro <jrm8005@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: poch: Fine grained lockingVijay Kumar1-2/+5
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>
2009-01-06Staging: poch: Fix user space protocol syncingVijay Kumar1-12/+2
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>
2009-01-06Staging: poch: Rx control register initVijay Kumar1-3/+10
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>
2009-01-06Staging: poch: Fix build warningsVijay Kumar1-2/+2
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>