<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2><SPAN
class=550011918-11072001>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>The attached patch
file will provide the ability to specify some</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>wakeup callback
functions for termios. Basically, this defines</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>a ttywakeup
structure that is similar to the socket wakeup</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>structure. The
tty wakeup structures are set by using the</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>ioctl
function. </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=550011918-11072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>Basically, you
use the </SPAN></FONT><FONT face=Arial size=2><SPAN
class=550011918-11072001>RTEMS_IO_RCVWAKEUP </SPAN></FONT><FONT face=Arial
size=2><SPAN class=550011918-11072001>or </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>RTEMS_IO_SNDWAKEUP
ioctl commands and pass in an </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>address
</SPAN></FONT><FONT face=Arial size=2><SPAN class=550011918-11072001>to a
ttywakeup structure. </SPAN></FONT><FONT face=Arial size=2><SPAN
class=550011918-11072001>The wakeup functions are </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>called if
</SPAN></FONT><FONT face=Arial size=2><SPAN class=550011918-11072001>data has
been received on a </SPAN></FONT><FONT face=Arial size=2><SPAN
class=550011918-11072001>tty or if the send buffer </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>has become
</SPAN></FONT><FONT face=Arial size=2><SPAN class=550011918-11072001>empty on
the tty.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=550011918-11072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>The patch file was
created from </SPAN></FONT><FONT face=Arial size=2><SPAN
class=550011918-11072001>the </SPAN></FONT><FONT face=Arial size=2><SPAN
class=550011918-11072001>2001/05/25 snapshot.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=550011918-11072001></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>Good
Luck</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=550011918-11072001>Mike
Siers</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=550011918-11072001></SPAN></FONT> </DIV></BODY></HTML>