diff options
Diffstat (limited to 'hw/piix_pci.c')
-rw-r--r-- | hw/piix_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/piix_pci.c b/hw/piix_pci.c index 67e6309..fce01d4 100644 --- a/hw/piix_pci.c +++ b/hw/piix_pci.c @@ -345,7 +345,7 @@ int piix3_init(PCIBus *bus, int devfn) PCI_HEADER_TYPE_NORMAL | PCI_HEADER_TYPE_MULTI_FUNCTION; // header_type = PCI_multifunction, generic piix3_reset(d); - qemu_register_reset(piix3_reset, 0, d); + qemu_register_reset(piix3_reset, d); return d->devfn; } @@ -369,6 +369,6 @@ int piix4_init(PCIBus *bus, int devfn) piix4_reset(d); - qemu_register_reset(piix4_reset, 0, d); + qemu_register_reset(piix4_reset, d); return d->devfn; } |