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

看板DFBSD_commit作者時間16年前 (2009/11/04 02:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1Ay7Sbp_ (DFBSD_commit)