]> git.baikalelectronics.ru Git - kernel.git/commit
pdc202xx_old: fix 'pdc20246_dma_ops'
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sun, 7 Jun 2009 11:52:50 +0000 (13:52 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 7 Jun 2009 11:52:50 +0000 (13:52 +0200)
commit270251a13487a47753becc39dd2403fd319ddf01
tree31c561cbbb304c464bdeaaf54a97055ec2aa42a0
parent3a29141c6e23456d4579e56763b1ffe75231fd56
pdc202xx_old: fix 'pdc20246_dma_ops'

Commit e8e88bb263e0d06956b10f8ee82e23cf4161fb9d (ide: add struct ide_port_ops
(take 2)) erroneously converted the driver's dma_timeout() and dma_lost_irq()
methods to call the driver's resetproc() method regardless of whether it was
defined for this specific controller while it hadn't been defined and hence
called for PDC20246. So the dma_clear() method, the successor of dma_timeout(),
shouldn't exist and the dma_lost_irq() method should be standard for PDC20246.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pdc202xx_old.c