pata_cmd64x: use interrupt status from MRDMODE register
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sun, 11 Mar 2012 19:25:30 +0000 (22:25 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 13 Mar 2012 20:42:54 +0000 (16:42 -0400)
commit8a686bc984454c1eba6788d0d97dec72ad87f052
tree7baf4fe0f2c88cc5e3cdea779e507daa6a2731e4
parent8fcfa7bd1b77514cfdce77751c980460535f56b4
pata_cmd64x: use interrupt status from MRDMODE register

Start using faster version of the bmdma_stop() method for the PCI0646U and newer
chips that have the duplicate interrupt status  bits  in  the I/O mapped MRDMODE
register. Use the old, slow bmdma_stop() method on the older chips,  taking into
account that the interrupt bits are not coupled to DMA and that's enough to read
the register to clear the interrupt (on the older chips).  Determine what method
to use at the driver load time.

Fix kernel-doc of the bmdma_stop() methods, while at it.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_cmd64x.c
This page took 0.024138 seconds and 5 git commands to generate.