PERFORCE change 132901 for review
Steve Wise
swise at FreeBSD.org
Wed Jan 9 09:24:06 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=132901
Change 132901 by swise at 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
More information about the p4-projects
mailing list