* Added a Receive_Abort to the Marvell serial driver
@ 2005-10-12 22:10 Carlos Sanchez
0 siblings, 0 replies; only message in thread
From: Carlos Sanchez @ 2005-10-12 22:10 UTC (permalink / raw)
To: akpm, csanchez, mgreer; +Cc: linux-kernel
Added a Receive_Abort to the Marvell serial driver
Fix occasional input overrun errors on Marvell serial driver
- If the Marvell serial driver is repeatedly started and then stopped
it will occasionally report an input overrun error when started.
- Added a Receive_Abort to the Marvell serial driver to abort
previously received receive errors when re-starting the receive
Acked-by: Mark A. Greer <mgreer@mvista.com>
Signed-off-by: Carlos Sanchez <csanchez@mvista.com>
--
diff -Naur --exclude=.pc --exclude=patches Pristinelinux-2.6.10/drivers/serial/mpsc.c WorkingF101_USB/drivers/serial/mpsc.c
--- Pristinelinux-2.6.10/drivers/serial/mpsc.c 2005-10-07 09:58:56.000000000 -0700
+++ WorkingF101_USB/drivers/serial/mpsc.c 2005-10-12 07:56:13.279523424 -0700
@@ -1100,6 +1105,8 @@
{
pr_debug("mpsc_start_rx[%d]: Starting...\n", pi->port.line);
+ /* Issue a Receive Abort to clear any receive errors */
+ writel(MPSC_CHR_2_RA, pi->mpsc_base + MPSC_CHR_2);
if (pi->rcv_data) {
mpsc_enter_hunt(pi);
mpsc_sdma_cmd(pi, SDMA_SDCM_ERD);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-10-12 22:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-12 22:10 Added a Receive_Abort to the Marvell serial driver Carlos Sanchez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®