]> CyberLeo.Net >> Repos - FreeBSD/releng/9.1.git/commit
MFC r240514:
authorjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Sep 2012 16:39:32 +0000 (16:39 +0000)
committerjimharris <jimharris@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 17 Sep 2012 16:39:32 +0000 (16:39 +0000)
commitae8b353ca4b3e368f293d38074f3fa83354fbfe9
tree0313a2cdbf1b69f19e466b53f20fe535b0661189
parentf6b298cdc4785f266b6e7521774c321e0c06c59e
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.

Approved by:   re (kib)

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