mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
Restore consistent formatting of audio devices
This commit is contained in:
parent
03dfe9f871
commit
d999f7e023
5 changed files with 31 additions and 31 deletions
10
hw/es1370.c
10
hw/es1370.c
|
@ -327,7 +327,7 @@ static void es1370_update_status (ES1370State *s, uint32_t new_status)
|
|||
else {
|
||||
s->status = new_status & ~STAT_INTR;
|
||||
}
|
||||
qemu_set_irq(s->pci_dev->irq[0], !!level);
|
||||
qemu_set_irq (s->pci_dev->irq[0], !!level);
|
||||
}
|
||||
|
||||
static void es1370_reset (ES1370State *s)
|
||||
|
@ -353,7 +353,7 @@ static void es1370_reset (ES1370State *s)
|
|||
s->dac_voice[i] = NULL;
|
||||
}
|
||||
}
|
||||
qemu_irq_lower(s->pci_dev->irq[0]);
|
||||
qemu_irq_lower (s->pci_dev->irq[0]);
|
||||
}
|
||||
|
||||
static void es1370_maybe_lower_irq (ES1370State *s, uint32_t sctl)
|
||||
|
@ -1026,10 +1026,10 @@ int es1370_init (PCIBus *bus)
|
|||
}
|
||||
|
||||
c = d->dev.config;
|
||||
pci_config_set_vendor_id(c, PCI_VENDOR_ID_ENSONIQ);
|
||||
pci_config_set_device_id(c, PCI_DEVICE_ID_ENSONIQ_ES1370);
|
||||
pci_config_set_vendor_id (c, PCI_VENDOR_ID_ENSONIQ);
|
||||
pci_config_set_device_id (c, PCI_DEVICE_ID_ENSONIQ_ES1370);
|
||||
c[0x07] = 2 << 1;
|
||||
pci_config_set_class(c, PCI_CLASS_MULTIMEDIA_AUDIO);
|
||||
pci_config_set_class (c, PCI_CLASS_MULTIMEDIA_AUDIO);
|
||||
|
||||
#if 1
|
||||
c[0x2c] = 0x42;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue