commit | 274c1fde5c775a53331427d454745b9ecc5c783b | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Mon Jul 16 14:29:40 2007 +0900 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Jul 20 08:02:11 2007 -0400 |
tree | df39d94ac51195e25a04a7365ab88e2eb536d261 | |
parent | da3dbb17a0e9a9ec7f5aed95f1fddadb790edc9d [diff] |
ahci: make NO_NCQ handling more consistent ahci_save_initial_config() is responsible for reading, screening the host CAP register and storing the modified result into hpriv->cap for the rest of the driver. Move ATA_FLAG_NO_NCQ handling into ahci_save_initial_config(). It's more consistent this way and the rest of the driver can always refer to hpriv->cap to determine configured capability. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>