Revision 173a543b hw/ppc4xx_pci.c
b/hw/ppc4xx_pci.c | ||
---|---|---|
382 | 382 |
pci_conf = controller->pci_dev->config; |
383 | 383 |
pci_config_set_vendor_id(pci_conf, PCI_VENDOR_ID_IBM); |
384 | 384 |
pci_config_set_device_id(pci_conf, 0x027f); // device_id |
385 |
pci_conf[0x0a] = 0x80; // class_sub = other bridge type |
|
386 |
pci_conf[0x0b] = 0x06; // class_base = PCI_bridge |
|
385 |
pci_config_set_class(pci_conf, PCI_CLASS_BRIDGE_OTHER); |
|
387 | 386 |
|
388 | 387 |
/* CFGADDR */ |
389 | 388 |
index = cpu_register_io_memory(0, pci4xx_cfgaddr_read, |
Also available in: Unified diff