Kulikov Vasiliy 96576a9e1a agp: intel-agp: 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: Dave Airlie <airlied@redhat.com>
2010-08-05 12:28:25 +10:00
..
2009-09-24 07:21:03 -07:00
2010-04-23 02:08:44 +02:00
2008-12-13 11:25:49 -08:00
2008-10-20 08:52:41 -07:00
2010-05-17 03:06:12 +02:00
2010-06-04 15:21:44 -07:00
2009-12-10 22:55:36 +01:00
2010-05-27 09:12:50 -07:00
2010-06-04 13:37:17 -07:00
2009-07-12 12:22:34 -07:00
2010-05-27 09:12:50 -07:00
2010-05-27 09:12:50 -07:00
2010-05-20 19:55:01 +10:00
2009-07-12 12:22:34 -07:00
2009-02-22 09:23:02 -08:00
2009-06-11 08:51:01 -07:00
2010-05-21 09:34:31 -07:00
2009-07-12 12:22:34 -07:00
2009-09-01 01:13:31 -07:00
2009-10-14 17:36:53 +02:00
2010-01-04 12:31:21 -08:00
2010-03-02 14:43:22 -08:00