Re: [PATCH] libata: Add MMIO support to pata_sil680
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-05-24 22:52:28
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2007-05-24 22:52:28
On Thu, 2007-05-24 at 16:56 -0400, Mark Lord wrote:
Benjamin Herrenschmidt wrote:quoted
The only thing that I'm wondering about a bit is that ata_pause so far uses read of altstatus which _is_ a taskfile register. It's my understanding that we should avoid doing so in that case.Technically, altstatus is in the control block rather than the command block, so it doesn't really always behave the same as the regular "taskfile" regs.
So would altstatus be good enough to flush SRST toggles as well or do you expect problems ? Ben.