summaryrefslogtreecommitdiffstats
path: root/hw/pci.c
diff options
context:
space:
mode:
authorbellard2006-04-02 21:11:31 +0200
committerbellard2006-04-02 21:11:31 +0200
commit894244f6cad355bf118cf6523296a06df1617f9d (patch)
tree2cb7b29d6d5a9309420d71620af3924757fab5a0 /hw/pci.c
parentCDROM detection fix (diff)
downloadqemu-894244f6cad355bf118cf6523296a06df1617f9d.tar.gz
qemu-894244f6cad355bf118cf6523296a06df1617f9d.tar.xz
qemu-894244f6cad355bf118cf6523296a06df1617f9d.zip
do not test reserved config bits
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1795 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pci.c')
-rw-r--r--hw/pci.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/pci.c b/hw/pci.c
index e415ccf6c5..fd4ccd9475 100644
--- a/hw/pci.c
+++ b/hw/pci.c
@@ -353,9 +353,6 @@ static void pci_data_write(void *opaque, uint32_t addr,
if (!(s->config_reg & (1 << 31))) {
return;
}
- if ((s->config_reg & 0x3) != 0) {
- return;
- }
bus_num = (s->config_reg >> 16) & 0xff;
if (bus_num != 0)
return;
@@ -380,8 +377,6 @@ static uint32_t pci_data_read(void *opaque, uint32_t addr,
if (!(s->config_reg & (1 << 31)))
goto fail;
- if ((s->config_reg & 0x3) != 0)
- goto fail;
bus_num = (s->config_reg >> 16) & 0xff;
if (bus_num != 0)
goto fail;