svn commit: r249102 - head/sys/cam/ctl

Edward Tomasz Napierala trasz at FreeBSD.org
Thu Apr 4 18:00:19 UTC 2013


Author: trasz
Date: Thu Apr  4 18:00:18 2013
New Revision: 249102
URL: http://svnweb.freebsd.org/changeset/base/249102

Log:
  Since the CTL version in FreeBSD does not support High Availability,
  ctl_is_single should always be set to 1.  Make it so.  Previously
  it was always 0, because ctl_isc_start() never got to run.
  
  Suggested by:	ken

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

Modified: head/sys/cam/ctl/ctl.c
==============================================================================
--- head/sys/cam/ctl/ctl.c	Thu Apr  4 17:10:44 2013	(r249101)
+++ head/sys/cam/ctl/ctl.c	Thu Apr  4 18:00:18 2013	(r249102)
@@ -318,7 +318,7 @@ static struct scsi_control_page control_
 static int rcv_sync_msg;
 static int persis_offset;
 static uint8_t ctl_pause_rtr;
-static int     ctl_is_single;
+static int     ctl_is_single = 1;
 static int     index_to_aps_page;
 #ifdef CTL_DISABLE
 int	   ctl_disable = 1;


More information about the svn-src-all mailing list