[pci] Save and restore PCI command register
commit466d8fc234cf32cb63d9d773e2f92f51860165f9
authorBernhard Kohl <bernhard.kohl@nsn.com>
Thu, 21 Jan 2010 23:13:48 +0000 (21 18:13 -0500)
committerMarty Connor <mdc@etherboot.org>
Thu, 21 Jan 2010 23:13:48 +0000 (21 18:13 -0500)
tree111f8fad657583409c1a78a8448c23628423975f
parent93805d97652b0f7a00028fe1e9ad461a7b5d423c
[pci] Save and restore PCI command register

This seems to be necessary for some types of PCI devices. We had
problems when using gPXE in KVM virtual machines with direct
PCI device access.

Signed-off-by: Bernhard Kohl <bernhard.kohl@nsn.com>
Signed-off-by: Shao Miller <shao.miller@yrdsb.edu.on.ca>
Modified-by: Marty Connor <mdc@etherboot.org>
Signed-off-by: Marty Connor <mdc@etherboot.org>
src/drivers/bus/pciextra.c