diff options
author | Yu Zhao <[email protected]> | 2009-05-28 00:25:05 +0800 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2009-06-04 11:29:43 +0100 |
commit | f79b1b146b52765ee38bfb91bb14eb850fa98017 (patch) | |
tree | 6085fffb1442801293b8132b5d3f2aa735d0abdd /lib/debugobjects.c | |
parent | 9fa7eb283c5cdc2b0f4a8cfe6387ed82e5e9a3d3 (diff) |
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 <[email protected]>
Reviewed-by: Grant Grundler <[email protected]>
Tested-by: Marc Dionne <[email protected]>
Signed-off-by: Yu Zhao <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions