libata-sff: Don't call bmdma_stop on non DMA capable controllers
authorAlan <alan@lxorguk.ukuu.org.uk>
Thu, 25 Jan 2007 15:09:05 +0000 (15:09 +0000)
committerJeff Garzik <jeff@garzik.org>
Thu, 25 Jan 2007 23:27:16 +0000 (18:27 -0500)
commit61dd08c6c8d2b4ede530e43c01fa72f789ef65b1
treeed50d46e0b8f089cf97aba54aa3e38ed3c1af57b
parentb2a8bbe67d73631c71492fd60b757fc50a87f182
libata-sff: Don't call bmdma_stop on non DMA capable controllers

Fixes bogus accesses to ports 0-15 with a non DMA capable controller.
This I think should go in for 2.6.20

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-sff.c