[PATCH] synclink_gt leave transmitter in reset state after configuration

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul Fulghum
Date: Thursday, July 17, 2008 - 7:14 am

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 <paulkf@microgate.com>

--- 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;


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] synclink_gt leave transmitter in reset state after ..., Paul Fulghum, (Thu Jul 17, 7:14 am)