diff options
author | Tejun Heo <htejun@gmail.com> | 2006-07-26 15:59:26 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-29 04:01:31 -0400 |
commit | 0be0aa98985dfec42502c0d0af2a1baff9bdb19f (patch) | |
tree | 110f8d9419bc18370ddc410082e65a634d8a8109 /drivers/scsi/a2091.h | |
parent | 9f5920567bfabbd1be26112a31c44652b6587394 (diff) | |
download | op-kernel-dev-0be0aa98985dfec42502c0d0af2a1baff9bdb19f.zip op-kernel-dev-0be0aa98985dfec42502c0d0af2a1baff9bdb19f.tar.gz |
[PATCH] libata: improve driver initialization and deinitialization
Implement ahci_[de]init_port() and use it during initialization and
de-initialization. ahci_[de]init_port() are supersets of what used to
be done during driver [de-]initialization. This patch makes the
following behavior changes.
* Per-port IRQ mask is cleared on driver load as done in other
drivers. The mask will be configured properly during probe.
* During init_one(), HOST_IRQ_STAT is cleared after masking port IRQs
such that there is no race window.
* CMD_SPIN_UP is cleared during init_one() instead of being set. It
is set in port_start(). This is more consistent with overall
structure of initialization. Note that CMD_SPIN_UP simply controls
PHY activation.
* Slumber and staggered spin-up are handled properly.
* All init/deinit operations are done in step-by-step manner as
described in the spec instead of issued as single merged command.
Original implementation is from Zhao, Forrest <forrest.zhao@intel.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Zhao, Forrest <forrest.zhao@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/scsi/a2091.h')
0 files changed, 0 insertions, 0 deletions