Add an upstream patch to add high baud rates support (Closes: #990299)
Dylan Aïssi
2 years ago
|
0 |
conserver (8.2.6-2.1) UNRELEASED; urgency=medium
|
|
1 |
|
|
2 |
* Non-maintainer upload.
|
|
3 |
* Add an upstream patch to add high baud rates support (Closes: #990299)
|
|
4 |
|
|
5 |
-- Dylan Aïssi <daissi@debian.org> Thu, 09 Sep 2021 13:55:38 +0200
|
|
6 |
|
0 | 7 |
conserver (8.2.6-2) unstable; urgency=medium
|
1 | 8 |
|
2 | 9 |
[ Debian Janitor ]
|
|
0 |
From e7ca230c2239735d1b4c05747da8efbbae2fb547 Mon Sep 17 00:00:00 2001
|
|
1 |
From: Peter Chubb <Peter.Chubb@data61.csiro.au>
|
|
2 |
Date: Tue, 16 Mar 2021 10:31:27 +1100
|
|
3 |
Subject: [PATCH] Conserver-server: Add high baud rates
|
|
4 |
|
|
5 |
Linux (and others) allow higher baud rates than POSIX.
|
|
6 |
Add the definitions so that baud rates up to 4Mb/s are recognised
|
|
7 |
and can be used.
|
|
8 |
|
|
9 |
Signed-off-by: Peter Chubb <peter.chubb@data61.csiro.au>
|
|
10 |
---
|
|
11 |
conserver/consent.c | 39 +++++++++++++++++++++++++++++++++++++++
|
|
12 |
1 file changed, 39 insertions(+)
|
|
13 |
|
|
14 |
diff --git a/conserver/consent.c b/conserver/consent.c
|
|
15 |
index 8ef7199..ca50473 100644
|
|
16 |
--- a/conserver/consent.c
|
|
17 |
+++ b/conserver/consent.c
|
|
18 |
@@ -86,6 +86,45 @@ BAUD baud[] = {
|
|
19 |
{"3500000", 32},
|
|
20 |
{"4000000", 33},
|
|
21 |
#else /* FOR_CYCLADES_TS */
|
|
22 |
+# if defined(B4000000)
|
|
23 |
+ {"4000000", B4000000},
|
|
24 |
+# endif
|
|
25 |
+# if defined(B3500000)
|
|
26 |
+ {"3500000", B3500000},
|
|
27 |
+# endif
|
|
28 |
+# if defined(B3000000)
|
|
29 |
+ {"3000000", B3000000},
|
|
30 |
+# endif
|
|
31 |
+# if defined(B2500000)
|
|
32 |
+ {"2500000", B2500000},
|
|
33 |
+# endif
|
|
34 |
+# if defined(B2000000)
|
|
35 |
+ {"2000000", B2000000},
|
|
36 |
+# endif
|
|
37 |
+# if defined(B1500000)
|
|
38 |
+ {"1500000", B1500000},
|
|
39 |
+# endif
|
|
40 |
+# if defined(B1152000)
|
|
41 |
+ {"1152000", B1152000},
|
|
42 |
+# endif
|
|
43 |
+# if defined(B1000000)
|
|
44 |
+ {"1000000", B1000000},
|
|
45 |
+# endif
|
|
46 |
+# if defined(B921600)
|
|
47 |
+ {"921600", B921600},
|
|
48 |
+# endif
|
|
49 |
+# if defined(B576000)
|
|
50 |
+ {"576000", B576000},
|
|
51 |
+# endif
|
|
52 |
+# if defined(B500000)
|
|
53 |
+ {"500000", B500000},
|
|
54 |
+# endif
|
|
55 |
+# if defined(B460800)
|
|
56 |
+ {"460800", B460800},
|
|
57 |
+# endif
|
|
58 |
+# if defined(B230400)
|
|
59 |
+ {"230400", B230400},
|
|
60 |
+# endif
|
|
61 |
# if defined(B115200)
|
|
62 |
{"115200", B115200},
|
|
63 |
# endif
|
0 | 0 |
conserver-gssapi.patch
|
|
1 |
add_high_baud_rates.patch
|