Move CAM_PERIPH_PRINT() to cam_periph.h
This commit is contained in:
parent
5425750f03
commit
15747cacb4
@ -260,5 +260,8 @@ cam_periph_acquire_next(struct cam_periph *pperiph)
|
||||
(periph) != NULL; \
|
||||
(periph) = cam_periph_acquire_next(periph))
|
||||
|
||||
#define CAM_PERIPH_PRINT(p, msg, args...) \
|
||||
printf("%s%d:" msg, (periph)->periph_name, (periph)->unit_number, ##args)
|
||||
|
||||
#endif /* _KERNEL */
|
||||
#endif /* _CAM_CAM_PERIPH_H */
|
||||
|
@ -1497,9 +1497,6 @@ static MALLOC_DEFINE(M_SCSIDA, "scsi_da", "scsi_da buffers");
|
||||
#endif
|
||||
|
||||
#if DA_TRACK_REFS > 1
|
||||
#define CAM_PERIPH_PRINT(p, msg, args...) \
|
||||
printf("%s%d:" msg, (periph)->periph_name, (periph)->unit_number, ##args)
|
||||
|
||||
static const char *da_ref_text[] = {
|
||||
"bogus",
|
||||
"open",
|
||||
|
Loading…
Reference in New Issue
Block a user