Commit 6e7ccf2
serial: add extended Linux baud rate support
This patch extends Linux serial_setup() to support additional
standard baud rates (19200, 230400, 460800, 921600).
Unsupported baud rates now gracefully fallback to 57600.
Signed-off-by: Hank Wang <wanghanchi2000@gmail.com>1 parent 420d6e7 commit 6e7ccf2
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
112 | 124 | | |
113 | 125 | | |
114 | 126 | | |
| |||
0 commit comments