[PATCH] libata: implement ata_down_xfermask_limit()
authorTejun Heo <htejun@gmail.com>
Sun, 2 Apr 2006 08:54:46 +0000 (17:54 +0900)
committerJeff Garzik <jeff@garzik.org>
Sun, 2 Apr 2006 14:02:57 +0000 (10:02 -0400)
commitcf176e1aa92eb2a3faea8409e841396a66413937
treeb62a516d2f91d43a9f6d48492e2f6205160ac849
parentedbabd8679a39faef67def4438c9cbccb5c05c5d
[PATCH] libata: implement ata_down_xfermask_limit()

Implement ata_down_xfermask_limit().  This function manipulates
@dev->pio/mwdma/udma_mask such that the next lower transfer mode is
selected.  This will be used to improve ata_bus_probe() failure
handling and later by EH.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c