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

git: AHCI/SILI - Send dummy SETXFER mode even though it is SATA


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 3 Nov 2009 10:05:14 -0800 (PST)

commit 69b3741eda7a43961baaf659f4c99e8ad054a899
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Nov 3 10:00:14 2009 -0800

    AHCI/SILI - Send dummy SETXFER mode even though it is SATA
    
    * If the identify structure contains a non-zero/non-FFFF dmamode field
      we send a dummy SETXFER mode command to the device.
    
    * Most SATA DISK devices set this field to 0 or FFFF and in this case no
      SETXFER mode command is sent.  SETXFER is non-applicable to SATA in
      general.
    
      Most ATAPI devices still initialize the dmamode field and some ATAPI
      devices still require SETXFER to be sent even though they are native SATA.
    
      SATA->PATA converters may require a SETXFER to be passed through before
      the PATA devices will operate properly.  In this case the dmamode field
      will likely be initialized.

Summary of changes:
 sys/dev/disk/ahci/ahci_cam.c |   67 ++++++++++++++++++++++++++++++++++++++++++
 sys/dev/disk/ahci/atascsi.h  |    1 +
 sys/dev/disk/sili/atascsi.h  |    1 +
 sys/dev/disk/sili/sili_cam.c |   67 ++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 136 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/69b3741eda7a43961baaf659f4c99e8ad054a899


-- 
DragonFly BSD source repository



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