From: "Alexander Aganichev" <aaganichev@gmail.com>
To: ecos-devel@ecos.sourceware.org
Subject: Question to 16x5x driver users
Date: Mon, 18 Jun 2007 13:11:00 -0000 [thread overview]
Message-ID: <c25335bc0706180611l36818bfbn77e052427f313a92@mail.gmail.com> (raw)
I found that driver not transmit anything in interrupt driving mode
unless I made the following patch:
Index: packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c
===================================================================
RCS file: /cvs/ecos/ecos/packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c,v
retrieving revision 1.14
diff -u -r1.14 ser_16x5x.c
--- packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c 27 Nov
2006 13:59:50 -0000 1.14
+++ packages/devs/serial/generic/16x5x/current/src/ser_16x5x.c 18 Jun
2007 12:21:30 -0000
@@ -516,6 +516,7 @@
HAL_READ_UINT8(base+REG_ier, _ier);
_ier |= IER_XMT; // Enable xmit interrupt
HAL_WRITE_UINT8(base+REG_ier, _ier);
+ (chan->callbacks->xmt_char)(chan); // <<<<<<
}
// Disable the transmitter on the device
Am I right to make this change or I just missed another process that
should call xmt_char? I'm using LPC2294 based board and use this
driver for the UART1.
--
WBR, Alexander
next reply other threads:[~2007-06-18 13:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-18 13:11 Alexander Aganichev [this message]
2007-06-19 7:01 ` Guennadi Liakhovetski
2007-06-19 11:25 ` Gary Thomas
2007-06-23 10:04 ` unsubscribe capiman@t-online.de Martin Maurer
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=c25335bc0706180611l36818bfbn77e052427f313a92@mail.gmail.com \
--to=aaganichev@gmail.com \
--cc=ecos-devel@ecos.sourceware.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).