aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-bridge/i82801b11.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-08-05 16:36:40 +0200
committerMichael S. Tsirkin <mst@redhat.com>2013-08-12 12:07:12 +0300
commit4965b7f056177ddfb816319e9ff5e766898d0bc5 (patch)
tree6a58e2b58c8ac42e079221d823c1b7e7bc747711 /hw/pci-bridge/i82801b11.c
parent9604f70fdf8e21ec0dbf6eac5e59a0eb8beadd64 (diff)
downloadqemu-4965b7f056177ddfb816319e9ff5e766898d0bc5.zip
qemu-4965b7f056177ddfb816319e9ff5e766898d0bc5.tar.gz
qemu-4965b7f056177ddfb816319e9ff5e766898d0bc5.tar.bz2
i82801b11: Fix i82801b11 PCI host bridge config space
pci_bridge_write_config() was not being used. Cc: qemu-stable@nongnu.org Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci-bridge/i82801b11.c')
-rw-r--r--hw/pci-bridge/i82801b11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/pci-bridge/i82801b11.c b/hw/pci-bridge/i82801b11.c
index 8a5e426..14cd7fd 100644
--- a/hw/pci-bridge/i82801b11.c
+++ b/hw/pci-bridge/i82801b11.c
@@ -90,6 +90,7 @@ static void i82801b11_bridge_class_init(ObjectClass *klass, void *data)
k->device_id = PCI_DEVICE_ID_INTEL_82801BA_11;
k->revision = ICH9_D2P_A2_REVISION;
k->init = i82801b11_bridge_initfn;
+ k->config_write = pci_bridge_write_config;
set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
}