summaryrefslogtreecommitdiffstats
path: root/include/hw/ide
diff options
context:
space:
mode:
authorJohn Snow2020-07-24 07:22:55 +0200
committerJohn Snow2020-10-01 19:04:16 +0200
commitf14bc040b073257f0eb8200042634c0d15f59ea7 (patch)
treea9005107b978c83f19dc9d21b918e52048535f93 /include/hw/ide
parentide: rename cmd_write to ctrl_write (diff)
downloadqemu-f14bc040b073257f0eb8200042634c0d15f59ea7.tar.gz
qemu-f14bc040b073257f0eb8200042634c0d15f59ea7.tar.xz
qemu-f14bc040b073257f0eb8200042634c0d15f59ea7.zip
ide: don't tamper with the device register
In real ISA operation, register writes go out to an entire bus channel and all listening devices receive the write. The devices do not toggle the DEV bit based on their own configuration, nor does the HBA intermediate or tamper with that value. The reality of the matter is that DEV0/DEV1 accordingly will react to command register writes based on whether or not the device was selected. This does not fix a known bug, but it makes the code slightly simpler and more obvious. Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'include/hw/ide')
0 files changed, 0 insertions, 0 deletions