Revision 3ec39b2d
b/hw/xio3130_downstream.c | ||
---|---|---|
69 | 69 |
} |
70 | 70 |
|
71 | 71 |
pcie_port_init_reg(d); |
72 |
pci_config_set_vendor_id(d->config, PCI_VENDOR_ID_TI); |
|
73 |
pci_config_set_device_id(d->config, PCI_DEVICE_ID_TI_XIO3130D); |
|
74 |
d->config[PCI_REVISION_ID] = XIO3130_REVISION; |
|
75 | 72 |
|
76 | 73 |
rc = msi_init(d, XIO3130_MSI_OFFSET, XIO3130_MSI_NR_VECTOR, |
77 | 74 |
XIO3130_MSI_SUPPORTED_FLAGS & PCI_MSI_FLAGS_64BIT, |
... | ... | |
182 | 179 |
.config_write = xio3130_downstream_write_config, |
183 | 180 |
.init = xio3130_downstream_initfn, |
184 | 181 |
.exit = xio3130_downstream_exitfn, |
182 |
.vendor_id = PCI_VENDOR_ID_TI, |
|
183 |
.device_id = PCI_DEVICE_ID_TI_XIO3130D, |
|
184 |
.revision = XIO3130_REVISION, |
|
185 | 185 |
|
186 | 186 |
.qdev.props = (Property[]) { |
187 | 187 |
DEFINE_PROP_UINT8("port", PCIESlot, port.port, 0), |
Also available in: Unified diff