diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-02-09 11:27:23 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-02-27 22:29:02 +0100 |
commit | c9519630435fe5c6ec5dacdca1b0fa0000c3a608 (patch) | |
tree | 1c8677ea2e5ee5b5b947cb48a60add40d8385545 /hw/ide/ahci.c | |
parent | 783f4474412ca2ccb4345f87cfa497404a1e6be9 (diff) | |
download | qemu-c9519630435fe5c6ec5dacdca1b0fa0000c3a608.zip qemu-c9519630435fe5c6ec5dacdca1b0fa0000c3a608.tar.gz qemu-c9519630435fe5c6ec5dacdca1b0fa0000c3a608.tar.bz2 |
hw/ide: Rename ide_init2() -> ide_bus_init_output_irq()
ide_init2() initializes a IDEBus, and set its output IRQ.
To emphasize this, rename it as ide_bus_init_output_irq().
Mechanical change using:
$ sed -i -e 's/ide_init2/ide_bus_init_output_irq/g' \
$(git grep -l ide_init2)
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230215112712.23110-15-philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/ide/ahci.c')
-rw-r--r-- | hw/ide/ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/ahci.c b/hw/ide/ahci.c index e649896..55902e1 100644 --- a/hw/ide/ahci.c +++ b/hw/ide/ahci.c @@ -1554,7 +1554,7 @@ void ahci_realize(AHCIState *s, DeviceState *qdev, AddressSpace *as, int ports) AHCIDevice *ad = &s->dev[i]; ide_bus_init(&ad->port, sizeof(ad->port), qdev, i, 1); - ide_init2(&ad->port, irqs[i]); + ide_bus_init_output_irq(&ad->port, irqs[i]); ad->hba = s; ad->port_no = i; |