aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
AgeCommit message (Collapse)Author
2009-01-06Staging: add agnx wireless driverLi YanBo
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 Dotan
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 Dotan
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 Dotan
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 Feng
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 Soden
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. Mauro
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 Gaydarov
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-Hartman
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 Neukum
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-Hartman
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 Harrison
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 Chehab
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 Eberlein
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 Eberlein
- 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. Mauro
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. Mauro
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 Sievers
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. Mauro
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. Mauro
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. Mauro
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 Kumar
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 Kumar
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 Kumar
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 Kumar
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>
2009-01-06Staging: poch: minor fixesVijay Kumar
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>
2009-01-06Staging: poch: Correct pages from bytes.Vijay Kumar
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>
2009-01-06Staging: poch: Update TODO listVijay Kumar
Update TODO list. Signed-off-by: Vijay Kumar <vijaykumar@bravegnu.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: poch: Block size bug fixVijay Kumar
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>
2009-01-06Staging: at76_usb: cleanup dma on stack issuesOliver Neukum
- 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>
2009-01-06Staging: at76_usb: fix up all remaining checkpatch.pl warningsGreg Kroah-Hartman
It's now a "clean" driver. Cc: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: at76_usb: remove compiler warningsGreg Kroah-Hartman
3 functions are now not used, remove them. Cc: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: at76_usb: fix build breakageGreg Kroah-Hartman
The previous patch broke the at76_usb driver due to some other wireless core api changes. This patch fixes the driver to build properly again. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: at76_usb: update drivers/staging/at76_usb w/ mac80211 portJohn W. Linville
This updates drivers/staging/at76_usb to correspond with the latest version previously available in wireless-testing. Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: skb_p80211_to_ether() - payload_length is unsigned, check ↵Roel Kluin
before subtraction payload_length is unsigned, check before subtraction Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
2009-01-06Staging: wlan-ng: fix compiler warningsGreg Kroah-Hartman
This fixes some compiler warnings in teh wlan-ng driver. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: p80211wext.c: use ARRAY_SIZEJulia Lawall
ARRAY_SIZE is more concise to use when the size of an array is divided by the size of its type or the size of its first element. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @i@ @@ #include <linux/kernel.h> @depends on i using "paren.iso"@ type T; T[] E; @@ - (sizeof(E)/sizeof(E[...])) + ARRAY_SIZE(E) @depends on i using "paren.iso"@ type T; T[] E; @@ - (sizeof(E)/sizeof(T)) + ARRAY_SIZE(E) // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: remove unused #include <version.h>Huang Weiyi
The file(s) below do not use LINUX_VERSION_CODE nor KERNEL_VERSION. drivers/staging/wlan-ng/p80211conv.c drivers/staging/wlan-ng/p80211req.c drivers/staging/wlan-ng/p80211wext.c drivers/staging/wlan-ng/prism2mgmt.c This patch removes the said #include <version.h>. Signed-off-by: Huang Weiyi <weiyi.huang@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: p80211conv.c copy code from wlan-ng-devel branch to not ↵Richard Kennedy
drop packets allow card to correctly receive network packets, without this change all incoming packets are dropped. code copied from the latest wlan-ng-devel tree. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: hfa384x_usbin_callback: check for hardware removedRichard Kennedy
hfa384x_usbin_callback: check for hardware removed copied from latest wlan-ng-devel version Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: p80211wext don't set default key id twiceRichard Kennedy
p80211wext don't set default key id twice another change from wlan-ng-devel Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: p80211wext.c add latest changes & remove extra nulls from ↵Richard Kennedy
wext_handlers add the latest changes from wlan-ng-devel remove 2 stray nulls from the wext_handler table introduced by the tidy up patch. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: hfa384x_usb.c use newest version of 384x_drvr_startRichard Kennedy
include the needed fixes from Karl Relton <karllinuxtest.relton@ntlworld.com> see thread on linux-wlan-devel mailing list "Possible cause of those pesky hfa384x_usbctlx_complete_sync errors" Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Cc: Karl Relton <karllinuxtest.relton@ntlworld.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: prism2_usb.c always enable the card in probe_usbRichard Kennedy
always enable card in probe_usb & update register_wlandev to match latest wlan-ng-dev tree. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: p80211netdev.c fix netdev alloc to prevent oops on device ↵Richard Kennedy
start a version of this patch is in the wlan-ng_devel tree initializes netdev correctly to prevent an oops on device start. Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: Purge all MIBs not used internally.Solomon Peachy
The next step is to bypass the MIB calling mechanism altogether and just invoke the hardware directly where needed, but at least now the list has been paired down considerably. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: Consolidate wlan-ng into a single module.Solomon Peachy
There's no point in having a separate 'p80211' module, as nobody else is ever going to use it. Push everyting into a single module, and get rid of all exports. Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: Delete a pile of unused mibs. And fix WEXT SET_TXPOWER.Solomon Peachy
Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: Delete a large pile of now-unused code.Solomon Peachy
Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-06Staging: wlan-ng: use WIRELESS_EXT, not CONFIG_WIRELESS_EXTSolomon Peachy
Kconfig doesn't work with variables starting with CONFIG_ Signed-off-by: Solomon Peachy <pizza@shaftnet.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>