From 4a131f936c184477158d8c7647c12b9adc8cc22e Mon Sep 17 00:00:00 2001 From: jimharris Date: Thu, 6 Sep 2012 16:38:55 +0000 Subject: [PATCH] MFC r239889: Do not call sati_check_data_io() for SATI_UNMAP sequences. This routine is intended only for commands such as INQUIRY where the controller may fill out a smaller amount of data than allocated by the host. The end result of this bug was that isci(4) would report non-zero resid for successful SCSI_UNMAP commands. Sponsored by: Intel Approved by: re (kib) git-svn-id: svn://svn.freebsd.org/base/releng/9.1@240168 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/isci/scil/sati.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/isci/scil/sati.c b/sys/dev/isci/scil/sati.c index 17df0176..299aa94d 100644 --- a/sys/dev/isci/scil/sati.c +++ b/sys/dev/isci/scil/sati.c @@ -1095,10 +1095,6 @@ SATI_STATUS sati_translate_command_response( status = sati_unmap_translate_response( sequence, scsi_io, ata_io ); - if(status == SATI_COMPLETE) - { - status = sati_check_data_io(sequence); - } break; #endif // !defined(DISABLE_SATI_UNMAP) -- 2.42.0