Tejun Heo 5df91a25df 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 <htejun@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-01-23 05:24:12 -05:00
..
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:12 -05:00
2008-01-10 16:53:12 -05:00
2008-01-23 05:24:09 -05:00
2008-01-23 05:24:10 -05:00
2007-10-20 01:02:48 +02:00
2007-10-19 22:55:03 -04:00
2007-11-23 19:33:27 -05:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:10 -05:00
2006-08-10 07:31:37 -04:00
2008-01-23 05:24:10 -05:00
2008-01-23 05:24:10 -05:00
2007-07-02 10:17:42 -04:00