ide: move transfer_start after variable modification
authorAlexander Graf <agraf@suse.de>
Tue, 14 Dec 2010 23:23:01 +0000 (00:23 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 17 Dec 2010 15:11:01 +0000 (16:11 +0100)
commitdb5296ee3a25dd37014fed91becd7a6979c51235
tree9e148a79fbaafbf29c1fc715352b3d559989755f
parent7be01b12dc8b55154730835c91675cc25e58009c
ide: move transfer_start after variable modification

We hook into transfer_start and immediately call the end function
for ahci. This means that everything needs to be in place for the
end function when we start the transfer, so let's move the function
down to where all state is in place.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/ide/core.c