dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] pnet/support serial.c,1.1,1.2


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] pnet/support serial.c,1.1,1.2
Date: Sat, 08 Nov 2003 10:44:12 +0000

Update of /cvsroot/dotgnu-pnet/pnet/support
In directory subversions:/tmp/cvs-serv3549/support

Modified Files:
        serial.c 
Log Message:


Add the "RING" signal to the list of monitored serial line pins.


Index: serial.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/serial.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** serial.c    8 Nov 2003 05:49:46 -0000       1.1
--- serial.c    8 Nov 2003 10:44:10 -0000       1.2
***************
*** 475,478 ****
--- 475,484 ----
        }
  #endif
+ #ifdef TIOCM_RNG
+       if((value & TIOCM_RNG) != 0)
+       {
+               pins |= IL_PIN_RING;
+       }
+ #endif
  #endif
        return pins;
***************
*** 586,589 ****
--- 592,598 ----
  #ifdef TIOCM_RTS
        waitFor |= TIOCM_RTS;
+ #endif
+ #ifdef TIOCM_RNG
+       waitFor |= TIOCM_RNG;
  #endif
        if(ioctl(handle->fd, TIOCMIWAIT, &waitFor) == 0)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]