diff options
Diffstat (limited to 'hw/gt64xxx.c')
-rw-r--r-- | hw/gt64xxx.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/gt64xxx.c b/hw/gt64xxx.c index b6cd9714ff..f9e6e0c7bf 100644 --- a/hw/gt64xxx.c +++ b/hw/gt64xxx.c @@ -1136,10 +1136,8 @@ PCIBus *pci_gt64120_init(qemu_irq *pic) /* FIXME: Malta specific hw assumptions ahead */ - d->config[0x00] = 0xab; /* vendor_id */ - d->config[0x01] = 0x11; - d->config[0x02] = 0x20; /* device_id */ - d->config[0x03] = 0x46; + pci_config_set_vendor_id(d->config, PCI_VENDOR_ID_MARVELL); + pci_config_set_device_id(d->config, 0x4620); /* device_id */ d->config[0x04] = 0x00; d->config[0x05] = 0x00; |