提交 040b7c94 编写于 作者: D David Gounaris 提交者: David S. Miller

net/wan/fsl_ucc_hdlc: GUMR for non tsa mode

The following bits in the GUMR is changed for non
tsa mode: CDS, CTSP and CTSS are set to zero.

When set, there is no tx interrupts from the controller.
Signed-off-by: NDavid Gounaris <david.gounaris@infinera.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 045f77ba
......@@ -97,6 +97,12 @@ static int uhdlc_init(struct ucc_hdlc_private *priv)
if (priv->tsa) {
uf_info->tsa = 1;
uf_info->ctsp = 1;
uf_info->cds = 1;
uf_info->ctss = 1;
} else {
uf_info->cds = 0;
uf_info->ctsp = 0;
uf_info->ctss = 0;
}
/* This sets HPM register in CMXUCR register which configures a
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册