pckbd: add state variable for interrupt source
commitac9192bd0a9cae217eac8b3b34d3caae93638e51
authorVolker Rümelin <vr_qemu@t-online.de>
Tue, 25 May 2021 18:14:36 +0000 (25 20:14 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 26 May 2021 09:30:51 +0000 (26 11:30 +0200)
tree50b5688cb825d1ff90df15daba4e47651f3a8689
parentd1e45668d2128b064e2cd8080ca662f9b0f33bd6
pckbd: add state variable for interrupt source

Currently there is only one flag to distinguish between two
interrupt sources and there are no available flags for more
sources. Add an internal state variable to store the interrupt
source. The next patch will introduce an additional interrupt
source. There is no functional change.

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20210525181441.27768-7-vr_qemu@t-online.de>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/input/pckbd.c