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 =
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to