usb/uhci: Replace pci_set_irq with qemu_set_irq
commite4f5b93986cdcc137487ebea6e84b9d9e82e0990
authorBALATON Zoltan <balaton@eik.bme.hu>
Mon, 25 Oct 2021 11:33:49 +0000 (25 13:33 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 2 Nov 2021 13:32:32 +0000 (2 14:32 +0100)
treea8f9f4f6caa720e97d56334f7a4deaf538bade51
parentece29df33b8e0e35760c4f76b0cf7b1af928b0b4
usb/uhci: Replace pci_set_irq with qemu_set_irq

Instead of using pci_set_irq, store the irq in the device state and
use it explicitly so variants having different interrupt handling can
use their own.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <b39066e03c8731f4197d50bc79b403f797599999.1635161629.git.balaton@eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/usb/hcd-uhci.c
hw/usb/hcd-uhci.h