summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@proformatique.com>2012-02-15 19:04:29 +0100
committerGuillaume Knispel <gknispel@proformatique.com>2012-02-15 19:04:29 +0100
commit774aa87d4c3682d9bb64ca2951a12c716796ce98 (patch)
treefc561a2d3ee242baf81b79eaf9c09e7027882f28
parent4199474048362ac6586150022c22e14ad36f2bc1 (diff)
activate xhfc reg debug
-rw-r--r--xhfc/xhfc_leb.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/xhfc/xhfc_leb.h b/xhfc/xhfc_leb.h
index 467a524..39a7387 100644
--- a/xhfc/xhfc_leb.h
+++ b/xhfc/xhfc_leb.h
@@ -62,8 +62,6 @@ static inline void write_xhfc_soft_conf(struct xhfc *xhfc, u8 soft_conf)
(void)readb(&cs_n1[0]);
}
-#if 0
-#ifdef DEBUG
#define read_xhfc(x, reg) ({ \
u8 _res = read_xhfc(x, reg); \
if (DBG_REGS) printk(KERN_INFO #reg " -> %02x\n", _res);\
@@ -74,8 +72,6 @@ static inline void write_xhfc_soft_conf(struct xhfc *xhfc, u8 soft_conf)
if (DBG_REGS) printk(KERN_INFO #reg " <- %02x\n", val); \
write_xhfc(x, reg, val); \
})
-#endif
-#endif
struct tlp_leb_regs {
u32 timing_cs[8];