From: Tejun Heo Date: Sun, 2 Apr 2006 08:54:47 +0000 (+0900) Subject: [PATCH] libata: consider disabled devices in ata_dev_xfermask() X-Git-Tag: v2.6.18-rc1~1079^2~151 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=565083e1f14e7771aa6bac2d3d4aae0b08d48d78;p=pandora-kernel.git [PATCH] libata: consider disabled devices in ata_dev_xfermask() ata_bus_probe() now marks failed devices properly and leaves meaningful transfer mode masks. This patch makes ata_dev_xfermask() consider disable devices when determining PIO mode to avoid violating device selection timing. While at it, move port-wide resttriction out of device iteration loop and try to make the function look a bit prettier. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed