Yu Zhao f79b1b146b PCI: use fixed-up device class when configuring device
The device class may be changed after the fixup, so re-read the class
value from pci_dev when configuring the device.  Otherwise some devices
such as JMicron SATA controller won't work.

Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Reviewed-by: Grant Grundler <grundler@parisc-linux.org>
Tested-by: Marc Dionne <marc.c.dionne@gmail.com>
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-06-04 11:29:43 +01:00
..
2005-10-18 08:26:15 -07:00
2009-04-22 14:49:33 -07:00
2009-04-22 14:49:33 -07:00
2008-10-15 14:24:08 +02:00
2009-04-06 11:25:33 -07:00
2008-10-15 14:24:08 +02:00
2009-05-11 17:02:27 -07:00
2009-03-20 10:48:14 -07:00
2009-04-05 02:14:15 -04:00
2009-04-22 14:49:33 -07:00
2009-02-13 12:01:56 -08:00
2008-06-25 16:05:13 -07:00
2009-04-22 14:49:33 -07:00