via-ide: Avoid using isa_get_irq()
commit2792cf20ca7eed0e354a0ed731422411faca4908
authorBALATON Zoltan <balaton@eik.bme.hu>
Fri, 15 Oct 2021 01:06:20 +0000 (15 03:06 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 17 Oct 2021 22:41:36 +0000 (18 00:41 +0200)
tree78b1882ffceb38dee407d12db25d161c2b45db2a
parenta4d65b701ffce52b69b5b6c3f253519129af182e
via-ide: Avoid using isa_get_irq()

Use via_isa_set_irq() which better encapsulates irq handling in the
vt82xx model and avoids using isa_get_irq() that has a comment saying
it should not be used.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <26cb1848c9fc0360df7a57c2c9ba5e03c4a692b5.1634259980.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/ide/via.c