[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [PATCH 4/4] ide: Reset current_addr after stopping DMA
From: |
Stefan Hajnoczi |
Subject: |
[Qemu-devel] Re: [PATCH 4/4] ide: Reset current_addr after stopping DMA |
Date: |
Fri, 26 Nov 2010 16:45:23 +0000 |
On Fri, Nov 26, 2010 at 4:21 PM, Kevin Wolf <address@hidden> wrote:
> 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 <address@hidden>
> ---
> hw/ide/pci.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Reviewed-by: Stefan Hajnoczi <address@hidden>