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
..
2009-04-22 14:49:33 -07:00
2009-04-22 14:49:33 -07:00
2009-04-06 11:25:33 -07:00
2009-05-11 17:02:27 -07:00
2009-04-05 02:14:15 -04:00
2009-04-22 14:49:33 -07:00
2009-04-22 14:49:33 -07:00