aboutsummaryrefslogtreecommitdiff
path: root/hw/ds1338.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2010-11-26 16:36:16 +0100
committerKevin Wolf <kwolf@redhat.com>2010-11-29 16:15:04 +0100
commitb76876e602ca09ff848d99595a506feb1fd54ff4 (patch)
tree858d01d505b6c24042ca9f7d4637fb909cd3401f /hw/ds1338.c
parentc29947bbb0978d312074ec73be968bfab1b6c977 (diff)
ide: Reset current_addr after stopping DMA
Whenever SSBM is reset in the command register all state information is lost. Restarting DMA means that current_addr must be reset to the base address of the PRD table. The OS is not required to change the base address register before starting a DMA operation, it can reuse the value it wrote for an earlier request. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'hw/ds1338.c')
0 files changed, 0 insertions, 0 deletions