Revision d15fda63 hw/intel-hda.c

b/hw/intel-hda.c
1138 1138

  
1139 1139
    d->name = d->pci.qdev.info->name;
1140 1140

  
1141
    pci_config_set_vendor_id(conf, PCI_VENDOR_ID_INTEL);
1142
    pci_config_set_device_id(conf, 0x2668);
1143
    pci_config_set_revision(conf, 1);
1144
    pci_config_set_class(conf, PCI_CLASS_MULTIMEDIA_HD_AUDIO);
1145 1141
    pci_config_set_interrupt_pin(conf, 1);
1146 1142

  
1147 1143
    /* HDCTL off 0x40 bit 0 selects signaling mode (1-HDA, 0 - Ac97) 18.1.19 */
......
1265 1261
    .init         = intel_hda_init,
1266 1262
    .exit         = intel_hda_exit,
1267 1263
    .config_write = intel_hda_write_config,
1264
    .vendor_id    = PCI_VENDOR_ID_INTEL,
1265
    .device_id    = 0x2668,
1266
    .revision     = 1,
1267
    .class_id     = PCI_CLASS_MULTIMEDIA_HD_AUDIO,
1268 1268
    .qdev.props   = (Property[]) {
1269 1269
        DEFINE_PROP_UINT32("debug", IntelHDAState, debug, 0),
1270 1270
        DEFINE_PROP_UINT32("msi", IntelHDAState, msi, 1),

Also available in: Unified diff