OSDN Git Service

i82801b11: Fix i82801b11 PCI host bridge config space
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 5 Aug 2013 14:36:40 +0000 (16:36 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 12 Aug 2013 09:07:12 +0000 (12:07 +0300)
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>
hw/pci-bridge/i82801b11.c

index 8a5e426..14cd7fd 100644 (file)
@@ -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);
 }