Files
linux/drivers
Tejun Heo 0be0aa9898 [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>
2006-07-29 04:01:31 -04:00
..
2006-07-08 13:30:09 -07:00
2006-07-12 16:09:08 -07:00
2006-06-23 07:43:06 -07:00
2006-07-28 09:02:17 +02:00
2006-07-03 15:27:07 -07:00
2006-07-10 13:24:27 -07:00
2006-07-14 21:53:54 -07:00
2006-07-10 13:24:17 -07:00
2006-07-10 13:24:15 -07:00
2006-07-03 21:29:08 -07:00
2006-07-12 15:38:28 -07:00
2006-06-17 21:18:43 -07:00