Don't try to configure non-existent BARs of bridge devices
commiteeb78b40e1a488082c15cc0f3352be236d87dbe0
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 5 Jul 2009 18:32:50 +0000 (5 18:32 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 5 Jul 2009 18:32:50 +0000 (5 18:32 +0000)
treee5b41cb9749cb0850ff5f96d2d8d2249dff2b3b6
parentadcc353ec1091d42a4d00b1eb306a5493c638276
Don't try to configure non-existent BARs of bridge devices

QEMU commit b7ee1603c16c1feb0d439d2ddf6cf824119d0aab improved the PCI bridge
device handling. PCI bridges use different header format from ordinary PCI
devices, especially BAR registers do not exist. OpenBIOS tried to configure
the bridges based on the non-BAR data which was assumed to be BARs.

git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@505 f158a5a8-5612-0410-a976-696ce0be7e32
drivers/pci.c