]> git.ipfire.org Git - thirdparty/qemu.git/commit
fdc: Remove status0 parameter from fdctrl_set_fifo()
authorKevin Wolf <kwolf@redhat.com>
Mon, 3 Sep 2012 23:46:54 +0000 (23:46 +0000)
committerKevin Wolf <kwolf@redhat.com>
Wed, 14 Nov 2012 17:19:21 +0000 (18:19 +0100)
commit34abf9a7d82cd959622996733884469a33f7e2e0
tree174eb1d833dafe43663dd49a8c80fac1ee2d5b1a
parentd7331bed11f5e65b3b640aab59ab22bc61a4e77d
fdc: Remove status0 parameter from fdctrl_set_fifo()

It decided whether an interrupt is triggered. Only one caller made use
of this functionality, so move the code there.

In this one caller, the interrupt must actually be triggered
unconditionally, like it was before commit 2fee0088. For example, a
successful read without an implied seek can result in st0 = 0, but still
triggers the interrupt.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Tested-by: Hervé Poussineau <hpoussin@reactos.org>
hw/fdc.c