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: David Gounaris <david.gounaris@infinera.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
045f77baf6
commit
040b7c94e4
|
@ -97,6 +97,12 @@ static int uhdlc_init(struct ucc_hdlc_private *priv)
|
||||||
if (priv->tsa) {
|
if (priv->tsa) {
|
||||||
uf_info->tsa = 1;
|
uf_info->tsa = 1;
|
||||||
uf_info->ctsp = 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
|
/* This sets HPM register in CMXUCR register which configures a
|
||||||
|
|
Loading…
Reference in New Issue