From a08d43677f87a19daa653774d3c6f71855e23178 Mon Sep 17 00:00:00 2001 From: Jan Kiszka Date: Sat, 27 Jun 2009 09:25:07 +0200 Subject: Revert "Introduce reset notifier order" This reverts commit 8217606e6edb49591b4a6fd5a0d1229cebe470a9 (and updates later added users of qemu_register_reset), we solved the problem it originally addressed less invasively. Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori --- hw/usb-uhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/usb-uhci.c') diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index ea83bdc..7b74207 100644 --- a/hw/usb-uhci.c +++ b/hw/usb-uhci.c @@ -1094,7 +1094,7 @@ void usb_uhci_piix3_init(PCIBus *bus, int devfn) } s->frame_timer = qemu_new_timer(vm_clock, uhci_frame_timer, s); - qemu_register_reset(uhci_reset, 0, s); + qemu_register_reset(uhci_reset, s); uhci_reset(s); /* Use region 4 for consistency with real hardware. BSD guests seem @@ -1129,7 +1129,7 @@ void usb_uhci_piix4_init(PCIBus *bus, int devfn) } s->frame_timer = qemu_new_timer(vm_clock, uhci_frame_timer, s); - qemu_register_reset(uhci_reset, 0, s); + qemu_register_reset(uhci_reset, s); uhci_reset(s); /* Use region 4 for consistency with real hardware. BSD guests seem -- cgit v1.1