Revision deb54399 hw/apb_pci.c
b/hw/apb_pci.c | ||
---|---|---|
252 | 252 |
|
253 | 253 |
d = pci_register_device(s->bus, "Advanced PCI Bus", sizeof(PCIDevice), |
254 | 254 |
0, NULL, NULL); |
255 |
d->config[0x00] = 0x8e; // vendor_id : Sun |
|
256 |
d->config[0x01] = 0x10; |
|
257 |
d->config[0x02] = 0x00; // device_id |
|
258 |
d->config[0x03] = 0xa0; |
|
255 |
pci_config_set_vendor_id(d->config, PCI_VENDOR_ID_SUN); |
|
256 |
pci_config_set_device_id(d->config, PCI_DEVICE_ID_SUN_SABRE); |
|
259 | 257 |
d->config[0x04] = 0x06; // command = bus master, pci mem |
260 | 258 |
d->config[0x05] = 0x00; |
261 | 259 |
d->config[0x06] = 0xa0; // status = fast back-to-back, 66MHz, no error |
Also available in: Unified diff