summaryrefslogtreecommitdiff
path: root/comms/estic/patches/patch-an
blob: 09cfad5d3bbc3f24c57957d52ed3ac446c2d50d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
$NetBSD: patch-an,v 1.1.1.1 2001/02/10 18:34:23 tron Exp $

--- ../spunk/sercom.h.orig	Thu Nov  7 18:06:52 1996
+++ ../spunk/sercom.h	Sat Feb 10 18:38:35 2001
@@ -43,29 +43,29 @@
 
 
 // Constants for accessing the array of error counters
-const ceRXOverflow              = 0;    // Receive buffer overflow
-const ceTXOverflow              = 1;    // Transmit buffer overflow
-const ceOverrun                 = 2;    // UART overrun
-const ceBreak                   = 3;    // Break received
-const ceFrame                   = 4;    // Framing error
-const ceParity                  = 5;    // Parity error
+const int ceRXOverflow              = 0;    // Receive buffer overflow
+const int ceTXOverflow              = 1;    // Transmit buffer overflow
+const int ceOverrun                 = 2;    // UART overrun
+const int ceBreak                   = 3;    // Break received
+const int ceFrame                   = 4;    // Framing error
+const int ceParity                  = 5;    // Parity error
 
 
 
 // Bitmask constants for evaluating the result of ModemStatus
-const csDeltaCTS                = 0x01; // Delta CTS
-const csDeltaDSR                = 0x02; // Delta DSR
-const csDeltaRI                 = 0x04; // Falling edge of RI
-const csDeltaCarrierDetect      = 0x08; // Delta CD
-const csClearToSend             = 0x10; // Clear To Send
-const csDataSetReady            = 0x20; // Data Set Ready
-const csRingIndicator           = 0x40; // Ring Indicator
-const csCarrierDetect           = 0x80; // Carrier Detect
-const csCTS                     = csClearToSend;
-const csDSR                     = csDataSetReady;
-const csRI                      = csRingIndicator;
-const csCD                      = csCarrierDetect;
-const csDeltaCD                 = csDeltaCarrierDetect;
+const int csDeltaCTS                = 0x01; // Delta CTS
+const int csDeltaDSR                = 0x02; // Delta DSR
+const int csDeltaRI                 = 0x04; // Falling edge of RI
+const int csDeltaCarrierDetect      = 0x08; // Delta CD
+const int csClearToSend             = 0x10; // Clear To Send
+const int csDataSetReady            = 0x20; // Data Set Ready
+const int csRingIndicator           = 0x40; // Ring Indicator
+const int csCarrierDetect           = 0x80; // Carrier Detect
+const int csCTS                     = csClearToSend;
+const int csDSR                     = csDataSetReady;
+const int csRI                      = csRingIndicator;
+const int csCD                      = csCarrierDetect;
+const int csDeltaCD                 = csDeltaCarrierDetect;