summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_xpt.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-10-05 11:45:28 +0000
committermav <mav@FreeBSD.org>2015-10-05 11:45:28 +0000
commit5ee28f32f3fc011b1e2bc325023cb3d5f52e8781 (patch)
treeb9dd2357559de069f6089b3fa0d7767edff4de57 /sys/cam/cam_xpt.c
parent9bfaae3f56e02aaea2d1363f3a19c66e506632e3 (diff)
downloadFreeBSD-src-5ee28f32f3fc011b1e2bc325023cb3d5f52e8781.zip
FreeBSD-src-5ee28f32f3fc011b1e2bc325023cb3d5f52e8781.tar.gz
MFC r288420: Make pass, sg and targ drivers respect HBA's maxio.
Previous limitation of 64K (DFLTPHYS) is quite annoying.
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r--sys/cam/cam_xpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index 711baae..ba0863a 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -540,7 +540,7 @@ xptdoioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flag, struct thread *
* Map the pattern and match buffers into kernel
* virtual address space.
*/
- error = cam_periph_mapmem(inccb, &mapinfo);
+ error = cam_periph_mapmem(inccb, &mapinfo, MAXPHYS);
if (error) {
inccb->ccb_h.path = old_path;
OpenPOWER on IntegriCloud