From: Peter Korsgaard <jacmet@sunsite.dk>
To: monstr@monstr.eu
Cc: linux-serial@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: Uartlite - ulite_transmit
Date: Thu, 20 Jan 2011 09:06:55 +0100 [thread overview]
Message-ID: <87d3nsdmn4.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <4D37EC89.2080802@monstr.eu> (Michal Simek's message of "Thu, 20 Jan 2011 09:04:25 +0100")
>>>>> "Michal" == Michal Simek <monstr@monstr.eu> writes:
Hi,
>> /* flush input and output queues, important for modems! */
>> tcflush(0, TCIOFLUSH);
>>
>> You could change that to a tcdrain() if that's not what you want.
>>
Michal> Great that's work. Just for the record it is tcdrain(STDOUT_FILENO);
Yes. Notice that the code has changed a bit in busybox git (but same
functionality).
Michal> Patch against busybox 1.14.3 version is below. Maybe worth to
Michal> added it mainline busybox.
Yes, please bring it up with the busybox devs.
Michal> Thanks for your big help.
You're welcome.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2011-01-20 8:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4D2465E0.2000707@monstr.eu>
[not found] ` <4D246672.3070002@monstr.eu>
[not found] ` <87vd22h3dq.fsf@macbook.be.48ers.dk>
[not found] ` <4D257D61.2060400@monstr.eu>
[not found] ` <87r5cqh0bn.fsf@macbook.be.48ers.dk>
[not found] ` <4D25871D.2000408@monstr.eu>
[not found] ` <87mxnegy4u.fsf@macbook.be.48ers.dk>
[not found] ` <4D26C538.3010101@monstr.eu>
[not found] ` <4D26D79C.8060304@monstr.eu>
[not found] ` <4D2D78F3.2040903@monstr.eu>
[not found] ` <87aaj6zays.fsf@macbook.be.48ers.dk>
[not found] ` <4D2D8113.1020504@monstr.eu>
[not found] ` <8739oyza2n.fsf@macbook.be.48ers.dk>
2011-01-16 9:08 ` Uartlite - ulite_transmit Michal Simek
2011-01-16 21:02 ` Peter Korsgaard
2011-01-17 6:35 ` Michal Simek
2011-01-17 15:17 ` Michal Simek
2011-01-19 15:27 ` Peter Korsgaard
2011-01-20 8:04 ` Michal Simek
2011-01-20 8:06 ` Peter Korsgaard [this message]
2011-01-20 8:08 ` Michal Simek
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=87d3nsdmn4.fsf@macbook.be.48ers.dk \
--to=jacmet@sunsite.dk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=monstr@monstr.eu \
/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