Commit c94a6733 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] dscc4: CCR1 register fixes

From: Francois Romieu <romieu@fr.zoreil.com>

CCR1 register voodoo: asic handles itself the flow control.
parent a37a0775
...@@ -846,8 +846,9 @@ static void dscc4_init_registers(struct dscc4_dev_priv *dpriv, ...@@ -846,8 +846,9 @@ static void dscc4_init_registers(struct dscc4_dev_priv *dpriv,
* No address recognition/crc-CCITT/cts enabled * No address recognition/crc-CCITT/cts enabled
* Shared flags transmission disabled - cf errata DS5 p.11 * Shared flags transmission disabled - cf errata DS5 p.11
* Carrier detect disabled - cf errata p.14 * Carrier detect disabled - cf errata p.14
* FIXME: carrier detection/polarity may be handled more gracefully.
*/ */
scc_writel(0x021c8000, dpriv, dev, CCR1); scc_writel(0x02408000, dpriv, dev, CCR1);
/* crc not forwarded - Cf errata DS5 p.11 */ /* crc not forwarded - Cf errata DS5 p.11 */
scc_writel(0x00050008 & ~RxActivate, dpriv, dev, CCR2); scc_writel(0x00050008 & ~RxActivate, dpriv, dev, CCR2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment