2008-07-17 15:15:00

by Paul Fulghum

[permalink] [raw]
Subject: [PATCH] synclink_gt leave transmitter in reset state after configuration

Leave the transmitter in reset state after configuration
so that transmit signal is held at mark until transmitter
is explicitly enabled by application, otherwise transmitter
sends idle pattern.

Signed-off-by: Paul Fulghum <[email protected]>

--- a/drivers/char/synclink_gt.c 2008-07-17 08:39:06.000000000 -0500
+++ b/drivers/char/synclink_gt.c 2008-07-17 09:05:24.000000000 -0500
@@ -4157,7 +4157,7 @@ static void sync_mode(struct slgt_info *
* 01 enable
* 00 auto-CTS enable
*/
- val = 0;
+ val = BIT2;

switch(info->params.mode) {
case MGSL_MODE_MONOSYNC: val |= BIT14 + BIT13; break;