DragonFly-2.3.1.290.g2102f4 master sys/dev/disk/sili fixme sili.

看板DFBSD_commit作者時間16年前 (2009/06/18 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 2102f407be5b41cdedede78004706649f812a698 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Wed Jun 17 10:27:00 2009 -0700 SILI - Work around hardware LRAM bugs part 1/2. After tearing my hair out a bit and wondering why the Sili chip couldn't have more then one command pending on a port at a time when talking to a PM, I found an issue reported in the Linux sili device driver related to its LRAM. Basically, reading from the Sili chip's LRAM while commands are active will corrupt it. The solution is to use a completely external PRB rather then the PRB in the LRAM, and use the command activation register to start the command instead of the command FIFO (which only works for the fixed PRBs in the LRAM). This commit fixes basic command dispatch but does not yet handle situations where the RFIS must be read from the LRAM... for example, when reading data from a PM SCA register or reading sense data from an ATAPI command. With this commit I can dd from 5 drives behind a PM in parallel. Summary of changes: sys/dev/disk/sili/fixme | 7 ---- sys/dev/disk/sili/sili.c | 72 ++++++++++++++++++++++++++------------- sys/dev/disk/sili/sili.h | 61 +++++++++++++++++++-------------- sys/dev/disk/sili/sili_attach.c | 12 +++--- 4 files changed, 89 insertions(+), 63 deletions(-) delete mode 100755 sys/dev/disk/sili/fixme http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2102f407be5b41cdedede78004706649f812a698 -- DragonFly BSD source repository
文章代碼(AID): #1AEIzi00 (DFBSD_commit)