summaryrefslogtreecommitdiff
path: root/xhfc/xhfc_leb.h
diff options
context:
space:
mode:
authorNoe Rubinstein <nrubinstein@proformatique.com>2010-08-13 19:00:50 +0200
committerNoe Rubinstein <nrubinstein@proformatique.com>2010-08-13 19:00:50 +0200
commit7826455cf4c352465a569967ac73638058b8bd0e (patch)
tree24c5cd8d69005fdd4d8edf5bfb20db71e1f6d411 /xhfc/xhfc_leb.h
parent8ed88c4d9d3840beaf4cc670e657a8d940c3ab93 (diff)
change everything, add TODO
Diffstat (limited to 'xhfc/xhfc_leb.h')
-rw-r--r--xhfc/xhfc_leb.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/xhfc/xhfc_leb.h b/xhfc/xhfc_leb.h
index ac56ee2..472bc3d 100644
--- a/xhfc/xhfc_leb.h
+++ b/xhfc/xhfc_leb.h
@@ -36,7 +36,7 @@
#define IRQ_TLP_GPIO_30 31
extern uint trigger;
-extern uint debug;
+//extern uint debug;
void leb_init(struct xhfc_pi *leb);
@@ -54,6 +54,7 @@ static inline void write_xhfc(struct xhfc * xhfc, u8 reg_addr, u8 value)
writeb(value, &cs_n0[(trigger << 8) + reg_addr]);
}
+#if 0
#ifdef DEBUG
#define read_xhfc(x, reg) ({ \
u8 _res = read_xhfc(x, reg); \
@@ -66,6 +67,7 @@ static inline void write_xhfc(struct xhfc * xhfc, u8 reg_addr, u8 value)
write_xhfc(x, reg, val); \
})
#endif
+#endif
struct tlp_leb_regs {
u32 timing_cs[8];