svn commit: r279695 - head/sys/dev/mps

Stephen McConnell slm at FreeBSD.org
Fri Mar 6 16:17:09 UTC 2015


Author: slm
Date: Fri Mar  6 16:17:08 2015
New Revision: 279695
URL: https://svnweb.freebsd.org/changeset/base/279695

Log:
  This setting of stop_at_shutdown should have been removed with r279253
  
  Approved by:	ken
  MFC after:	1 week

Modified:
  head/sys/dev/mps/mps_sas.c

Modified: head/sys/dev/mps/mps_sas.c
==============================================================================
--- head/sys/dev/mps/mps_sas.c	Fri Mar  6 16:09:33 2015	(r279694)
+++ head/sys/dev/mps/mps_sas.c	Fri Mar  6 16:17:08 2015	(r279695)
@@ -3406,19 +3406,6 @@ mpssas_check_eedp(struct mps_softc *sc, 
 
 	xpt_path_string(local_path, path_str, sizeof(path_str));
 
-	/*
-	 * If this is a SATA direct-access end device,
-	 * mark it so that a SCSI StartStopUnit command
-	 * will be sent to it when the driver is being
-	 * shutdown.
-	 */
-	if ((cgd.inq_data.device == T_DIRECT) && 
-	    (target->devinfo & MPI2_SAS_DEVICE_INFO_SATA_DEVICE) &&
-	    ((target->devinfo & MPI2_SAS_DEVICE_INFO_MASK_DEVICE_TYPE) ==
-	    MPI2_SAS_DEVICE_INFO_END_DEVICE)) {
-		lun->stop_at_shutdown = TRUE;
-	}
-
 	mps_dprint(sc, MPS_INFO, "Sending read cap: path %s handle %d\n",
 	    path_str, target->handle);
 


More information about the svn-src-head mailing list