Re: [PATCH 2/5] ide: ->ide_dma_clear_irq() -> ->clear_irq()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Sergei Shtylyov
Date: Monday, September 15, 2008 - 3:11 pm

Hello, I wrote:


   I forgot that it does clear them in its dma_end() methods (which I 
myself have reworked :-).
   It seems however that at least for SFF-8038 compatibles, it makes 
sense to leave it that way since INTRQ might be asserted while BMIDE 
interrupt bit is not, so the interrupt latch would need clearing even on 
DMA timeout...


   Probably might add the test_irq() method to be called on 
!hwif->waiting_for_dma. Cleraing the status at once seems impractical...


   Not feeling sure about this patch -- ->waiting_for_dma probably 
should've been left where it was...

MBR, Sergei


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 2/5] ide: ->ide_dma_clear_irq() -> ->clear_irq(), Bartlomiej Zolnierki ..., (Tue Aug 19, 11:31 am)
Re: [PATCH 2/5] ide: ->ide_dma_clear_irq() -> ->clear_irq(), Sergei Shtylyov, (Mon Sep 15, 3:11 pm)
Re: [PATCH 2/5] ide: ->ide_dma_clear_irq() -> ->clear_irq(), Bartlomiej Zolnierki ..., (Mon Sep 15, 3:29 pm)
->ack_intr in m68k IDE drivers [was: Re: [PATCH 2/5] ide: ..., Bartlomiej Zolnierki ..., (Fri May 22, 11:44 am)