From: Tejun Heo Date: Fri, 9 Mar 2007 10:43:35 +0000 (+0900) Subject: libata: fix native mode disabled port handling X-Git-Tag: v2.6.22-rc1~1111^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55a6adeea4077521b4bba1dfe674f5835157a00b;p=pandora-kernel.git libata: fix native mode disabled port handling Disabled port handling in ata_pci_init_native_mode() is slightly broken in that it may end up using the wrong port_info. This patch updates it such that disables ports are made dummy as done in the legacy and other cases. While at it, fix indentation in ata_resources_present(). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed