Revision 204ff571
b/hw/dec_pci.c | ||
---|---|---|
81 | 81 |
/* PCI2PCI bridge same values as PearPC - check this */ |
82 | 82 |
pci_config_set_vendor_id(d->config, PCI_VENDOR_ID_DEC); |
83 | 83 |
pci_config_set_device_id(d->config, PCI_DEVICE_ID_DEC_21154); |
84 |
d->config[0x08] = 0x02; // revision
|
|
84 |
pci_set_byte(d->config + PCI_REVISION_ID, 0x02);
|
|
85 | 85 |
pci_config_set_class(d->config, PCI_CLASS_BRIDGE_PCI); |
86 |
d->config[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_BRIDGE; // header_type |
|
87 | 86 |
return 0; |
88 | 87 |
} |
89 | 88 |
|
Also available in: Unified diff