diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-05-24 15:22:21 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-05-24 15:22:21 +0000 |
commit | 7c7ebb01c68d1db914ae9daad68be1c2ddfd7258 (patch) | |
tree | 9ae17f0dac09a3262d8b99c857afb3f4a2dba428 /sys/cam/cam_ccb.h | |
parent | ae95ee086e78ecf8d4735464fb98db7ed74c989c (diff) | |
download | FreeBSD-src-7c7ebb01c68d1db914ae9daad68be1c2ddfd7258.zip FreeBSD-src-7c7ebb01c68d1db914ae9daad68be1c2ddfd7258.tar.gz |
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).
Diffstat (limited to 'sys/cam/cam_ccb.h')
-rw-r--r-- | sys/cam/cam_ccb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/cam/cam_ccb.h b/sys/cam/cam_ccb.h index e03f3f9..6440a62 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 |