linux/drivers/net/wireless/rt2x00
Kulikov Vasiliy 47cb905d6b rt2x00: do not use PCI resources before pci_enable_device()
IRQ and resource[] may not have correct values until
after PCI hotplug setup occurs at pci_enable_device() time.

The semantic match that finds this problem is as follows:

// <smpl>
@@
identifier x;
identifier request ~= "pci_request.*|pci_resource.*";
@@

(
* x->irq
|
* x->resource
|
* request(x, ...)
)
 ...
*pci_enable_device(x)
// </smpl>

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-08-04 15:28:37 -04:00
..
Kconfig rt2x00: Enable RT30xx by default. 2010-05-04 13:24:23 -04:00
Makefile
rt2x00.h rt2x00: Move driver callback functions into the ops structure 2010-07-12 16:05:37 -04:00
rt2x00config.c rt2x00: Add missing TSF sync mode for AP operation 2010-07-12 16:05:37 -04:00
rt2x00crypto.c rt2x00: Fix setting of txdesc->length field. 2010-05-10 14:56:47 -04:00
rt2x00debug.c rt2x00: Move rt2x00debug_dump_frame declaration to rt2x00.h. 2010-06-02 16:12:52 -04:00
rt2x00debug.h
rt2x00dev.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-07-20 18:25:24 -07:00
rt2x00dump.h rt2x00: correct sparse warning in rt2x00debug.c 2010-07-20 16:49:41 -04:00
rt2x00firmware.c drivers/net: remove useless semicolons 2010-05-17 22:47:34 -07:00
rt2x00ht.c rt2x00: fix use of mcs rates 2010-06-03 10:52:15 +02:00
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h rt2x00: Implement watchdog monitoring 2010-07-12 16:05:34 -04:00
rt2x00link.c rt2x00: Implement watchdog monitoring 2010-07-12 16:05:34 -04:00
rt2x00mac.c rt2x00: Fix regression for rt2500pci 2010-07-26 15:32:43 -04:00
rt2x00pci.c rt2x00: do not use PCI resources before pci_enable_device() 2010-08-04 15:28:37 -04:00
rt2x00pci.h rt2x00: Move common txdone handling to rt2x00lib_txdone. 2010-06-30 15:00:50 -04:00
rt2x00queue.c rt2x00: Implement watchdog monitoring 2010-07-12 16:05:34 -04:00
rt2x00queue.h rt2x00: Implement watchdog monitoring 2010-07-12 16:05:34 -04:00
rt2x00reg.h rt2x00: Add missing TSF sync mode for AP operation 2010-07-12 16:05:37 -04:00
rt2x00soc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
rt2x00soc.h rt2x00: remove KSEG1ADDR define from rt2x00soc.h 2010-03-10 16:16:53 -05:00
rt2x00usb.c rt2x00: Implement watchdog monitoring 2010-07-12 16:05:34 -04:00
rt2x00usb.h rt2x00: Implement watchdog monitoring 2010-07-12 16:05:34 -04:00
rt61pci.c rt2x00: Remove set_tim callback from PCI drivers 2010-07-12 16:05:35 -04:00
rt61pci.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
rt73usb.c rt2x00: Convert rt2x00 to use threaded interrupts 2010-07-12 16:05:34 -04:00
rt73usb.h drivers/net: use __packed annotation 2010-06-03 03:18:23 -07:00
rt2400pci.c rt2x00: Remove set_tim callback from PCI drivers 2010-07-12 16:05:35 -04:00
rt2400pci.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
rt2500pci.c rt2x00: Remove set_tim callback from PCI drivers 2010-07-12 16:05:35 -04:00
rt2500pci.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2010-02-25 23:26:21 -08:00
rt2500usb.c rt2500usb: disallow to set WEP key with non zero index 2010-07-27 14:59:59 -04:00
rt2500usb.h
rt2800.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-07-13 15:57:29 -04:00
rt2800lib.c rt2x00: Move common firmware loading into rt2800lib 2010-07-12 16:05:37 -04:00
rt2800lib.h rt2x00: Move driver callback functions into the ops structure 2010-07-12 16:05:37 -04:00
rt2800pci.c rt2x00: Move driver callback functions into the ops structure 2010-07-12 16:05:37 -04:00
rt2800pci.h rt2x00: Move all register definitions for rt2800 to rt2800.h. 2010-06-03 10:51:59 +02:00
rt2800usb.c rt2x00: Move driver callback functions into the ops structure 2010-07-12 16:05:37 -04:00
rt2800usb.h rt2x00: Move all register definitions for rt2800 to rt2800.h. 2010-06-03 10:51:59 +02:00