PCI: fix conflict between SR-IOV and config space sizing
authorYu Zhao <yu.zhao@intel.com>
Sat, 21 Mar 2009 14:05:11 +0000 (22:05 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 26 Mar 2009 22:50:18 +0000 (15:50 -0700)
New pci_cfg_space_size() needs invalid pdev->class, put it in the
right place in the pci_setup_device().

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>

No differences found