From: Sergei Shtylyov <sshtylyov@mvista.com>
To: linux-ide@vger.kernel.org, jgarzik@pobox.com, sonic.zhang@analog.com
Subject: Re: [PATCH] pata_bf54x: fix BMIDE status register emulation
Date: Wed, 28 Dec 2011 20:56:13 +0300 [thread overview]
Message-ID: <4EFB583D.1000306@mvista.com> (raw)
In-Reply-To: <201112281836.45834.sshtylyov@ru.mvista.com>
Hello.
On 12/28/2011 06:36 PM, Sergei Shtylyov wrote:
> The author of this driver clearly wasn't familiar with the BMIDE specification
> (also known as SFF-8038i) when he implemented the bmdma_status() method: first,
> the interrupt bit of the BMIDE status register corresponds to nothing else but
> INTRQ signal (ATAPI_DEV_INT here); second, the error bit is only set if the
> controller encounters issue doing the bus master transfers, not on the DMA burst
> termination interrupts like here
Forgot to say that burst terminations are happening on the IDE side.
> (moreover, setting the error bit doesn't cause an interrupt).
> (The only thing I couldn't figure out is how to flush the FIFO to memory once
> the interrupt happens as required by the mentioned spec.)
> Signed-off-by: Sergei Shtylyov<sshtylyov@ru.mvista.com>
WBR, Sergei
next prev parent reply other threads:[~2011-12-28 16:57 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-28 15:36 [PATCH] pata_bf54x: fix BMIDE status register emulation Sergei Shtylyov
2011-12-28 17:56 ` Sergei Shtylyov [this message]
2011-12-29 11:31 ` Zhang, Sonic
2011-12-29 14:10 ` Sergei Shtylyov
2011-12-30 6:07 ` Zhang, Sonic
2011-12-30 9:59 ` Sergei Shtylyov
2011-12-30 10:27 ` Zhang, Sonic
2011-12-31 3:22 ` Zhang, Sonic
2011-12-31 15:05 ` Sergei Shtylyov
2012-01-04 6:04 ` Zhang, Sonic
2012-01-04 13:21 ` Sergei Shtylyov
2012-01-05 2:45 ` Sonic Zhang
2012-01-06 17:14 ` Sergei Shtylyov
2012-01-06 17:45 ` [PATCH v2] " Sergei Shtylyov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EFB583D.1000306@mvista.com \
--to=sshtylyov@mvista.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=sonic.zhang@analog.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.