summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/cam/cam.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/cam/cam.h')
-rw-r--r--freebsd/sys/cam/cam.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/freebsd/sys/cam/cam.h b/freebsd/sys/cam/cam.h
index 5a58db6c..8ea1d04c 100644
--- a/freebsd/sys/cam/cam.h
+++ b/freebsd/sys/cam/cam.h
@@ -87,6 +87,7 @@ typedef struct {
#define CAM_PRIORITY_NORMAL ((CAM_RL_NORMAL << 8) + 0x80)
#define CAM_PRIORITY_NONE (u_int32_t)-1
#define CAM_PRIORITY_TO_RL(x) ((x) >> 8)
+#define CAM_RL_TO_PRIORITY(x) ((x) << 8)
u_int32_t generation;
int index;
#define CAM_UNQUEUED_INDEX -1