aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_tpc.c
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2015-09-12 14:20:11 +0000
committerAlexander Motin <mav@FreeBSD.org>2015-09-12 14:20:11 +0000
commit238b6b7c759739f36aa1689d0a585ab8ffc56c23 (patch)
treed7dd77759dc229722967090b0f5eada62d58c90c /sys/cam/ctl/ctl_tpc.c
parenteed0d596cf8945d52f3904ed6dc20c965986a9fe (diff)
downloadsrc-238b6b7c759739f36aa1689d0a585ab8ffc56c23.tar.gz
src-238b6b7c759739f36aa1689d0a585ab8ffc56c23.zip
Report that we have no limit on POPULATE TOKEN segment size.
Notes
Notes: svn path=/head/; revision=287714
Diffstat (limited to 'sys/cam/ctl/ctl_tpc.c')
-rw-r--r--sys/cam/ctl/ctl_tpc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/cam/ctl/ctl_tpc.c b/sys/cam/ctl/ctl_tpc.c
index e4722fecb1c0..f6048524190e 100644
--- a/sys/cam/ctl/ctl_tpc.c
+++ b/sys/cam/ctl/ctl_tpc.c
@@ -394,8 +394,7 @@ ctl_inquiry_evpd_tpc(struct ctl_scsiio *ctsio, int alloc_len)
scsi_ulto2b(0, rtfb_ptr->optimal_length_granularity);
scsi_u64to8b(0, rtfb_ptr->maximum_bytes);
scsi_u64to8b(0, rtfb_ptr->optimal_bytes);
- scsi_u64to8b(TPC_MAX_IOCHUNK_SIZE,
- rtfb_ptr->optimal_bytes_to_token_per_segment);
+ scsi_u64to8b(UINT64_MAX, rtfb_ptr->optimal_bytes_to_token_per_segment);
scsi_u64to8b(TPC_MAX_IOCHUNK_SIZE,
rtfb_ptr->optimal_bytes_from_token_per_segment);