DragonFly-2.3.1.297.g4383d master sys/dev/disk/sili atascsi.h sili.c sili.h sili_cam.c sili_pm.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jun 17 12:37:33 PDT 2009


commit 4383d4400dfcd345a115d7994ec66540112d60b1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jun 17 12:33:56 2009 -0700

    SILI - Work around hardware LRAM bugs part 2/2.
    
    * Add ATA_F_AUTOSENSE and ATA_F_EXCLUSIVE to deal with accessing the
      D2H RFIS.
    
      ATA_F_AUTOSENSE tells sili.c that the caller wants to access the rfis.
      The sili core is then responsible for copying the rfis out of the LRAM
      and into host-memory.
    
      ATA_F_EXCLUSIVE tells sili.c that the caller wants to be the only
      command queued to the chip for that particular command.
    
    * Currently ATA_F_AUTOSENSE implies ATA_F_EXCLUSIVE, but ultimately we will
      want to do the auto-sense as a separate step so things like ATAPI farms
      can run commands in parallel.

Summary of changes:
 sys/dev/disk/sili/atascsi.h  |    2 +
 sys/dev/disk/sili/sili.c     |   85 +++++++++++++++++++++++++++++++++++++++--
 sys/dev/disk/sili/sili.h     |    4 +-
 sys/dev/disk/sili/sili_cam.c |   10 ++++-
 sys/dev/disk/sili/sili_pm.c  |    8 ++--
 5 files changed, 98 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4383d4400dfcd345a115d7994ec66540112d60b1


-- 
DragonFly BSD source repository





More information about the Commits mailing list