aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Staging: Add initial release of brcm80211 - Broadcom 802.11n wireless LAN ↵Henry Ptasinski2010-09-08129-0/+115478
| | | | | | | | | driver. Signed-off-by: Henry Ptasinski <henryp@broadcom.com> Cc: Brett Rudley <brudley@broadcom.com> Cc: Nohee Ko <noheek@broadcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vt6656: use ARRAY_SIZE macro in channel.cNikitas Angelinas2010-09-081-1/+2
| | | | | | | | Replace (sizeof(ChannelRuleTab) / sizeof(ChannelRuleTab[0])) with ARRAY_SIZE(ChannelRuleTab) in drivers/staging/vt6656/channel.c Signed-off-by: Nikitas Angelinas <nikitasangelinas@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: fix space coding style issue in adl_pci9111.cMaurice Dawson2010-09-081-95/+98
| | | | | | | | This is a patch to the adl_pci9111.c file that fixes up multiple please, no space for starting a line warnings, found by the checkpatch.pl tool Signed-off-by: Maurice Dawson <mauricedawson2699@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: ath6kl: Eliminating the symlink to 2.0 header filesVipin Mehta2010-09-0811-1/+0
| | | | | | | | Moving the AR6002 hw 2.0 specific register definitions files from the hw.0 directory to a new directory, 'hw' within hw2.0. Signed-off-by: Vipin Mehta <vmehta@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: Less verbose function headersMike McCormack2010-09-083-385/+75
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: Fix indent in some placesMike McCormack2010-09-081-64/+44
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: Remove some redundant commentsMike McCormack2010-09-082-34/+2
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: Remove extern and redundant declarationsMike McCormack2010-09-085-146/+133
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: Remove function with no effectMike McCormack2010-09-081-35/+0
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: Remove unused macrosMike McCormack2010-09-081-15/+1
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: Remove some commented out codeMike McCormack2010-09-081-7/+1
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: Remove function name comments at end of functionsMike McCormack2010-09-084-39/+39
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rtl8192e: Remove some redundant codeMike McCormack2010-09-081-12/+4
| | | | | Signed-off-by: Mike McCormack <mikem@ring3k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Beeceem USB Wimax driverStephen Hemminger2010-09-0863-0/+27606
| | | | | | | | | | | | | | | | | | | | | | The Sprint 4G network uses a Wimax dongle with Beecem chipset. The driver is typical of out of tree drivers, but maybe useful for people, and the hardware is readily available. Here is a staging ready version (i.e warts and all) 0. Started with Rel_5.2.7.3P1_USB from Sprint4GDeveloperPack-1.1 1. Consolidated files in staging 2. Remove Dos cr/lf 3. Remove unnecessary ioctl from usbbcm_fops Applied patches that were in the developer pack, surprising there were ones for 2.6.35 already. This is compile tested only, see TODO for what still needs to be done. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: keucr: fix up some coding style issues in the .h filesGreg Kroah-Hartman2010-09-085-1228/+2245
| | | | | | | | | This resolves a few of the coding style issues in the .h files for this driver. It doesn't get all of them by far, but it's a good start. Cc: Al Cho <acho@novell.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: add USB ENE card reader driverAl Cho2010-09-0825-0/+10081
| | | | | | | | | | This driver is for the ENE card reader that can be found in many different laptops. It was written by ENE, but cleaned up to work properly in the kernel tree by Novell. Signed-off-by: Al Cho <acho@novell.com> Cc: <yiyingc@ene.com.tw> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: Removes unnecesary logJavier Martinez Canillas2010-09-081-7/+0
| | | | | | | | | | This patch fixes a compile warning removing an unnecessary log message. I redo the patch against today linux-next. Thanks a lot Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging : xgifb: Removes compilation conditionalsJavier Martinez Canillas2010-09-081-4/+1
| | | | | | | | This patch fixes a compilation warning in today linux-next removing some compilation conditionals. Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: ath6kl: Fixing a compilation error introduced by commit ↵Vipin Mehta2010-09-081-1/+1
| | | | | | | ec53d6123bea9f69887f194b5d4294a43292120d. Signed-off-by: Vipin Mehta <vmehta@atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: ath6kl: use native methods from kernel libraryAndy Shevchenko2010-09-082-38/+25
| | | | | | | | | There are already implemented methods such hex_to_bin() or isxdigit() in the kernel. Let's use them. Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Acked-by: Vipin Mehta <Vipin.Mehta@Atheros.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8712: throw away custom hex_to_bin()Andy Shevchenko2010-09-081-13/+2
| | | | | Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: revert a warning fix and resolve it properlyGreg Kroah-Hartman2010-09-081-7/+2
| | | | | | | | | | | | | | Jiri pointed out that the previous compiler warning fix was incorrect as the compiler was properly saying that the variable was not being set. This was due to a #define commenting out all of the logic in the function. This patch reverts Javier's previous one, and properly fixes the issue by making the function actually doing something. Reported-by: Jiri Slaby <jirislaby@gmail.com> Cc: Javier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: otus: removes global variable initialization to 0 in wwrap.cPrashant P. Shah2010-09-071-1/+1
| | | | | | | | This is a patch to the wwrap.c file that removes the initialization of global variable 'smp_kevent_Lock' to 0 Signed-off-by: Prashant P. Shah <pshah.mumbai@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Bulk convert the semaphore messThomas Gleixner2010-09-0711-16/+16
| | | | | | | | init_MUTEX(_LOCKED) and DECLARE_MUTEX are going away. Bulk convert staging users. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: Initialize uninitialized variablesJavier Martinez Canillas2010-09-061-2/+2
| | | | | | | | Current patch solves compilation warnings in staging/xgifb for using possibly uninitialized variables. Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: fixed many style issues in XGI_main_26.cPrashant P. Shah2010-09-061-1934/+1924
| | | | | | | | | | | | This is a patch to the XGI_main_26 file that fixes many style issues found by the checkpatch.pl tool. - extra spaces - invalid code indent - extra braces - invalid comment style Signed-off-by: Prashant P. Shah <pshah.mumbai@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: rt2860: Fix brace coding style issueGreg Kroah-Hartman2010-09-051-2/+1
| | | | | | This fixes a single brace issue in the rt_linux.c file. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: udlfb: fix checkpatch and styleBernie Thompson2010-09-051-8/+8
| | | | | | | Fix warnings detected by tools Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: udlfb: fix incorrect fb_defio implementation for multiple framebuffersBernie Thompson2010-09-052-25/+60
| | | | | | | | | | | | Fix fb_defio bug in udlfb for multiple framebuffers Previously when using fb_defio with multiple DisplayLink attached displays udlfb incorrectly used a shared datastructure where it needed to have one per fb_info struct. This was completely broken and caused all kinds of problems, including rendering to one framebuffer affecting others. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: cxt1e1: Kconfig: SBE_PMCC4_NCOMM can not be compiled as module, ↵Michael Prokop2010-09-051-1/+1
| | | | | | | | | | | | | | | adjust help description The Kconfig description for CONFIG_SBE_PMCC4_NCOMM says: If you have purchased this optional support you must say Y or M here to allow the driver to operate with the NCOMM product. This is not correct as it can not be built as module, this patch updates the description accordingly. Signed-off-by: Michael Prokop <mika@grml.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: comedi: Fix unsigned return typeJulia Lawall2010-09-052-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | In each case, the function has an unsigned return type, but returns a negative constant to indicate an error condition. For move_block_from_dma, there is only one call and the return value is dropped, so it need not be unsigned. For labpc_eeprom_write, there is only one call and the result is stored in a signed variable, so again the unsigned return type is not necessary. A sematic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @exists@ identifier f; constant C; @@ unsigned f(...) { <+... * return -C; ...+> } // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: westbridge: improve error pathVasiliy Kulikov2010-09-051-1/+9
| | | | | | | | | | kmalloc() may fail, check for it. Allocated memory is not freed. Use IS_ERR() instead of strict checking. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Cc: David Cross <david.cross@cypress.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: ath6kl: check return code of get_user and put_userVasiliy Kulikov2010-09-051-65/+149
| | | | | | | Function get_user may fail. Check for it. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: comedi: check return code of put_userVasiliy Kulikov2010-09-051-1/+2
| | | | | | | Function put_user may fail. Check for it. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: tidspbridge: check return code of get_userVasiliy Kulikov2010-09-051-1/+5
| | | | | | | Function get_user may fail. Check for it. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: rtl8192u: improve error pathVasiliy Kulikov2010-09-051-5/+18
| | | | | | | Functions alloc_ieee80211 and register_netdev may fail. Check for it. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: tidspbridge: check return code of kzallocVasiliy Kulikov2010-09-051-0/+8
| | | | | | | Function kzalloc may fail. Check for it. Signed-off-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: udlfb: add module options for console and fb_defioBernie Thompson2010-09-052-98/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add module options for console and fb_defio Convert fb_defio on/off switch to module option and add console option. >From the command line, pass options to modprobe modprobe udlfb defio=1 console=1 Or for permanent option, create file like /etc/modprobe.d/options with text options udlfb defio=1 console=1 Accepted options: fb_defio Make use of the fb_defio (CONFIG_FB_DEFERRED_IO) kernel module to track changed areas of the framebuffer by page faults. Standard fbdev applications that use mmap but that do not report damage, may be able to work with this enabled. Disabled by default because of overhead and other issues. console Allow fbcon to attach to udlfb provided framebuffers. This is disabled by default because fbcon will aggressively consume the first framebuffer it finds, which isn't usually what the user wants in the case of USB displays. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: udlfb: support for writing backup EDID to sysfs fileBernie Thompson2010-09-051-2/+26
| | | | | | | | | | | | | | Support writing default/backup edid via /sys/class/graphics/fb?/edid Writing a backup edid blob to the 'edid' file will cause udlfb to attempt to re-read the edid from hardware. If we still don't have a good edid, it will use the backup edid instead. The intent is to 1) enable user-supplied edid 2) enable udev rules to backup the last known good edid for a device, and then provide that edid as a backup for all future starts Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: udlfb: fix big endian rendering errorBernie Thompson2010-09-051-4/+3
| | | | | | | | | Fix big endian rendering bug (affects PowerPC) Thanks to Christian Melki at Ericsson for finding and suggesting patch. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: udlfb: enhance EDID and mode handling supportBernie Thompson2010-09-052-95/+312
| | | | | | | | | | | | | | | | | | | Enhance EDID and mode table handling * Adds support for lower-end DL chips on higher-end monitors * Adds support for using fbdev standard EDID parsing and handling * Adds support for more dynamic reallocation of framebuffer, based on new EDID Queries EDID from hardware with several retries then queries DisplayLink chip for max pixel area via vendor descriptor. Uses existing fbdev mode handling service funcations to build mode list of common modes between adapter and monitor. This enables lower-end chips (e.g. DL-125) to successfully pick a compatible mode on higher end monitors (e.g. whose default mode is over 1280x1024). Reallocate framebuffer if necessary in response to new max mode. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: udlfb: revamp reference handling to insure successful shutdownBernie Thompson2010-09-052-80/+115
| | | | | | | | | | | | | Revamp reference handling and synchronization for unload/shutdown Udlfb is a "virtual" framebuffer device that really exists on two separate stacks: at the bottom of the framebuffer interface, and on top of USB. During unload, there's no guarantee which one will tear down first. So reference counting must be solid to handle all possibilities and not access anything once its gone. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: udlfb: remove metrics_misc sysfs attributeBernie Thompson2010-09-052-43/+0
| | | | | | | | | | | Remove metrics_misc sysfs attribute Previously returned multiple values, which goes against sysfs guidelines. Had been used for debugging to figure out which of the multiple fbdev interfaces an app was using, but log file messages are sufficient. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: udlfb: add DPMS supportBernie Thompson2010-09-051-16/+20
| | | | | | | | | Add ability to power off monitor with standard blanking interface Used by X servers and others to manage power of dislpay Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: udlfb: fbdev character read and write supportBernie Thompson2010-09-051-0/+44
| | | | | | | | | | | | Restore fbdev character read and write support Enables access to the framebuffer from simple reads and writes to /dev/fb0 (or fb1, ...). Low performance, because of extra copy and because udlfb must scan every pixel for changes. But very useful for testing and simple image display, etc. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: udlfb: Add intro udlfb documentationBernie Thompson2010-09-051-0/+144
| | | | | | | Add documentation for the udlfb framebuffer driver for DisplayLink devices. Signed-off-by: Bernie Thompson <bernie@plugable.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: lirc: Remove unnecessary casts of private_dataJoe Perches2010-09-052-7/+7
| | | | | Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: Removes unused variableJavier Martinez Canillas2010-09-051-1/+0
| | | | | Signed-off-by: Javier Martinez Canillas <martinez.javier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: batman-adv: Update mtu of bat device by changing mtu of slave deviceSven Eckelmann2010-09-051-0/+4
| | | | | | | | | | We must reduce our own mtu when we reduce the mtu of any device we use to transfer our packets. Otherwise we may accept to large packets which gets dropped by the actual device. Reported-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: batman-adv: Don't inform about dropped packets in nodebugSven Eckelmann2010-09-052-9/+8
| | | | | | | | | | | | Information about dropped packets are usually only interesting for debugging purposes and otherwise open the possibility to flood the logs of the target machine with useless information. pr_debug will not output those information on a nodebug kernel. Reported-by: Vasiliy Kulikov <segooon@gmail.com> Signed-off-by: Sven Eckelmann <sven.eckelmann@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>