Jan Kiszka wrote: > Anders Blomdell wrote: >> Are there any reason why the serial driver could not be changed to give an >> event >> when all characters has left the TX buffer? > > No, I don't think so. Somehow I have the feeling someone requested this > feature before, but I cannot find any reference or even code ATM. > However. Patch would be welcome. OK, I'll see what I can do. Is patch against 2.4.2 OK (pressing deadline -> I do not have the time to uprade right now).
My need for it is to make it possible to wait until all characters has left the FIFO (needed for autobaud detection), so perhaps a ioctl RTIOC_DRAIN (similar to RTIOC_PURGE) is a better choice (you decide what you prefer, and I'll try to implement it) /Anders -- Anders Blomdell Email: [EMAIL PROTECTED] Department of Automatic Control Lund University Phone: +46 46 222 4625 P.O. Box 118 Fax: +46 46 138118 SE-221 00 Lund, Sweden _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
