Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2014 07:52:48 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r273316 - stable/10/sys/cam/ctl
Message-ID:  <201410200752.s9K7qm8L083471@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Oct 20 07:52:48 2014
New Revision: 273316
URL: https://svnweb.freebsd.org/changeset/base/273316

Log:
  MFC r272935:  Mark CTL frontend's CAM driver as CAM_PERIPH_DRV_EARLY.
  
  Target mode operation does not depend on the initiator mode scan process.
  This change allows the target driver to attach earlier and receive some
  async events (like AC_CONTRACT) that could be lost otherwise.

Modified:
  stable/10/sys/cam/ctl/scsi_ctl.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/ctl/scsi_ctl.c
==============================================================================
--- stable/10/sys/cam/ctl/scsi_ctl.c	Mon Oct 20 07:41:37 2014	(r273315)
+++ stable/10/sys/cam/ctl/scsi_ctl.c	Mon Oct 20 07:52:48 2014	(r273316)
@@ -224,7 +224,8 @@ static void 		ctlfe_dump(void);
 static struct periph_driver ctlfe_driver =
 {
 	ctlfeperiphinit, "ctl",
-	TAILQ_HEAD_INITIALIZER(ctlfe_driver.units), /*generation*/ 0
+	TAILQ_HEAD_INITIALIZER(ctlfe_driver.units), /*generation*/ 0,
+	CAM_PERIPH_DRV_EARLY
 };
 
 static struct ctl_frontend ctlfe_frontend =



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