[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 09/22] hw/audio/sb16: Disuse isa_init_irq()
From: |
Bernhard Beschow |
Subject: |
[PATCH 09/22] hw/audio/sb16: Disuse isa_init_irq() |
Date: |
Tue, 22 Feb 2022 18:38:06 +0100 |
isa_init_irq() has become a trivial one-line wrapper for isa_get_irq().
Use the original instead such that isa_init_irq() can be removed
eventually.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
---
hw/audio/sb16.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/audio/sb16.c b/hw/audio/sb16.c
index 60f1f75e3a..2215386ddb 100644
--- a/hw/audio/sb16.c
+++ b/hw/audio/sb16.c
@@ -1408,7 +1408,7 @@ static void sb16_realizefn (DeviceState *dev, Error
**errp)
return;
}
- isa_init_irq (isadev, &s->pic, s->irq);
+ s->pic = isa_get_irq(isadev, s->irq);
s->mixer_regs[0x80] = magic_of_irq (s->irq);
s->mixer_regs[0x81] = (1 << s->dma) | (1 << s->hdma);
--
2.35.1
- [PATCH 00/22] isa: Resolve unneeded IRQ attributes from ISADevice, Bernhard Beschow, 2022/02/22
- [PATCH 03/22] hw/input/pckbd: QOM'ify IRQ numbers, Bernhard Beschow, 2022/02/22
- [PATCH 01/22] hw/rtc/mc146818rtc: QOM'ify IRQ number, Bernhard Beschow, 2022/02/22
- [PATCH 02/22] hw/rtc/m48t59-isa: QOM'ify IRQ number, Bernhard Beschow, 2022/02/22
- [PATCH 06/22] isa: Drop unused attributes from ISADevice, Bernhard Beschow, 2022/02/22
- [PATCH 04/22] hw/isa/isa-bus: Remove isabus_dev_print(), Bernhard Beschow, 2022/02/22
- [PATCH 07/22] hw/audio/cs4231a: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 08/22] hw/audio/gus: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 09/22] hw/audio/sb16: Disuse isa_init_irq(),
Bernhard Beschow <=
- [PATCH 05/22] hw/ppc/pnv: Determine ns16550's IRQ number from QOM property, Bernhard Beschow, 2022/02/22
- [PATCH 10/22] hw/block/fdc-isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 11/22] hw/char/parallel: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 12/22] hw/char/serial-isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 13/22] hw/ide/isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 15/22] hw/ipmi/isa_ipmi_bt: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 16/22] hw/ipmi/isa_ipmi_kcs: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 17/22] hw/isa/piix4: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 14/22] hw/input/pckbd: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22
- [PATCH 18/22] hw/net/ne2000-isa: Disuse isa_init_irq(), Bernhard Beschow, 2022/02/22