summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-12-18 16:33:04 +0900
committerJeff Garzik <jeff@garzik.org>2008-01-23 05:24:12 -0500
commit5df91a25df08d85700fef5fd59bb1873273e5ef5 (patch)
treee413ff0798da2792683db0805128f43798dcfc8d /drivers/power
parent7c77fa4d51b1480bcec2e898c94d6912fe063c16 (diff)
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>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions