Skip to content
Commit 853346e4 authored by Yu Zhao's avatar Yu Zhao Committed by Jesse Barnes
Browse files

PCI: fix conflict between SR-IOV and config space sizing



New pci_cfg_space_size() needs invalid pdev->class, put it in the
right place in the pci_setup_device().

Signed-off-by: default avatarYu Zhao <yu.zhao@intel.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent ceb93a9f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment