Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Apr 2013 18:00:19 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r249102 - head/sys/cam/ctl
Message-ID:  <201304041800.r34I0JBu045945@svn.freebsd.org>

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



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