From: Tejun Heo Date: Tue, 18 Dec 2007 07:33:04 +0000 (+0900) Subject: libata: fix ata_acpi_gtm_xfermask() X-Git-Tag: v2.6.25-rc1~1233^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5df91a25df08d85700fef5fd59bb1873273e5ef5;p=pandora-kernel.git libata: fix ata_acpi_gtm_xfermask() ata_acpi_gtm_xfermask() as separated out from pacpi_discover_modes() has various bugs. Fix them. * The wrong comparison operator is used when finding for matching cycle resulting totally bogus result. * With the comparion operator fixed, boundary condtion handling is clumsy. * Setting of any DMA mask bit set all bits in PIO mask. * MWDMA and UDMA blocks are swapped. Signed-off-by: Tejun Heo Cc: Alan Cox Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed