Revision d999f7e0 hw/es1370.c
b/hw/es1370.c | ||
---|---|---|
327 | 327 |
else { |
328 | 328 |
s->status = new_status & ~STAT_INTR; |
329 | 329 |
} |
330 |
qemu_set_irq(s->pci_dev->irq[0], !!level); |
|
330 |
qemu_set_irq (s->pci_dev->irq[0], !!level);
|
|
331 | 331 |
} |
332 | 332 |
|
333 | 333 |
static void es1370_reset (ES1370State *s) |
... | ... | |
353 | 353 |
s->dac_voice[i] = NULL; |
354 | 354 |
} |
355 | 355 |
} |
356 |
qemu_irq_lower(s->pci_dev->irq[0]); |
|
356 |
qemu_irq_lower (s->pci_dev->irq[0]);
|
|
357 | 357 |
} |
358 | 358 |
|
359 | 359 |
static void es1370_maybe_lower_irq (ES1370State *s, uint32_t sctl) |
... | ... | |
1026 | 1026 |
} |
1027 | 1027 |
|
1028 | 1028 |
c = d->dev.config; |
1029 |
pci_config_set_vendor_id(c, PCI_VENDOR_ID_ENSONIQ); |
|
1030 |
pci_config_set_device_id(c, PCI_DEVICE_ID_ENSONIQ_ES1370); |
|
1029 |
pci_config_set_vendor_id (c, PCI_VENDOR_ID_ENSONIQ);
|
|
1030 |
pci_config_set_device_id (c, PCI_DEVICE_ID_ENSONIQ_ES1370);
|
|
1031 | 1031 |
c[0x07] = 2 << 1; |
1032 |
pci_config_set_class(c, PCI_CLASS_MULTIMEDIA_AUDIO); |
|
1032 |
pci_config_set_class (c, PCI_CLASS_MULTIMEDIA_AUDIO);
|
|
1033 | 1033 |
|
1034 | 1034 |
#if 1 |
1035 | 1035 |
c[0x2c] = 0x42; |
Also available in: Unified diff