summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_debug.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-05-08 06:55:48 +0000
committermav <mav@FreeBSD.org>2014-05-08 06:55:48 +0000
commit246a5ae3a0e73281e07ad2f26b1e62374f1bccf3 (patch)
tree990f955420fad3993aaccd0eaf2be56e1d0adb67 /sys/cam/cam_debug.h
parent48c2f6d38bfade922f8a85153b50062ae9b3e1b1 (diff)
downloadFreeBSD-src-246a5ae3a0e73281e07ad2f26b1e62374f1bccf3.zip
FreeBSD-src-246a5ae3a0e73281e07ad2f26b1e62374f1bccf3.tar.gz
MFC r260509:
Replace several instances of -1 with appropriate CAM_*_WILDCARD and types. It was equal before r259397, but for good or bad, not any more for LUNs. This change fixes at least CAM debugging.
Diffstat (limited to 'sys/cam/cam_debug.h')
-rw-r--r--sys/cam/cam_debug.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/cam_debug.h b/sys/cam/cam_debug.h
index ecfeb3a..6465b2b 100644
--- a/sys/cam/cam_debug.h
+++ b/sys/cam/cam_debug.h
@@ -61,13 +61,13 @@ typedef enum {
#endif
#ifndef CAM_DEBUG_BUS
-#define CAM_DEBUG_BUS (-1)
+#define CAM_DEBUG_BUS CAM_BUS_WILDCARD
#endif
#ifndef CAM_DEBUG_TARGET
-#define CAM_DEBUG_TARGET (-1)
+#define CAM_DEBUG_TARGET CAM_TARGET_WILDCARD
#endif
#ifndef CAM_DEBUG_LUN
-#define CAM_DEBUG_LUN (-1)
+#define CAM_DEBUG_LUN CAM_LUN_WILDCARD
#endif
#ifndef CAM_DEBUG_DELAY
OpenPOWER on IntegriCloud