From: Yu Zhao Date: Wed, 27 May 2009 16:25:05 +0000 (+0800) Subject: PCI: use fixed-up device class when configuring device X-Git-Tag: v2.6.30~16^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f79b1b146b52765ee38bfb91bb14eb850fa98017;p=pandora-kernel.git 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 Reviewed-by: Grant Grundler Tested-by: Marc Dionne Signed-off-by: Yu Zhao Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed