Date: Wed, 9 Jan 2008 17:24:05 GMT From: Steve Wise <swise@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 132901 for review Message-ID: <200801091724.m09HO5Nm077805@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132901 Change 132901 by swise@swise:vic10:iwarp on 2008/01/09 17:23:26 Make PDBG() valid only under DEBUG define. Affected files ... .. //depot/projects/iwarp/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cxio_hal.h#6 edit Differences ... ==== //depot/projects/iwarp/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cxio_hal.h#6 (text+ko) ==== @@ -146,8 +146,7 @@ int cxio_poll_cq(struct t3_wq *wq, struct t3_cq *cq, struct t3_cqe *cqe, u8 *cqe_flushed, u64 *cookie, u32 *credit); -#define MOD "iw_cxgb3: " -#define PDBG(fmt, args...) printf(fmt, ## args) +#define MOD "iw_cxgb: " #ifdef DEBUG void cxio_dump_tpt(struct cxio_rdev *rev, u32 stag); @@ -156,6 +155,9 @@ void cxio_dump_wce(struct t3_cqe *wce); void cxio_dump_rqt(struct cxio_rdev *rdev, u32 hwtid, int nents); void cxio_dump_tcb(struct cxio_rdev *rdev, u32 hwtid); +#define PDBG(fmt, args...) printf(fmt, ## args) +#else +#define PDBG(fmt, args...) #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801091724.m09HO5Nm077805>