Revision 580b7295 hw/acpi_piix4.c
b/hw/acpi_piix4.c | ||
---|---|---|
317 | 317 |
uint8_t *pci_conf; |
318 | 318 |
|
319 | 319 |
pci_conf = s->dev.config; |
320 |
pci_config_set_vendor_id(pci_conf, PCI_VENDOR_ID_INTEL); |
|
321 |
pci_config_set_device_id(pci_conf, PCI_DEVICE_ID_INTEL_82371AB_3); |
|
322 | 320 |
pci_conf[0x06] = 0x80; |
323 | 321 |
pci_conf[0x07] = 0x02; |
324 |
pci_conf[0x08] = 0x03; // revision number |
|
325 | 322 |
pci_conf[0x09] = 0x00; |
326 |
pci_config_set_class(pci_conf, PCI_CLASS_BRIDGE_OTHER); |
|
327 | 323 |
pci_conf[0x3d] = 0x01; // interrupt pin 1 |
328 | 324 |
|
329 | 325 |
pci_conf[0x40] = 0x01; /* PM io base read only bit */ |
... | ... | |
394 | 390 |
.no_hotplug = 1, |
395 | 391 |
.init = piix4_pm_initfn, |
396 | 392 |
.config_write = pm_write_config, |
393 |
.vendor_id = PCI_VENDOR_ID_INTEL, |
|
394 |
.device_id = PCI_DEVICE_ID_INTEL_82371AB_3, |
|
395 |
.revision = 0x03, |
|
396 |
.class_id = PCI_CLASS_BRIDGE_OTHER, |
|
397 | 397 |
.qdev.props = (Property[]) { |
398 | 398 |
DEFINE_PROP_UINT32("smb_io_base", PIIX4PMState, smb_io_base, 0), |
399 | 399 |
DEFINE_PROP_END_OF_LIST(), |
Also available in: Unified diff