DragonFly- master sys/dev/disk/ahci ahci.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jun 9 02:34:26 PDT 2009

commit 22181ab7f0b0036d75f4dbb892841b470550c527
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jun 9 02:30:21 2009 -0700

    AHCI - Improve hot-plug sequencing.
    * Properly either fail or restart outstanding commands when we get a PCS
      interrupt, based on the event we determined to have occurred.
      NOTE: A PCS event stops command processing, so at the very least command
      processing must be restarted by cycling the port.
    * Reset the port's ap->ap_state when a hotplug-insertion is detected, so
      the port has a chance to get out of its failed state.

Summary of changes:
 sys/dev/disk/ahci/ahci.c |   81 ++++++++++++++++++++++++++++++++++-----------
 1 files changed, 61 insertions(+), 20 deletions(-)


DragonFly BSD source repository

More information about the Commits mailing list