From a62525f3c839f120b232dd53ba1d9e683f670531 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Wed, 24 May 2006 15:22:21 +0000 Subject: Make physical buffers in cam_periph_mapmem owned by the kernel in case we return to user space w/o waiting for I/O to complete. I tried to get several folks who know this code better than me to review it with no luck. I *do* know that w/o this code, using the SCSI target driver panics in userret (if it doesn't panic in knote first). --- sys/cam/cam_ccb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/cam/cam_ccb.h') diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h index e03f3f90e6c5..6440a62f5186 100644 --- a/sys/cam/cam_ccb.h +++ b/sys/cam/cam_ccb.h @@ -514,7 +514,8 @@ typedef enum { PIM_NOREMOVE = 0x40, /* Removeable devices not included in scan */ PIM_NOINITIATOR = 0x20, /* Initiator role not supported. */ PIM_NOBUSRESET = 0x10, /* User has disabled initial BUS RESET */ - PIM_NO_6_BYTE = 0x08 /* Do not send 6-byte commands */ + PIM_NO_6_BYTE = 0x08, /* Do not send 6-byte commands */ + PIM_SLOWSCAN = 0x04 /* do not scan luns or targets in parallel */ } pi_miscflag; #ifdef CAM_NEW_TRAN_CODE -- cgit v1.2.3