diff options
author | Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> | 2018-06-12 17:44:01 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-06-16 16:32:33 +1000 |
commit | 84051eb400495745035b52e27fe67b962b7a58fa (patch) | |
tree | ce84d40f0677c11a4ff1739c8c1b5cab0be1a4c6 /include | |
parent | fb6649f172d6ea1a8d8980b7f93d31808eb06ff8 (diff) | |
download | qemu-84051eb400495745035b52e27fe67b962b7a58fa.zip qemu-84051eb400495745035b52e27fe67b962b7a58fa.tar.gz qemu-84051eb400495745035b52e27fe67b962b7a58fa.tar.bz2 |
adb: add property to disable direct reg 3 writes
MacOS 9 has a bug in its PMU driver whereby after configuring the ADB bus
devices it sends another write to reg 3 on both devices resetting them
both back to the same address.
Add a new disable_direct_reg3_writes property to ADBDevice to disable these
direct writes which can enabled just for the upcoming pmu-adb support.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/input/adb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/input/adb.h b/include/hw/input/adb.h index 3ae8445..f99d478 100644 --- a/include/hw/input/adb.h +++ b/include/hw/input/adb.h @@ -49,6 +49,7 @@ struct ADBDevice { int devaddr; int handler; + bool disable_direct_reg3_writes; }; #define ADB_DEVICE_CLASS(cls) \ |