From 9239c48f767083d0fba314054edabaa5e9dac59a Mon Sep 17 00:00:00 2001 From: Guillaume Knispel Date: Wed, 15 Feb 2012 18:30:37 +0100 Subject: add soft conf traces --- xhfc/xhfc_leb.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xhfc/xhfc_leb.h') diff --git a/xhfc/xhfc_leb.h b/xhfc/xhfc_leb.h index 4ca9d26..467a524 100644 --- a/xhfc/xhfc_leb.h +++ b/xhfc/xhfc_leb.h @@ -53,6 +53,9 @@ static inline void write_xhfc_soft_conf(struct xhfc *xhfc, u8 soft_conf) { u8 __iomem *cs_n1 = xhfc->pi->cs_n1; + if (DBG_REGS) + printk(KERN_INFO "SOFTCONF: %02x\n", soft_conf); + writeb(soft_conf, &cs_n1[0]); /* ensure the write has been completed: */ -- cgit v1.2.3