Skip to contentSkip to conversation

pdc202xx_old: use ide_dma_test_irq()

PATCH Sergei Shtylyov 2 participants 2 messages Jun 4, 2009 – Jun 7, 2009 1 message not in the archive libata

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 8 lines · Hello, I wrote:

The driver's dma_test_irq() method, although tests some chip specific interrupt bits, finally always relies on the SFF-8038i standard interrupt bit. I see no point in testing the bits that are not trusted anyway -- the driver should be fully able to use the standard method implemetation, ide_dma_test_irq().

With this change 'pdc202xx_dma_ops' finally becomes identical to 'sff_dma_ops', and we can get rid of it...

Quoted 8 lines

---
The patch is against the ide-2.6.git 'for-next' branch, atop of 2 patches sent recently...

I'll probably revive the remomed code as a part of the test_irq() method...

Oops, put signoff under tearline again. Bart, hopefully you'll be able
to handle that... :-)

WBR, Sergei

#2 lore raw
Quoted 14 lines · On Thursday 04 June 2009 22:45:34 Sergei Shtylyov wrote:
Quoted 12 lines · Hello, I wrote:

The driver's dma_test_irq() method, although tests some chip specific interrupt bits, finally always relies on the SFF-8038i standard interrupt bit. I see no point in testing the bits that are not trusted anyway -- the driver should be fully able to use the standard method implemetation, ide_dma_test_irq().

With this change 'pdc202xx_dma_ops' finally becomes identical to 'sff_dma_ops', and we can get rid of it...

---
The patch is against the ide-2.6.git 'for-next' branch, atop of 2 patches sent recently...

Quoted 7 lines
Quoted 4 lines

I'll probably revive the remomed code as a part of the test_irq() method...

Oops, put signoff under tearline again. Bart, hopefully you'll be able
to handle that... :-)

I somehow managed to fix it... ;)

applied 1-3