Revision af5374aa
b/hw/lsi53c895a.c | ||
---|---|---|
2212 | 2212 |
|
2213 | 2213 |
pci_conf = s->dev.config; |
2214 | 2214 |
|
2215 |
/* PCI Vendor ID (word) */ |
|
2216 |
pci_config_set_vendor_id(pci_conf, PCI_VENDOR_ID_LSI_LOGIC); |
|
2217 |
/* PCI device ID (word) */ |
|
2218 |
pci_config_set_device_id(pci_conf, PCI_DEVICE_ID_LSI_53C895A); |
|
2219 |
/* PCI base class code */ |
|
2220 |
pci_config_set_class(pci_conf, PCI_CLASS_STORAGE_SCSI); |
|
2221 |
/* PCI subsystem ID */ |
|
2222 |
pci_conf[PCI_SUBSYSTEM_ID] = 0x00; |
|
2223 |
pci_conf[PCI_SUBSYSTEM_ID + 1] = 0x10; |
|
2224 | 2215 |
/* PCI latency timer = 255 */ |
2225 | 2216 |
pci_conf[PCI_LATENCY_TIMER] = 0xff; |
2226 | 2217 |
/* TODO: RST# value should be 0 */ |
... | ... | |
2256 | 2247 |
.qdev.vmsd = &vmstate_lsi_scsi, |
2257 | 2248 |
.init = lsi_scsi_init, |
2258 | 2249 |
.exit = lsi_scsi_uninit, |
2250 |
.vendor_id = PCI_VENDOR_ID_LSI_LOGIC, |
|
2251 |
.device_id = PCI_DEVICE_ID_LSI_53C895A, |
|
2252 |
.class_id = PCI_CLASS_STORAGE_SCSI, |
|
2253 |
.subsystem_id = 0x1000, |
|
2259 | 2254 |
}; |
2260 | 2255 |
|
2261 | 2256 |
static void lsi53c895a_register_devices(void) |
Also available in: Unified diff