summaryrefslogtreecommitdiffstats
path: root/drivers/staging/agnx
Commit message (Collapse)AuthorAgeFilesLines
* Staging: agnx: remove flush_workqueue()Alexander Beregalov2009-09-151-1/+1
| | | | | | | | | | mac80211 already does flush_workqueue() at stop/start and suspend\resume. (fix build error) Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* mac80211: push rx status into skb->cbJohannes Berg2009-07-101-1/+2
| | | | | | | | | | | | | | | Within mac80211, we often need to copy the rx status into skb->cb. This is wasteful, as drivers could be building it in there to start with. This patch changes the API so that drivers are expected to pass the RX status in skb->cb, now accessible as IEEE80211_SKB_RXCB(skb). It also updates all drivers to pass the rx status in there, but only by making them memcpy() it into place before the call to the receive function (ieee80211_rx(_irqsafe)). Each driver can now be optimised on its own schedule. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* Staging: agnx: fix build warningsGreg Kroah-Hartman2009-06-191-4/+6
| | | | | | This fixes some build warnings in the agnx driver. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: replace print_mac with %pMAlexander Beregalov2009-06-192-10/+7Star
| | | | | | Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: agnx, fix bssid compiler warningsJiri Slaby2009-06-194-5/+5
| | | | | | | | | | conf->bssid is const. Propagate const to not get compiler warnings: agnx/pci.c: In function ‘agnx_config_interface’: agnx/pci.c:319: warning: passing argument 2 of ‘agnx_set_bssid’ discards qualifiers from pointer target type agnx/pci.c:321: warning: passing argument 2 of ‘hash_write’ discards qualifiers from pointer target type Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: agnx, fix fail paths in probeJiri Slaby2009-06-191-0/+3
| | | | | | | | Return error on fail paths instead of 0. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: agnx, remove memlens from probeJiri Slaby2009-06-191-6/+2Star
| | | | | | | | Pass 0 to pci_iomap instead. It will cope with that per se. Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: agnx, probe cleanupJiri Slaby2009-06-191-22/+12Star
| | | | | | | | | | - switch printks to dev_* - remove useless comments - remove useless prints (for info we can obtain from lspci or /sys) Signed-off-by: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: switch config_interface to bss_info_changedAlexander Beregalov2009-05-201-6/+9
| | | | | | | | | | | | | | Fix this build error: drivers/staging/agnx/pci.c: In function 'agnx_config_interface': drivers/staging/agnx/pci.c:315: error: dereferencing pointer to incomplete type .. drivers/staging/agnx/pci.c:424: error: unknown field 'config_interface' specified in initializer config_interface was removed in 2d0ddec5b2b ("mac80211: unify config_interface and bss_info_changed") Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
* dma-mapping: replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32)Yang Hongyang2009-04-071-2/+2
| | | | | | | | Replace all DMA_32BIT_MASK macro with DMA_BIT_MASK(32) Signed-off-by: Yang Hongyang<yanghy@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Staging: agnx: Fixup xmit.c checkpatch warningsErik Andrén2009-04-031-100/+116
| | | | | | Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: Fixup table.c checkpatch warningsErik Andrén2009-04-031-6/+6
| | | | | | Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: Fixup sta.h checkpatch warningsErik Andrén2009-04-031-1/+1
| | | | | | Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: Fixup sta.c checkpatch warningsErik Andrén2009-04-031-11/+10Star
| | | | | | Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: Fixup rf.c checkpatch warningsErik Andrén2009-04-031-11/+10Star
| | | | | | Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: Fixup phy.c checkpatch warningsErik Andrén2009-04-031-16/+16
| | | | | | Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: Fixup pci.c checkpatch warningsErik Andrén2009-04-031-35/+33Star
| | | | | | Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: Fixup debug.h checkpatch warningsErik Andrén2009-04-031-11/+10Star
| | | | | | Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: Fixup agnx.h checkpatch warningsErik Andrén2009-04-031-7/+7
| | | | | | Signed-off-by: Erik Andrén <erik.andren@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: mac80211 hw config change flagsHerton Ronaldo Krzesinski2009-04-031-2/+2
| | | | | | | | | | Adapt agnx after commit "mac80211: introduce hw config change flags", detected by following build warning: drivers/staging/agnx/pci.c:426: warning: initialization from incompatible pointer type Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: i reaches -1, tested 0Roel Kluin2009-04-031-1/+1
| | | | | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: Move a dereference below a NULL testJulia Lawall2009-04-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the NULL test is necessary, then the dereference should be moved below the NULL test. The semantic patch that makes this change is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ type T; expression E; identifier i,fld; statement S; @@ - T i = E->fld; + T i; ... when != E when != i if (E == NULL) S + i = E->fld; // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Cc: YanBo <dreamfly281@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: agnx: drivers/staging/agnx/agnx.h needs <linux/io.h>Geert Uytterhoeven2009-01-291-0/+2
| | | | | | | | | | | | | | | | On m68k: drivers/staging/agnx/agnx.h: In function 'agnx_read32': drivers/staging/agnx/agnx.h:10: error: implicit declaration of function 'ioread32' drivers/staging/agnx/agnx.h: In function 'agnx_write32': drivers/staging/agnx/agnx.h:15: error: implicit declaration of function 'iowrite32' drivers/staging/agnx/sta.c: In function 'get_sta_power': drivers/staging/agnx/sta.c:94: error: implicit declaration of function 'memcpy_fromio' drivers/staging/agnx/sta.c: In function 'set_sta_power': drivers/staging/agnx/sta.c:103: error: implicit declaration of function 'memcpy_toio' Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: agnx: fix build warningsGreg Kroah-Hartman2009-01-062-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>
* Staging: agnx: fix build errors due to rate control API changesGreg Kroah-Hartman2009-01-061-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>
* Staging: agnx: fix build errors due to ssid removalGreg Kroah-Hartman2009-01-062-8/+0Star
| | | | | | | | | 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>
* Staging: add agnx wireless driverLi YanBo2009-01-0615-0/+5208
This driver is for the Airgo AGNX00 wireless chip. From: Li YanBo <dreamfly281@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>