diff options
author | Guillaume Knispel <gknispel@proformatique.com> | 2012-02-15 18:30:37 +0100 |
---|---|---|
committer | Guillaume Knispel <gknispel@proformatique.com> | 2012-02-15 18:30:37 +0100 |
commit | 9239c48f767083d0fba314054edabaa5e9dac59a (patch) | |
tree | 0d7c230386da4acf82ca9969db0bb2936583dd6a /xhfc/xhfc_leb.h | |
parent | af8ad1dd6ffae6bd924dd4bb8628a79364f91e23 (diff) |
add soft conf traces
Diffstat (limited to 'xhfc/xhfc_leb.h')
-rw-r--r-- | xhfc/xhfc_leb.h | 3 |
1 files changed, 3 insertions, 0 deletions
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: */ |