aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/cam_ccb.h
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2006-05-24 15:22:21 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2006-05-24 15:22:21 +0000
commita62525f3c839f120b232dd53ba1d9e683f670531 (patch)
tree9ae17f0dac09a3262d8b99c857afb3f4a2dba428 /sys/cam/cam_ccb.h
parent78cdd8ed1b2c0801411e5721258f648feb0e8bf9 (diff)
downloadsrc-a62525f3c839f120b232dd53ba1d9e683f670531.tar.gz
src-a62525f3c839f120b232dd53ba1d9e683f670531.zip
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).
Notes
Notes: svn path=/head/; revision=158883
Diffstat (limited to 'sys/cam/cam_ccb.h')
-rw-r--r--sys/cam/cam_ccb.h3
1 files changed, 2 insertions, 1 deletions
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