[PATCH] synclink_gt leave transmitter in reset state afterconfiguration
From: Paul Fulghum
Date: Thu Jul 17 2008 - 11:15:02 EST
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@xxxxxxxxxxxxx>
--- 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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/