prep: fix keyboard for the 40p machine
commit7cb00357c155240bae3b17eaa00415087b004c52
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 24 May 2018 05:39:58 +0000 (24 06:39 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 11 Jun 2018 23:33:52 +0000 (12 09:33 +1000)
tree5fbe204e36596299a9394b61118f64ec388b9564
parent875bad313580f99cc9642d2941d0dbeeadf4ef25
prep: fix keyboard for the 40p machine

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 <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/prep.c