Kulikov Vasiliy 889635fd6b via-velocity: 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-08-04 16:18:03 -07:00
..
2010-07-26 21:05:03 -07:00
2010-08-02 16:26:44 -07:00
2010-07-14 17:55:35 -07:00
2010-08-03 16:40:52 -07:00
2010-07-25 16:48:44 -07:00
2010-07-19 15:27:13 -07:00
2010-07-11 18:15:08 -07:00
2010-07-11 18:15:08 -07:00
2010-07-08 23:42:40 -07:00
2010-07-19 20:30:07 -07:00
2010-07-14 13:36:18 -07:00
2010-07-19 13:32:57 -07:00
2010-07-14 13:40:36 -07:00
2010-07-14 17:57:19 -07:00
2010-07-30 22:10:01 -07:00
2010-07-27 22:24:37 -07:00
2010-07-21 21:10:49 -07:00
2010-07-15 20:46:22 -07:00
2010-07-23 13:05:13 -07:00
2010-07-30 23:59:04 -07:00
2010-07-14 12:17:35 -07:00
2010-08-02 15:46:33 -07:00
2010-08-02 15:46:33 -07:00
2010-07-14 17:53:18 -07:00