]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
vt82c686: Correct vt82c686-pm I/O size
authorBALATON Zoltan <balaton@eik.bme.hu>
Sat, 9 Jan 2021 20:16:36 +0000 (21:16 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 21 Feb 2021 18:42:34 +0000 (19:42 +0100)
Section "Offset 4B-48 – Power Management I/O Base" describes:

 Port Address for the base of the 128-byte Power
 Management I/O Register block.

Correct the vt82c686-pm I/O region size.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Message-Id: <cff9b2442d3e2e1cfbdcbc2dfbb559031b4b1cc1.1610223397.git.balaton@eik.bme.hu>
[PMD: Split original patch, this is part 2/4, reduced size to 128B]
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/isa/vt82c686.c

index 7e6a07fca48096c9bb5a2c598eb7b81314b798b4..fe8ae24c421f0916b996c76b867f595e995a4530 100644 (file)
@@ -176,7 +176,7 @@ static void vt82c686b_pm_realize(PCIDevice *dev, Error **errp)
     apm_init(dev, &s->apm, NULL, s);
 
     memory_region_init_io(&s->io, OBJECT(dev), &pm_io_ops, s,
-                          "vt82c686-pm", 64);
+                          "vt82c686-pm", 128);
     memory_region_add_subregion(pci_address_space_io(dev), 0, &s->io);
     memory_region_set_enabled(&s->io, false);