adb: add status field for holding information about the last ADB request
commit3fe02cc8b3a5b50fad6d5e7cc3a65fd52d1fad36
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 23 Jun 2020 20:49:27 +0000 (23 21:49 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Fri, 26 Jun 2020 09:13:51 +0000 (26 10:13 +0100)
tree4d5b17d7c237380d9b1fa5c51886415c2289c7fd
parent244a0ee96545e79af7ade39b510e459ef5a1c366
adb: add status field for holding information about the last ADB request

Currently only 2 bits are defined: one to indicate if the request timed out (no
reply) and another to indicate whether the request was the result of an autopoll
operation.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tested-by: Finn Thain <fthain@telegraphics.com.au>
Acked-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200623204936.24064-14-mark.cave-ayland@ilande.co.uk>
hw/input/adb.c
include/hw/input/adb.h