ahci: move port_map handling to ahci_save_initial_config()
authorTejun Heo <htejun@gmail.com>
Sun, 18 Mar 2007 13:26:53 +0000 (22:26 +0900)
committerJeff Garzik <jeff@garzik.org>
Sat, 28 Apr 2007 18:16:01 +0000 (14:16 -0400)
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>

No differences found