[PATCH 0/4] Avoid using isa_get_irq in vt82c686 model

BALATON Zoltan posted 4 patches 4 years, 3 months ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/cover.1634259980.git.balaton@eik.bme.hu
Maintainers: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Huacai Chen <chenhuacai@kernel.org>, John Snow <jsnow@redhat.com>, Gerd Hoffmann <kraxel@redhat.com>, Jiaxun Yang <jiaxun.yang@flygoat.com>
hw/ide/via.c               |  4 +-
hw/isa/vt82c686.c          | 75 +++++++++++++++++++-------------------
hw/usb/vt82c686-uhci-pci.c |  3 +-
include/hw/isa/vt82c686.h  |  4 ++
4 files changed, 45 insertions(+), 41 deletions(-)
[PATCH 0/4] Avoid using isa_get_irq in vt82c686 model
Posted by BALATON Zoltan 4 years, 3 months ago
Based-on: <cover.1634232746.git.balaton@eik.bme.hu>

This is on top of (v4-hw/usb/vt82c686-uhci-pci: Use ISA instead of
PCI) series and removes usage of isa_get_irq() from the usb and ide
functions. I managed to simplify it so it's not so bad but not sure if
it's much better either but maybe groups things a bit better this way.

Regards,
BALATON Zoltan

BALATON Zoltan (4):
  vt82c686: Move common code to via_isa_realize
  vt82c686: Add a method to VIA_ISA to raise ISA interrupts
  hw/usb/vt82c686-uhci-pci: Avoid using isa_get_irq()
  via-ide: Avoid using isa_get_irq()

 hw/ide/via.c               |  4 +-
 hw/isa/vt82c686.c          | 75 +++++++++++++++++++-------------------
 hw/usb/vt82c686-uhci-pci.c |  3 +-
 include/hw/isa/vt82c686.h  |  4 ++
 4 files changed, 45 insertions(+), 41 deletions(-)

-- 
2.21.4