Commit 0f78cf0c authored by ths's avatar ths
Browse files

Fix some Malta PCI config bits.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2955 c046a42c-6fe2-441c-8c8c-71466251a162
parent 1823082c
......@@ -984,26 +984,30 @@ PCIBus *pci_gt64120_init(qemu_irq *pic)
d = pci_register_device(s->pci->bus, "GT64120 PCI Bus", sizeof(PCIDevice),
0, gt64120_read_config, gt64120_write_config);
/* 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;
d->config[0x04] = 0x06;
d->config[0x04] = 0x00;
d->config[0x05] = 0x00;
d->config[0x06] = 0x80;
d->config[0x07] = 0xa2;
d->config[0x07] = 0x02;
d->config[0x08] = 0x10;
d->config[0x09] = 0x00;
d->config[0x0A] = 0x80;
d->config[0x0B] = 0x05;
d->config[0x0C] = 0x08;
d->config[0x0D] = 0x40;
d->config[0x0E] = 0x00;
d->config[0x0F] = 0x00;
d->config[0x17] = 0x08;
d->config[0x0A] = 0x00;
d->config[0x0B] = 0x06;
d->config[0x10] = 0x08;
d->config[0x14] = 0x08;
d->config[0x17] = 0x01;
d->config[0x1B] = 0x1c;
d->config[0x1F] = 0x1f;
d->config[0x23] = 0x14;
d->config[0x24] = 0x01;
d->config[0x27] = 0x14;
d->config[0x3D] = 0x01;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment