]> git.baikalelectronics.ru Git - kernel.git/commit
pata_hpt3x3: Workarounds for chipset
authorAlan Cox <alan@redhat.com>
Mon, 5 Jan 2009 14:12:51 +0000 (14:12 +0000)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 8 Jan 2009 21:08:56 +0000 (16:08 -0500)
commit06c39a86412db82dd5f81da8ca39584a8f16e38b
tree69da222db791998823afcc68160dab4d7458ea92
parent58449267632b24fcff03b2d94a123764d154d47b
pata_hpt3x3: Workarounds for chipset

Correct the DMA bit flags (UDMA and MWDMA were swapped)
Add workarounds so that we clear ERR and INTR bits before issuing a DMA
Add workarounds so that we stop a live DMA before touching the CTL register

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_hpt3x3.c