* [patch] synclink.c add loopback to async mode
@ 2005-09-07 17:08 Paul Fulghum
0 siblings, 0 replies; only message in thread
From: Paul Fulghum @ 2005-09-07 17:08 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel
[patch] synclink.c add loopback to async mode
From: Paul Fulghum <paulkf@microgate.com>
Add internal loopback support for
asynchronous mode operation.
Signed-off-by: Paul Fulghum <paulkf@microgate.com>
--- linux-2.6.13/drivers/char/synclink.c 2005-09-07 11:43:56.000000000 -0500
+++ linux-2.6.13-mg/drivers/char/synclink.c 2005-09-07 11:57:02.000000000 -0500
@@ -6149,6 +6149,11 @@ static void usc_set_async_mode( struct m
usc_OutReg(info, PCR, (u16)((usc_InReg(info, PCR) | BIT13) & ~BIT12));
}
+ if (info->params.loopback) {
+ info->loopback_bits = 0x300;
+ outw(0x0300, info->io_base + CCAR);
+ }
+
} /* end of usc_set_async_mode() */
/* usc_loopback_frame()
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-09-07 17:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-07 17:08 [patch] synclink.c add loopback to async mode Paul Fulghum
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox