diff options
| author | Mark Cave-Ayland | 2018-06-12 18:44:01 +0200 |
|---|---|---|
| committer | David Gibson | 2018-06-16 08:32:33 +0200 |
| commit | 84051eb400495745035b52e27fe67b962b7a58fa (patch) | |
| tree | ce84d40f0677c11a4ff1739c8c1b5cab0be1a4c6 /include | |
| parent | adb: fix read reg 3 byte ordering (diff) | |
| download | qemu-84051eb400495745035b52e27fe67b962b7a58fa.tar.gz qemu-84051eb400495745035b52e27fe67b962b7a58fa.tar.xz qemu-84051eb400495745035b52e27fe67b962b7a58fa.zip | |
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 3ae8445e95..f99d478252 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) \ |
