diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-25 00:04:36 +0200 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-10-29 04:04:15 +0200 |
commit | 017560fca496f72ed9dd734ffde63ce39dfe0411 (patch) | |
tree | e63ae9a28fc179e715eda32f12aaec4ca752651b /drivers/scsi/53c700.h | |
parent | [SCSI] use {sdev,scmd,starget,shost}_printk in generic code (diff) | |
download | linux-017560fca496f72ed9dd734ffde63ce39dfe0411.tar.xz linux-017560fca496f72ed9dd734ffde63ce39dfe0411.zip |
[SCSI] use sfoo_printk() in drivers
Rejections fixed up and
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/53c700.h')
-rw-r--r-- | drivers/scsi/53c700.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/scsi/53c700.h b/drivers/scsi/53c700.h index e86012cf6ab7..362d78483d09 100644 --- a/drivers/scsi/53c700.h +++ b/drivers/scsi/53c700.h @@ -22,8 +22,14 @@ #ifdef NCR_700_DEBUG #define DEBUG(x) printk x +#define DDEBUG(prefix, sdev, fmt, a...) \ + sdev_printk(prefix, sdev, fmt, ##a) +#define CDEBUG(prefix, scmd, fmt, a...) \ + scmd_printk(prefix, scmd, fmt, ##a) #else -#define DEBUG(x) +#define DEBUG(x) do {} while (0) +#define DDEBUG(prefix, scmd, fmt, a...) do {} while (0) +#define CDEBUG(prefix, scmd, fmt, a...) do {} while (0) #endif /* The number of available command slots */ |