Revision 173a543b hw/prep_pci.c
b/hw/prep_pci.c | ||
---|---|---|
158 | 158 |
pci_config_set_vendor_id(d->config, PCI_VENDOR_ID_MOTOROLA); |
159 | 159 |
pci_config_set_device_id(d->config, PCI_DEVICE_ID_MOTOROLA_RAVEN); |
160 | 160 |
d->config[0x08] = 0x00; // revision |
161 |
d->config[0x0A] = 0x00; // class_sub = pci host |
|
162 |
d->config[0x0B] = 0x06; // class_base = PCI_bridge |
|
161 |
pci_config_set_class(d->config, PCI_CLASS_BRIDGE_HOST); |
|
163 | 162 |
d->config[0x0C] = 0x08; // cache_line_size |
164 | 163 |
d->config[0x0D] = 0x10; // latency_timer |
165 | 164 |
d->config[0x0E] = 0x00; // header_type |
Also available in: Unified diff