summaryrefslogtreecommitdiff
path: root/hw/es1370.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-06-20 05:13:29 +0400
committermalc <av1474@comtv.ru>2009-06-20 05:13:29 +0400
commitd999f7e023c2c55f30667d368479037bd18d5a23 (patch)
tree459ed4161557c947671bdf368b46abe5bffbb450 /hw/es1370.c
parent03dfe9f871871921c03c3c65ff69c68759186994 (diff)
downloadqemu-d999f7e023c2c55f30667d368479037bd18d5a23.tar.gz
Restore consistent formatting of audio devices
Diffstat (limited to 'hw/es1370.c')
-rw-r--r--hw/es1370.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hw/es1370.c b/hw/es1370.c
index 9a88baf6e7..af2667be41 100644
--- a/hw/es1370.c
+++ b/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;