Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2012 17:29:42 +0000 (UTC)
From:      Sean Bruno <sbruno@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r232229 - stable/9/sys/dev/isci
Message-ID:  <201202271729.q1RHTgBj029038@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbruno
Date: Mon Feb 27 17:29:42 2012
New Revision: 232229
URL: http://svn.freebsd.org/changeset/base/232229

Log:
  MFC r231860
  
  During work to port isci(4) to stable/7 I noted that the maxio portion of
  struct ccb_pathinq from sys/cam/cam_ccb.h wasn't added to stable/7 at all
  and didn't appear in stable/8 until svn R195534.  Since __FreeBSD_version
  did not get bumped until svn R195634, assume that maxio is valid at 800102
  or higher.
  
  Obtained from:	Yahoo! Inc.

Modified:
  stable/9/sys/dev/isci/isci_controller.c

Modified: stable/9/sys/dev/isci/isci_controller.c
==============================================================================
--- stable/9/sys/dev/isci/isci_controller.c	Mon Feb 27 17:29:37 2012	(r232228)
+++ stable/9/sys/dev/isci/isci_controller.c	Mon Feb 27 17:29:42 2012	(r232229)
@@ -549,7 +549,7 @@ void isci_action(struct cam_sim *sim, un
 			cpi->hba_eng_cnt = 0;
 			cpi->max_target = SCI_MAX_REMOTE_DEVICES - 1;
 			cpi->max_lun = ISCI_MAX_LUN;
-#if __FreeBSD_version >= 704100
+#if __FreeBSD_version >= 800102
 			cpi->maxio = isci_io_request_get_max_io_size();
 #endif
 			cpi->unit_number = cam_sim_unit(sim);



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