]> Git Repo - qemu.git/commitdiff
prep: fix keyboard for the 40p machine
authorMark Cave-Ayland <[email protected]>
Thu, 24 May 2018 05:39:58 +0000 (06:39 +0100)
committerDavid Gibson <[email protected]>
Mon, 11 Jun 2018 23:33:52 +0000 (09:33 +1000)
Commit 72d3d8f052 "hw/isa/superio: Add a keyboard/mouse controller (8042)"
added an 8042 keyboard device to the PC87312 superio device to replace that
being used by the prep machine.

Unfortunately this commit didn't do the same for the 40p machine which broke
the keyboard by registering two 8042 keyboard devices at the same address.

Resolve this by similarly removing the 8042 keyboard from the 40p machine as
done for the prep machine in commit 72d3d8f052.

Signed-off-by: Mark Cave-Ayland <[email protected]>
Reviewed-by: Philippe Mathieu-DaudĂ© <[email protected]>
Reviewed-by: HervĂ© Poussineau <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ppc/prep.c

index dbbe749bde24fac56e130ad0ac790682a23e28aa..5ed0bcd862d4adeb29eb03ec50b71c16bcc626cc 100644 (file)
@@ -770,7 +770,6 @@ static void ibm_40p_init(MachineState *machine)
 
     /* add some more devices */
     if (defaults_enabled()) {
-        isa_create_simple(isa_bus, TYPE_I8042);
         m48t59 = NVRAM(isa_create_simple(isa_bus, "isa-m48t59"));
 
         dev = DEVICE(isa_create(isa_bus, "cs4231a"));
This page took 0.02849 seconds and 4 git commands to generate.