]> git.proxmox.com Git - qemu.git/commit - hw/fdc.c
fdc: fix FD_SR0_SEEK for initial seek on DMA transfers
authorHervé Poussineau <hpoussin@reactos.org>
Thu, 20 Sep 2012 21:01:58 +0000 (23:01 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 14 Nov 2012 17:19:22 +0000 (18:19 +0100)
commitd6ed4e21060d13a2faf7c1c9d121e68a16a411f8
tree8a7cdec2a1b9d803f855dd17f1a75a4fba34512c
parentc5139bd9a9d78053a4da5047deb34e478a52d669
fdc: fix FD_SR0_SEEK for initial seek on DMA transfers

fdctrl_start_transfer() used to set FD_SR0_SEEK no matter if
there actually was a seek or not. This is obviously wrong.

fdctrl_start_transfer() has this information because it performs
the initial seek itself.

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