DragonFly commits List (threaded) for 2009-06
DragonFly BSD
DragonFly commits List (threaded) for 2009-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 7 Jun 2009 12:39:17 -0700 (PDT)

commit 5f8c1efd092f1039f63ce166e87fce744882a390
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Sun Jun 7 12:36:35 2009 -0700

    AHCI - properly initialize ccb_xa.flags in softreset, make poll code robust
    
    * The softreset code did not properly initialize ccb_xa.flags, causing
      the softreset FIS's to sometimes get queued as an NCQ command instead of
      as a non-NCQ command.
    
    * Make ahci_poll() a bit more robust.  Properly set ccb_xa.state on
      timeout, check for unexpected completions, and check to see if the
      ccb was put on a queue (though the latter should never happen since
      active/sactive is cleared by ahci_get_err_ccb()).

Summary of changes:
 sys/dev/disk/ahci/ahci.c |   67 ++++++++++++++++++++++++++++++++++++---------
 1 files changed, 53 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5f8c1efd092f1039f63ce166e87fce744882a390


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]