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)
commit978ff6db23279422046c1b3f89fe2045c234dc91
tree69da222db791998823afcc68160dab4d7458ea92
parent85da1fb545e5fe51c35e0576f71780cc557f4277
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