Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Mar 2015 16:17:09 +0000 (UTC)
From:      Stephen McConnell <slm@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r279695 - head/sys/dev/mps
Message-ID:  <201503061617.t26GH9F6025450@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 



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