diff options
author | Alexander Motin <mav@FreeBSD.org> | 2014-01-10 12:18:05 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2014-01-10 12:18:05 +0000 |
commit | 431d3a5bfcf04e3b3b4f0ab77c7e83ddc70d0361 (patch) | |
tree | 80b03a5fe9e7f455d55e8826270668e0d79e3716 /sys/cam/cam_debug.h | |
parent | d375edc9b5b9897e10e384b97b656e5c13d1141f (diff) | |
download | src-431d3a5bfcf04e3b3b4f0ab77c7e83ddc70d0361.tar.gz src-431d3a5bfcf04e3b3b4f0ab77c7e83ddc70d0361.zip |
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.
Notes
Notes:
svn path=/head/; revision=260509
Diffstat (limited to 'sys/cam/cam_debug.h')
-rw-r--r-- | sys/cam/cam_debug.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/cam_debug.h b/sys/cam/cam_debug.h index ecfeb3abc0b0..6465b2b7085e 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 |