aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/winbond
Commit message (Collapse)AuthorAge
...
* Staging: w35und: remove atomic op wrappersPekka Enberg2009-01-06
| | | | | | | | | | Use the kernel provided atomic op functions and remove the OS_ATOMIC and related wrapper macros. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove timer wrappersPekka Enberg2009-01-06
| | | | | | | | | | | This patch removes the OS_TIMER and related wrappers from driver code. The patch also changes the code to use msecs_to_jiffies() for setting up timer->expires. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: move supported band initialization out of wb35_probe()Pekka Enberg2009-01-06
| | | | | | | | | | This patch moves the static struct ieee80211_supported_band initialization out of w35_probe() because it's really global read-only configuration data. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: plug memory leak in wbsoft_tx()Pekka Enberg2009-01-06
| | | | | | | | | | | There's no reason to duplicate the skb in wbsoft_tx() and leak GFP_ATOMIC memory as the contents are copied to ->TxBuffer in MdxTx() anyway before MLMESendFrame() returns. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove macro magic from MLME_GetNextPacket()Pekka Enberg2009-01-06
| | | | | | | | | | This removes the macro magic from MLME_GetNextPacket() to de-obfuscate the code. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: usb_put_dev() is missing from wb35_disconnect()Pekka Enberg2009-01-06
| | | | | | | | | | | The wb35_probe() function does usb_get_dev() so add a missing usb_put_dev() to the wb35_disconnect() function. Also fix error handling paths in wb35_probe() to call usb_put_dev() as well. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: OS_MEMORY_ALLOC wrapper removalPekka Enberg2009-01-06
| | | | | | | | | This patch removes the rather scary OS_MEMORY_ALLOC macro. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove true/false boolean macrosPekka Enberg2009-01-06
| | | | | | | | | | Use the kernel built-in true and false boolean values instead of duplicating them in the driver code. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* w35und: remove dead code from wbusb_f.hPekka Enberg2009-01-06
| | | | | | | | | | | Remove dead code from wbusb_f.h and move the WbWLanInitialize() definition to wblinux_f.h where it arguably belongs to. As the wbusb_f.h is now empty, we can remove it completely. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove usb_alloc_urb wrapper functionGreg Kroah-Hartman2009-01-06
| | | | | | | | | | No need for a simple wrapper here. Cc: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove usb_submit_urb wrapper functionGreg Kroah-Hartman2009-01-06
| | | | | | | | | No need for a simple wrapper here. Cc: Pekka Enberg <penberg@cs.helsinki.fi> Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: wb35_probe() cleanupPekka Enberg2009-01-06
| | | | | | | | | Fix error handling in wb35_probe() function and clean it up a bit. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: merge wblinux struct to adapterPekka Enberg2009-01-06
| | | | | | | | | Zaps another compatability layer from the driver code. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: padapter struct typedef removalPekka Enberg2009-01-06
| | | | | | | | | | Remove the PADAPTER typedef and its strange variants. Also fix up variable names that use the type while we're at it. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: wb35reg struct typedef removalPekka Enberg2009-01-06
| | | | | | | | | | This patch removes the WB35REG struct typedefs and fixes up variable names that use the type. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: reg queue struct typedef removalPekka Enberg2009-01-06
| | | | | | | | | This patch removes the struct typedefs for reg queues. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: purb typedef removalPekka Enberg2009-01-06
| | | | | | | | | | This patch removes the struct urb pointer typedef from the driver code and fixes up variable names that use the typedef while we're at it. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove the no-op pa_stall_execution macroPekka Enberg2009-01-06
| | | | | | | | | | The pa_stall_execution() macro doesn't do anything so remove it from driver code. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: use msleep() and udelay()Pekka Enberg2009-01-06
| | | | | | | | | | This patch removes the OS_SLEEP() wrapper and changes the call-sites to use msleep() and udelay() where appropriate. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove unused wb35_open() and wb35_close() functionsPekka Enberg2009-01-06
| | | | | | | | | The functions are not used anywhere so remove them. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: make wb35_probe() and wb35_disconnect() funtions staticPekka Enberg2009-01-06
| | | | | | | | | | The wb35_probe() and wb35_disconnect() functions are only used in wbusb.c so make them static and remove them from a header file. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging-winbond: Kill directly reference of netdev->privWang Chen2008-12-08
| | | | | | | | | | | | This driver is not yet finished. At this time, we don't know how netdev be created and how private data be allocated. So, simply use netdev_priv() now and leave some temp comment. Compile test only. Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
* Staging: wbusb: fix a bunch of compiler warningsGreg Kroah-Hartman2008-10-22
| | | | | | | First cut at removing some obvious compiler warnings. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: module init cleanupPekka Enberg2008-10-22
| | | | | | | | | | This patch cleans up the module init functions a bit and removes the redundant device ID check from wb35_probe() function. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: use gotos for error handlingPekka Enberg2008-10-22
| | | | | | | | | | | The driver code uses do { } while (0) together with the break statement to emulate gotos for error handling. Fix that up by using the goto statement instead. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove spinlock wrappersPekka Enberg2008-10-22
| | | | | | | | | This patch removes the OS_SPIN_LOCK and related wrappers from the driver code. Acked-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: w35und: remove some typedefsPekka Enberg2008-10-22
| | | | | | | | | This patch removes some obfuscating typedefs from the driver code. Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: document 4k stack problem for winbond driverGreg Kroah-Hartman2008-10-22
| | | | | | | | | As noticed by Arjan Cc: Arjan van de Ven <arjan@infradead.org> Cc: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: W35UND should depend on USBGeert Uytterhoeven2008-10-22
| | | | | | | | W35UND should depend on USB Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: add w35und wifi driverPavel Machek2008-10-10
This is driver for w35und usb wifi -- also in kohjinsha subnotebook. It should work well enough to associate and ping, but it obviously needs to be rewritten two more times... OTOH worst horrors (like embedded wifi stack) should have been fixed already... Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>