]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r240514:
authorjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Sep 2012 16:05:03 +0000 (16:05 +0000)
committerjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Sep 2012 16:05:03 +0000 (16:05 +0000)
commit468e2259b87ddc92db7e21997a21793b6fb9cc17
tree3b96eeeca90626d6f1a6887a923b041139edee73
parent6f58398feade63bc92161d195924dd6b44274c9e
MFC r240514:

isci(4): Fix SCSI/ATA translation for SCSI_WRITE_BUFFER w/ mode==0x7
(download microcode with offsets, save, and activate).

SATI translation layer was incorrectly using allocation length instead
of blocks, and was constructing the ATA command incorrectly.

Also change #define to specify that the 512 block size here is
specific for DOWNLOAD_MICROCODE, and does not relate to the device's
logical block size.

git-svn-id: svn://svn.freebsd.org/base/stable/9@240611 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/isci/scil/sati_util.c
sys/dev/isci/scil/sati_write_buffer.c