Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2014 07:49:27 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r272935 - head/sys/cam/ctl
Message-ID:  <201410110749.s9B7nREb007845@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Sat Oct 11 07:49:27 2014
New Revision: 272935
URL: https://svnweb.freebsd.org/changeset/base/272935

Log:
  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.
  
  MFC after:	1 week

Modified:
  head/sys/cam/ctl/scsi_ctl.c

Modified: head/sys/cam/ctl/scsi_ctl.c
==============================================================================
--- head/sys/cam/ctl/scsi_ctl.c	Sat Oct 11 06:22:57 2014	(r272934)
+++ head/sys/cam/ctl/scsi_ctl.c	Sat Oct 11 07:49:27 2014	(r272935)
@@ -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?201410110749.s9B7nREb007845>