commit | 17199b187b5d9a22f2ec835c9fdb38302501b918 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Sun Mar 18 22:26:53 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Sat Apr 28 14:16:01 2007 -0400 |
tree | ae381abed721e382c2bb031a89acd8098e4aeb15 | |
parent | d447df140d0f07a02bd221cb42eb0b61bce16042 [diff] |
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 <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>