hw/input/pckbd: Open-code i8042_setup_a20_line() wrapper
commit40f27a785f6b9d238f4b87c17c3ec8329dcde803
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Fri, 5 Nov 2021 16:54:18 +0000 (5 17:54 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 22 Feb 2024 11:47:35 +0000 (22 12:47 +0100)
tree165bdb3af8f383de0f37bb64ceb011c558aede41
parent760b4dcdddba4a40b9fa0eb78fdfc7eda7cb83d0
hw/input/pckbd: Open-code i8042_setup_a20_line() wrapper

Since the named GPIO lines are a "public" interface to the device,
we can directly call qdev_connect_gpio_out_named(), making it
consistent with how the other A20 input source (port92) is wired.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Yanan Wang <wangyanan55@huawei.com>
Message-Id: <20211218130437.1516929-6-f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/i386/pc.c
hw/input/pckbd.c
include/hw/input/i8042.h