[PATCH] hpt37x: Two important bug fixes
authorAlan <alan@lxorguk.ukuu.org.uk>
Sat, 6 Jan 2007 00:37:01 +0000 (16:37 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:29 +0000 (23:55 -0800)
commit6929da4427b4335365dd51ab0b7dd2a0393656f0
treebd25939d6777ce87e32e21617f39381a8ceab7b5
parent516e72cb47ae4457f368aff449ffc284c5f357c1
[PATCH] hpt37x: Two important bug fixes

The HPT37x driver very carefully handles DMA completions and the needed
fixups are done on pci registers 0x50 and 0x52.  This is unfortunate
because the actual registers are 0x50 and 0x54.  Fixing this offset cures
the second channel problems reported.

Secondly there are some problems with the HPT370 and certain ATA drives.
The filter code however only filters ATAPI devices due to a reversed type
check.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ata/pata_hpt37x.c