fdc: fix FD_SR0_SEEK for non-DMA transfers and multi sectors transfers
commitc5139bd9a9d78053a4da5047deb34e478a52d669
authorHervé Poussineau <hpoussin@reactos.org>
Thu, 20 Sep 2012 20:50:17 +0000 (20 22:50 +0200)
committerKevin Wolf <kwolf@redhat.com>
Wed, 14 Nov 2012 17:19:22 +0000 (14 18:19 +0100)
tree882b2b0378b62de76dd33065770246077dd11153
parentd497d53497070322e04796a9958e551d88c9f3a9
fdc: fix FD_SR0_SEEK for non-DMA transfers and multi sectors transfers

On non-DMA transfers, fdctrl_stop_transfer() used to set FD_SR0_SEEK
no matter if there actually was a seek or not. This is obviously wrong.

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

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