Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Jul 2011 17:55:56 +0000
From:      oleksandr@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r224053 - soc2011/oleksandr/oleksandr-head/head/sys/dev/usb/storage
Message-ID:  <20110708175556.DDE7C106566B@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: oleksandr
Date: Fri Jul  8 17:55:56 2011
New Revision: 224053
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=224053

Log:
  Variable status_test for testing in ata driver

Modified:
  soc2011/oleksandr/oleksandr-head/head/sys/dev/usb/storage/umass.c

Modified: soc2011/oleksandr/oleksandr-head/head/sys/dev/usb/storage/umass.c
==============================================================================
--- soc2011/oleksandr/oleksandr-head/head/sys/dev/usb/storage/umass.c	Fri Jul  8 16:30:54 2011	(r224052)
+++ soc2011/oleksandr/oleksandr-head/head/sys/dev/usb/storage/umass.c	Fri Jul  8 17:55:56 2011	(r224053)
@@ -2550,10 +2550,10 @@
     uint8_t status)
 {
 	ccb->csio.resid = residue;
-
 	switch (status) {
 	case STATUS_CMD_OK:
 		ccb->ccb_h.status = CAM_REQ_CMP;
+                ccb->ccb_h.status_test = CAM_REQ_CMP_ERR; 
 		if ((sc->sc_quirks & READ_CAPACITY_OFFBY1) &&
 		    (ccb->ccb_h.func_code == XPT_SCSI_IO) &&
 		    (ccb->csio.cdb_io.cdb_bytes[0] == READ_CAPACITY)) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110708175556.DDE7C106566B>