aboutsummaryrefslogtreecommitdiff
path: root/hw/smbus_ich9.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-11-23 15:02:18 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-12-04 13:52:43 +0100
commit3f5bc9e8af8c9ee617b143e42ad4bd2feb379a19 (patch)
tree6c33e139b7bd1665b417fc44cdcf8646cd6ccfeb /hw/smbus_ich9.c
parentc177684c753a0b1337acebb7dbc6f3f3a9700321 (diff)
downloadqemu-3f5bc9e8af8c9ee617b143e42ad4bd2feb379a19.zip
qemu-3f5bc9e8af8c9ee617b143e42ad4bd2feb379a19.tar.gz
qemu-3f5bc9e8af8c9ee617b143e42ad4bd2feb379a19.tar.bz2
q35: update lpc pci config space according to configured devices
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/smbus_ich9.c')
-rw-r--r--hw/smbus_ich9.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/hw/smbus_ich9.c b/hw/smbus_ich9.c
index 54e7e12..4194785 100644
--- a/hw/smbus_ich9.c
+++ b/hw/smbus_ich9.c
@@ -78,18 +78,6 @@ static int ich9_smbus_initfn(PCIDevice *d)
pci_config_set_interrupt_pin(d->config, 0x01); /* interrupt pin 1 */
pci_set_byte(d->config + ICH9_SMB_HOSTC, 0);
-
- /*
- * update parameters based on
- * paralell_hds[0]
- * serial_hds[0]
- * serial_hds[0]
- * fdc
- *
- * Is there any OS that depends on them?
- */
-
- pci_set_byte(d->config + ICH9_SMB_HOSTC, 0);
/* TODO bar0, bar1: 64bit BAR support*/
pm_smbus_init(&d->qdev, &s->smb);