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- master sys/dev/disk/ahci ahci.c ahci.h ahci_attach.c ahci_cam.c ahci_dragonfly.c ahci_pm.c atascsi.h

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 19 Jun 2009 00:02:24 -0700 (PDT)

commit 12feb9045df619d387b9ba31534687037610fe73
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Thu Jun 18 23:49:07 2009 -0700

    AHCI - Intel fixes, error processing fixes.
    * Allocate separate scratch space to enforce a reasonable alignment
      for the READ LOG page.
    * Fix numerous issues with READ LOG / NCQ error processing.  READ LOG
      wasn't working at all before.
    * Intel fixes.  Move the SDBE interrupt from the AsyncNotify-only
      code to the general code.  Intel parts seem to use this interrupt
      (and not DPE) to signal completion for NCQ commands, so we get
      timeouts if we don't use it generally.
    * Rearrange a great deal of code in a manner similar to how the
      Sili driver was arranged.  Primarily: ATA_F_AUTOSENSE to
      acquire D2H rfis's more reliably, and ATA_F_EXCLUSIVE.  More work
      needs to be done.  Also move the PM probe code to the PM source
    * Add code to deal with D2H ERR fises.  These generate a DHRS
      interrupt but only those which post an ERR in the task file
      stop command processing.  This is not well documented in the
      AHCI specs.

Summary of changes:
 sys/dev/disk/ahci/ahci.c           | 1223 +++++++++++++++---------------------
 sys/dev/disk/ahci/ahci.h           |   30 +-
 sys/dev/disk/ahci/ahci_attach.c    |   17 +
 sys/dev/disk/ahci/ahci_cam.c       |   16 +-
 sys/dev/disk/ahci/ahci_dragonfly.c |    2 +-
 sys/dev/disk/ahci/ahci_pm.c        |  249 +++++++-
 sys/dev/disk/ahci/atascsi.h        |    4 +
 7 files changed, 809 insertions(+), 732 deletions(-)


DragonFly BSD source repository

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