mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Carlos Sanchez <csanchez@windy.az.mvista.com>
To: akpm@osdl.org, csanchez@mvista.com, mgreer@mvista.com
Cc: linux-kernel@vger.kernel.org
Subject: Added a Receive_Abort to the Marvell serial driver
Date: Wed, 12 Oct 2005 15:10:06 -0700	[thread overview]
Message-ID: <200510122210.j9CMA6li018530@windy.az.mvista.com> (raw)


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

                 reply	other threads:[~2005-10-12 22:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200510122210.j9CMA6li018530@windy.az.mvista.com \
    --to=csanchez@windy.az.mvista.com \
    --cc=akpm@osdl.org \
    --cc=csanchez@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mgreer@mvista.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®