diff options
author | Tejun Heo <htejun@gmail.com> | 2007-12-18 02:33:04 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 05:24:12 -0500 |
commit | 5df91a25df08d85700fef5fd59bb1873273e5ef5 (patch) | |
tree | e413ff0798da2792683db0805128f43798dcfc8d /drivers/ata/pata_mpc52xx.c | |
parent | 7c77fa4d51b1480bcec2e898c94d6912fe063c16 (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/ata/pata_mpc52xx.c')
0 files changed, 0 insertions, 0 deletions