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@xxxxxxxxxxxxx>
WBR, Sergei -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html