Revision deb54399 hw/grackle_pci.c
b/hw/grackle_pci.c | ||
---|---|---|
144 | 144 |
cpu_register_physical_memory(base + 0x00200000, 0x1000, pci_mem_data); |
145 | 145 |
d = pci_register_device(s->bus, "Grackle host bridge", sizeof(PCIDevice), |
146 | 146 |
0, NULL, NULL); |
147 |
d->config[0x00] = 0x57; // vendor_id |
|
148 |
d->config[0x01] = 0x10; |
|
149 |
d->config[0x02] = 0x02; // device_id |
|
150 |
d->config[0x03] = 0x00; |
|
147 |
pci_config_set_vendor_id(d->config, PCI_VENDOR_ID_MOTOROLA); |
|
148 |
pci_config_set_device_id(d->config, PCI_DEVICE_ID_MOTOROLA_MPC106); |
|
151 | 149 |
d->config[0x08] = 0x00; // revision |
152 | 150 |
d->config[0x09] = 0x01; |
153 | 151 |
d->config[0x0a] = 0x00; // class_sub = host |
Also available in: Unified diff