summaryrefslogtreecommitdiffstats
path: root/sys/dev/isci
diff options
context:
space:
mode:
authorsbruno <sbruno@FreeBSD.org>2012-02-17 06:47:16 +0000
committersbruno <sbruno@FreeBSD.org>2012-02-17 06:47:16 +0000
commit18835ea4fbaf69b08e7682c8b391f80aed4251cf (patch)
treea135c00a9f3956f67a0152b73ec65ac20ce0a0b9 /sys/dev/isci
parenta20fde632a343ccab4fea4b769ad06b8bf28c73c (diff)
downloadFreeBSD-src-18835ea4fbaf69b08e7682c8b391f80aed4251cf.zip
FreeBSD-src-18835ea4fbaf69b08e7682c8b391f80aed4251cf.tar.gz
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. MFC after: 0 days
Diffstat (limited to 'sys/dev/isci')
-rw-r--r--sys/dev/isci/isci_controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isci/isci_controller.c b/sys/dev/isci/isci_controller.c
index 02d281f..f240928 100644
--- a/sys/dev/isci/isci_controller.c
+++ b/sys/dev/isci/isci_controller.c
@@ -549,7 +549,7 @@ void isci_action(struct cam_sim *sim, union ccb *ccb)
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);
OpenPOWER on IntegriCloud