From: Tejun Heo Date: Sun, 18 Mar 2007 13:26:53 +0000 (+0900) Subject: ahci: move port_map handling to ahci_save_initial_config() X-Git-Tag: v2.6.22-rc1~1111^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=17199b187b5d9a22f2ec835c9fdb38302501b918;p=pandora-kernel.git ahci: move port_map handling to ahci_save_initial_config() Move cross checking between port_map and cap.n_ports into ahci_save_initial_config(). After save_initial_config is done, hpriv->port_map is always setup properly. Tested on JMB363, ICH7 and ICH8 (with dummy ports). Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed