]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commit
Dom0 PCI: fix a regression introduced by the SR-IOV change
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Jun 2009 10:21:52 +0000 (11:21 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 3 Jun 2009 10:21:52 +0000 (11:21 +0100)
commit671d0310f6a89826c7b41748e65aaa088fe2d494
treeecee4d478b55baa46cea33008338de73a1c9c252
parent3d0ac10ed8c25a6586e32393e2878ac821d259b5
Dom0 PCI: fix a regression introduced by the SR-IOV change

The device class may be changed during the early fixup. So need to
re-read the device class from pci_dev after the fixup.

The patch "PCI: centralize device setup code" (c/s 825) wrongly
cleaned up the device class re-read. This patch reverts that change.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
drivers/pci/probe.c