1 |
786 |
skrzyp |
2012-03-13 Sergei Gavrikov
|
2 |
|
|
|
3 |
|
|
* tests/serial1.c: Fix compiler warning about variable that is set but
|
4 |
|
|
not used.
|
5 |
|
|
* tests/tty1.c: Ditto.
|
6 |
|
|
|
7 |
|
|
2011-03-28 Ilija Kocho
|
8 |
|
|
Sergei Gavrikov
|
9 |
|
|
|
10 |
|
|
* src/common/termiostty.c: Add a possibility to define a few
|
11 |
|
|
additional DEVTAB entries.
|
12 |
|
|
* src/common/tty.c: Same.
|
13 |
|
|
|
14 |
|
|
2010-06-02 Jay Foster
|
15 |
|
|
|
16 |
|
|
* src/common/termios.c : Fix tcflush() and tcdrain(). They were
|
17 |
|
|
effectively no-op functions.
|
18 |
|
|
|
19 |
|
|
2008-09-02 Steven Clugston
|
20 |
|
|
|
21 |
|
|
* tests/ser_test_protocol.inl : Add mpc555 generic platform
|
22 |
|
|
* include/serialio.h : Add noise error define to line status
|
23 |
|
|
|
24 |
|
|
2008-08-13 Rainer Arndt
|
25 |
|
|
|
26 |
|
|
* src/common/termiostty.c (set_attr) : Fixed bug for XON/XOFF
|
27 |
|
|
flow control that was wrong in termiostty.
|
28 |
|
|
set_attr() now looks into c_iflag for IXON/IXOFF flags.
|
29 |
|
|
|
30 |
|
|
2008-01-30 Andrew Lunn
|
31 |
|
|
|
32 |
|
|
* src/common/termiostty.c (termios_lookup): Add missing set of
|
33 |
|
|
init flag. Pointed out by Rainer Arndt.
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
2008-01-30 Rainer Arndt
|
37 |
|
|
|
38 |
|
|
* src/common/termiostty.c (ecosbaud2posixbaud[]): Add missing
|
39 |
|
|
B1800 entry.
|
40 |
|
|
|
41 |
|
|
2006-08-31 Ilija Koco
|
42 |
|
|
Andrew Lunn
|
43 |
|
|
|
44 |
|
|
* cdl/termios.cdl:
|
45 |
|
|
src/common/termiostty.c: added Termios TTY channel #3
|
46 |
|
|
* cdl/tty.cdl:
|
47 |
|
|
src/common/tty.c: added TTY mode channel #3
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
2006-08-22 Peter Csordas
|
51 |
|
|
|
52 |
|
|
* include/serialio.h (cyg_serial_baud_rate_t): Adding baud rate
|
53 |
|
|
defines for 460800 and 921600 baud.
|
54 |
|
|
|
55 |
|
|
2006-08-25 Gary Thomas
|
56 |
|
|
|
57 |
|
|
* cdl/io_serial.cdl: Set parent for more intuitive ConfigTool layout.
|
58 |
|
|
|
59 |
|
|
2006-05-09 Andrew Lunn
|
60 |
|
|
|
61 |
|
|
* src/common/tty.c (tty_init): Fix compiler warning with
|
62 |
|
|
diag_printf() arguments.
|
63 |
|
|
|
64 |
|
|
2005-09-02 Sebastien Couret
|
65 |
|
|
|
66 |
|
|
* src/common/termiostty.c and
|
67 |
|
|
* tests/serial_echo.c : Fix compiler warning on a signedness
|
68 |
|
|
argument
|
69 |
|
|
|
70 |
|
|
2005-07-22 Andrew Lunn
|
71 |
|
|
|
72 |
|
|
* src/common/tty.c (tty_write):
|
73 |
|
|
* src/common/haldiag.c (haldiag_getc): Fixed pointer signness to
|
74 |
|
|
avoid compiler warnings.
|
75 |
|
|
* tests/*.c msglen should by an unsigned int to avoid compiler
|
76 |
|
|
warnings.
|
77 |
|
|
|
78 |
|
|
2005-07-21 Andrew Lunn
|
79 |
|
|
|
80 |
|
|
* src/common/termiostty.c: Removed errbuf from priv. It was never
|
81 |
|
|
being used after being allocated and never freed.
|
82 |
|
|
|
83 |
|
|
2005-06-27 Andrew Lunn
|
84 |
|
|
|
85 |
|
|
* src/common/serial.c (serial_select): Swap the DSR locks and
|
86 |
|
|
mutex locks around to avoid deadlocks with the rest of the code
|
87 |
|
|
which uses this order.
|
88 |
|
|
|
89 |
|
|
2005-06-17 Andreas Gaer
|
90 |
|
|
|
91 |
|
|
* src/common/serial.c (serial_select): Lock DSRs inside
|
92 |
|
|
serial_select() as the serial DSR calls functions manipulating the
|
93 |
|
|
cbuf structs, leading to a race condition. Also use the mutex to
|
94 |
|
|
avoid races between different threads.
|
95 |
|
|
|
96 |
|
|
2005-05-13 Peter Korsgaard
|
97 |
|
|
|
98 |
|
|
* src/common/serial.c (serial_init): Fix compiler warnings about
|
99 |
|
|
formats strings for diag_printf.
|
100 |
|
|
|
101 |
|
|
2004-11-30 Jani Monoses
|
102 |
|
|
|
103 |
|
|
* cdl/io_serial.cdl : CYGPKG_IO_SERIAL_SELECT_SUPPORT requires
|
104 |
|
|
CYGFUN_IO_FILEIO_SELECT specifically not just CYGPKG_FILEIO. The
|
105 |
|
|
latter provides select support only in kernel configurations.
|
106 |
|
|
|
107 |
|
|
2004-04-22 Jani Monoses
|
108 |
|
|
|
109 |
|
|
* cdl/io_serial.cdl :
|
110 |
|
|
Invoke tail with stricter syntax that works in latest coreutils.
|
111 |
|
|
|
112 |
|
|
2004-01-12 Dan Jakubiec
|
113 |
|
|
|
114 |
|
|
* src/common/serial.c: serial_write() was returning an incorrect
|
115 |
|
|
result code in non-blocking mode when output was blocked. The
|
116 |
|
|
previous code would return ENOERR with 0 bytes written. This
|
117 |
|
|
was fixed to return EAGAIN.
|
118 |
|
|
|
119 |
|
|
2003-08-18 Jay Foster
|
120 |
|
|
|
121 |
|
|
* src/common/serial.c: Fixed bug for XON/XOFF flow control that
|
122 |
|
|
would cause multiple XON (or XOFF) characters to be sent for a
|
123 |
|
|
single flow control state transition.
|
124 |
|
|
Fixed bug in serial_write() that would cause output data to be
|
125 |
|
|
discarded if using polled mode with flow control, and output
|
126 |
|
|
was blocked due to flow control.
|
127 |
|
|
Fixed bug in serial_data_xmt_req() that would not stop sending
|
128 |
|
|
data when output was flow controlled off (hardware flow control).
|
129 |
|
|
|
130 |
|
|
2003-09-02 Eric Doenges
|
131 |
|
|
|
132 |
|
|
* src/common/tty.c: Make tty_select prototype match implementation.
|
133 |
|
|
* src/common/termiostty.c: Make termios_select prototype match
|
134 |
|
|
implementation.
|
135 |
|
|
|
136 |
|
|
2003-09-02 Jonathan Larmour
|
137 |
|
|
|
138 |
|
|
* src/common/serial.c: Make serial_select prototype match
|
139 |
|
|
implementation.
|
140 |
|
|
|
141 |
|
|
2003-06-09 Nick Garnett
|
142 |
|
|
|
143 |
|
|
* src/common/serial.c: Changed all calls to cyg_drv_cond_signal()
|
144 |
|
|
to cyg_drv_cond_broadcast(). Removed comment asking whether this
|
145 |
|
|
matters: it does.
|
146 |
|
|
|
147 |
|
|
* include/serialio.h: Added includes of pkgconf files so that the
|
148 |
|
|
ifdefs in this file work properly.
|
149 |
|
|
|
150 |
|
|
* include/serial.h: Added include of devtab.h to fix compile
|
151 |
|
|
error.
|
152 |
|
|
|
153 |
|
|
2003-05-21 Gary Thomas
|
154 |
|
|
|
155 |
|
|
* src/common/serial.c (serial_get_config): Restart receiver
|
156 |
|
|
after input queue flush if it had been throttled. Inspired
|
157 |
|
|
by David Marqvar
|
158 |
|
|
|
159 |
|
|
2003-03-25 Jonathan Larmour
|
160 |
|
|
|
161 |
|
|
* src/common/serial.c (serial_get_config): For both INPUT_FLUSH
|
162 |
|
|
and OUTPUT_FLUSH keys, pass down to the hardware driver as well
|
163 |
|
|
to allow it to flush FIFOs.
|
164 |
|
|
Based on patch from Roland Cassebohm.
|
165 |
|
|
|
166 |
|
|
2003-03-20 Gary Thomas
|
167 |
|
|
|
168 |
|
|
* src/common/serial.c: Only return -EAGAIN if no data moved.
|
169 |
|
|
|
170 |
|
|
2003-03-11 Gary Thomas
|
171 |
|
|
|
172 |
|
|
* src/common/termiostty.c (termios_read): VMIN handling still wasn't
|
173 |
|
|
quite correct. When VMIN > 0, at least VMIN characters should be
|
174 |
|
|
read.
|
175 |
|
|
|
176 |
|
|
2003-02-24 Jonathan Larmour
|
177 |
|
|
|
178 |
|
|
* cdl/io_serial.cdl: Fix doc link.
|
179 |
|
|
|
180 |
|
|
2003-02-14 Jonathan Larmour
|
181 |
|
|
|
182 |
|
|
* src/common/termiostty.c: Support VMIN > 0 properly.
|
183 |
|
|
|
184 |
|
|
2002-12-10 Gary Thomas
|
185 |
|
|
|
186 |
|
|
* src/common/tty.c (tty_write): Only return number of characters
|
187 |
|
|
in original string which were written - don't include any CR/LF
|
188 |
|
|
expansion characters.
|
189 |
|
|
|
190 |
|
|
2002-04-23 Jesper Skov
|
191 |
|
|
|
192 |
|
|
* tests/serial3.c (serial_test): Use 19200 baud rate when board
|
193 |
|
|
cannot handle 38400.
|
194 |
|
|
* tests/serial5.c (serial_test): Same.
|
195 |
|
|
|
196 |
|
|
2002-02-19 Jesper Skov
|
197 |
|
|
|
198 |
|
|
* cdl/io_serial.cdl: Removed termiostty.c build rule.
|
199 |
|
|
|
200 |
|
|
* cdl/termios.cdl: Make termiostty.c building depending on actual
|
201 |
|
|
requirements for its content.
|
202 |
|
|
|
203 |
|
|
2002-02-15 Jesper Skov
|
204 |
|
|
|
205 |
|
|
* tests/flow1.c: Also try DSR/DTR flow control (presently
|
206 |
|
|
unsupported by Linux though).
|
207 |
|
|
* tests/flow2.c: Same.
|
208 |
|
|
|
209 |
|
|
2002-01-11 Jonathan Larmour
|
210 |
|
|
|
211 |
|
|
* src/common/termiostty.c (termios_read): Don't return after VMIN,
|
212 |
|
|
this was a stupid thing to do and decreases performance a lot.
|
213 |
|
|
|
214 |
|
|
2001-08-15 Gary Thomas
|
215 |
|
|
|
216 |
|
|
* tests/ser_test_protocol.inl: Change NONE in 'cyg_verbosity_level_t'
|
217 |
|
|
to be _NONE [unused] to avoid name clash with .
|
218 |
|
|
|
219 |
|
|
2000-12-08 Jonathan Larmour
|
220 |
|
|
|
221 |
|
|
* src/common/serial.c: Fix CYGOPT_IO_SERIAL_FLOW_CONTROL_HW ->
|
222 |
|
|
CYGOPT_IO_SERIAL_SUPPORT_LINE_STATUS typo when declaring callbacks
|
223 |
|
|
Thanks to Brian Danilko for reporting.
|
224 |
|
|
|
225 |
|
|
2000-11-22 Jesper Skov
|
226 |
|
|
|
227 |
|
|
* src/common/serial.c: Changed #ifdef to #if used on an interface
|
228 |
|
|
option.
|
229 |
|
|
|
230 |
|
|
2000-11-06 Jonathan Larmour
|
231 |
|
|
|
232 |
|
|
* src/common/tty.c (tty_write): Check buffer size appropriately
|
233 |
|
|
since when doing \r\n expansion "size" may have been double
|
234 |
|
|
incremented as a result.
|
235 |
|
|
Thanks to Alex Mathews of Crosstor for the fix.
|
236 |
|
|
|
237 |
|
|
2000-10-20 Jonathan Larmour
|
238 |
|
|
|
239 |
|
|
* src/common/serial.c: Include cyg/infra/cyg_ass.h for assertion
|
240 |
|
|
support since we have assertions here!
|
241 |
|
|
|
242 |
|
|
2000-10-12 Jesper Skov
|
243 |
|
|
|
244 |
|
|
* tests/ser_test_protocol.inl: Moved most testing parameters into
|
245 |
|
|
device driver CDL.
|
246 |
|
|
|
247 |
|
|
* cdl/io_serial.cdl: Added comment.
|
248 |
|
|
|
249 |
|
|
2000-10-06 Jesper Skov
|
250 |
|
|
|
251 |
|
|
* src/common/serial.c (serial_rcv_char): Register overruns.
|
252 |
|
|
|
253 |
|
|
* src/common/serial.c: Made block request functions return cause
|
254 |
|
|
of failure. Necessary for the device driver to be able to
|
255 |
|
|
fall-back to other transfer method efficiently.
|
256 |
|
|
* include/serial.h: Added enum with failure types.
|
257 |
|
|
|
258 |
|
|
2000-10-03 Jesper Skov
|
259 |
|
|
|
260 |
|
|
* tests/ser_test_protocol.inl: Moved testing parameters to device
|
261 |
|
|
driver CDL for SH targets.
|
262 |
|
|
|
263 |
|
|
2000-09-29 Jesper Skov
|
264 |
|
|
|
265 |
|
|
* include/serialio.h: Fix compiler warning and errors due to
|
266 |
|
|
non-default flow control config.
|
267 |
|
|
|
268 |
|
|
2000-09-27 Jesper Skov
|
269 |
|
|
|
270 |
|
|
* src/common/serial.c (serial_data_rcv_done,
|
271 |
|
|
serial_data_xmt_done): Buffer pointers updated in _done instead of
|
272 |
|
|
in _req to avoid race in xmt. Same change in rcv for consistency.
|
273 |
|
|
* include/serial.h: Changed prototype accordingly.
|
274 |
|
|
|
275 |
|
|
2000-09-18 Jesper Skov
|
276 |
|
|
|
277 |
|
|
* cdl/io_serial.cdl: Added interfaces to allow test tweaking.
|
278 |
|
|
* tests/ser_test_protocol.inl: Use interfaces. Moved PID details
|
279 |
|
|
to PID serial package.
|
280 |
|
|
|
281 |
|
|
2000-09-15 Jesper Skov
|
282 |
|
|
|
283 |
|
|
* tests/ser_test_protocol.inl: Allow drivers to define testing
|
284 |
|
|
parameters via CDL.
|
285 |
|
|
|
286 |
|
|
2000-09-13 Jesper Skov
|
287 |
|
|
|
288 |
|
|
* include/serial.h (SERIAL_CALLBACKS): Fix typo.
|
289 |
|
|
|
290 |
|
|
2000-09-06 Jesper Skov
|
291 |
|
|
|
292 |
|
|
* tests/ser_test_protocol.inl: Renamed some option names due to SH
|
293 |
|
|
serial driver reorg.
|
294 |
|
|
|
295 |
|
|
2000-08-09 Jonathan Larmour
|
296 |
|
|
|
297 |
|
|
* src/common/serial.c (serial_indicate_status): Treat flow control
|
298 |
|
|
case conditionally
|
299 |
|
|
|
300 |
|
|
2000-08-08 Jonathan Larmour
|
301 |
|
|
|
302 |
|
|
* src/common/serial.c (serial_data_rcv_req): Adjust nb in correct
|
303 |
|
|
direction
|
304 |
|
|
|
305 |
|
|
2000-08-04 Jonathan Larmour
|
306 |
|
|
|
307 |
|
|
* cdl/io_serial.cdl: Default software flow control to on (but keep
|
308 |
|
|
flow control overall default off)
|
309 |
|
|
|
310 |
|
|
* tests/flow1.c (cyg_start): Fix N_A_MSG -> NA_MSG typo
|
311 |
|
|
* tests/flow2.c (cyg_start): Ditto
|
312 |
|
|
|
313 |
|
|
2000-08-03 Jonathan Larmour
|
314 |
|
|
|
315 |
|
|
* cdl/io_serial.cdl: Should default flow control to off
|
316 |
|
|
|
317 |
|
|
* src/common/serial.c (serial_data_xmt_req): Update cbuf->nb
|
318 |
|
|
(serial_data_rcv_req): Update cbuf->nb
|
319 |
|
|
|
320 |
|
|
2000-08-01 Jonathan Larmour
|
321 |
|
|
|
322 |
|
|
* cdl/io_serial.cdl: Add support for line status queries,
|
323 |
|
|
software flow control, hardware flow control and POSIX termios
|
324 |
|
|
* include/serial.h: Likewise. Also change prototype for set_config
|
325 |
|
|
hardware operations to use keys to be more flexible.
|
326 |
|
|
* include/serialio.h: Add lots of types and constants to support
|
327 |
|
|
new line status and flow control config key queries
|
328 |
|
|
|
329 |
|
|
* src/common/haldiag.c (haldiag_set_config): Use keys to be more
|
330 |
|
|
flexible.
|
331 |
|
|
|
332 |
|
|
* src/common/serial.c: Many changes to support software/hardware
|
333 |
|
|
flow control (with low and high water points), line status and
|
334 |
|
|
fix some omissions with select. Also fix bugs in block transfer
|
335 |
|
|
functions resulting from EL/IX merge.
|
336 |
|
|
|
337 |
|
|
* tests/flow1.c, tests/flow2.c: New tests for flow control
|
338 |
|
|
|
339 |
|
|
* cdl/termios.cdl: Add to configure termios
|
340 |
|
|
* src/termios.c: Add new POSIX Termios API
|
341 |
|
|
* src/termiostty.c: Add POSIX Termios tty driver
|
342 |
|
|
|
343 |
|
|
* tests/ser_test_protocol.inl (change_config): Add support for
|
344 |
|
|
hardware and software flow control testing, indicated to the
|
345 |
|
|
host by an extra CONFIG argument.
|
346 |
|
|
|
347 |
|
|
* tests/serial3.c: Add flow control config
|
348 |
|
|
* tests/serial5.c: Add flow control config
|
349 |
|
|
|
350 |
|
|
2000-07-31 Nick Garnett
|
351 |
|
|
|
352 |
|
|
* src/common/serial.c: Changed BLOCKING control definitions to
|
353 |
|
|
generic versions.
|
354 |
|
|
|
355 |
|
|
2000-07-03 Jesper Skov
|
356 |
|
|
|
357 |
|
|
* src/common/serial.c (serial_data_rcv_req): Fix off-by-1 bug.
|
358 |
|
|
|
359 |
|
|
2000-06-23 Jesper Skov
|
360 |
|
|
|
361 |
|
|
* tests/ser_test_protocol.inl: Added cq7708 definitions.
|
362 |
|
|
|
363 |
|
|
2000-06-19 Nick Garnett
|
364 |
|
|
|
365 |
|
|
* include/serial.h:
|
366 |
|
|
* src/common/serial.c:
|
367 |
|
|
Added nb field to cbuf_t structure. This keeps track of the number of
|
368 |
|
|
bytes currently in the buffer. Without this counter, there is no
|
369 |
|
|
way to distinguish a totally full buffer from one that is totally
|
370 |
|
|
empty, since in both cases put==get.
|
371 |
|
|
|
372 |
|
|
2000-06-15 Nick Garnett
|
373 |
|
|
|
374 |
|
|
* include/serial.h: Added selinfo field to cbuf structure when
|
375 |
|
|
select support is enabled.
|
376 |
|
|
|
377 |
|
|
* src/common/serial.c:
|
378 |
|
|
* src/common/tty.c:
|
379 |
|
|
Added select support.
|
380 |
|
|
|
381 |
|
|
* cdl/io_serial.cdl: Added CYGPKG_IO_SERIAL_SELECT_SUPPORT to
|
382 |
|
|
enable select() support. Defaults to on.
|
383 |
|
|
Also added component for loopback driver.
|
384 |
|
|
|
385 |
|
|
* tests/ser_test_protocol.inl: Added test setup for loopback
|
386 |
|
|
driver.
|
387 |
|
|
|
388 |
|
|
2000-05-28 Gary Thomas
|
389 |
|
|
|
390 |
|
|
* tests/ser_test_protocol.inl: Rename NEC V85x drivers.
|
391 |
|
|
|
392 |
|
|
2000-05-25 Jesper Skov
|
393 |
|
|
|
394 |
|
|
* tests/ser_test_protocol.inl: Added rules for REF4955.
|
395 |
|
|
|
396 |
|
|
2000-05-08 Jesper Skov
|
397 |
|
|
|
398 |
|
|
* cdl/io_serial.cdl: active_if CYGPKG_IO
|
399 |
|
|
|
400 |
|
|
2000-05-05 Jonathan Larmour
|
401 |
|
|
|
402 |
|
|
* src/common/serial.c (serial_get_config): Tidy below change a little
|
403 |
|
|
|
404 |
|
|
2000-05-05 Grant Edwards
|
405 |
|
|
|
406 |
|
|
* src/common/serial.c (serial_get_config): Support
|
407 |
|
|
CYG_IO_GET_CONFIG_SERIAL_BUFFER_INFO key to get buffer information
|
408 |
|
|
|
409 |
|
|
* include/serialio.h: Add cyg_serial_buf_info_t
|
410 |
|
|
|
411 |
|
|
2000-05-04 Jesper Skov
|
412 |
|
|
|
413 |
|
|
* cdl/io_serial.cdl: Only build tests when drivers enabled.
|
414 |
|
|
|
415 |
|
|
2000-05-02 Jesper Skov
|
416 |
|
|
|
417 |
|
|
* src/common/serial.c (serial_set_config): Set proper parity for
|
418 |
|
|
blocking options.
|
419 |
|
|
(serial_get_config): Fix copy'n'paste buglet.
|
420 |
|
|
|
421 |
|
|
2000-05-01 Jesper Skov
|
422 |
|
|
|
423 |
|
|
* src/common/serial.c: Added non-blocking config and operation for
|
424 |
|
|
read/write calls.
|
425 |
|
|
Added block transfer rcv/xmt callbacks.
|
426 |
|
|
Added (disabled for now) check for rcv overflow. [need to add
|
427 |
|
|
handling]
|
428 |
|
|
|
429 |
|
|
* include/serial.h: Added non-blocking callbacks.
|
430 |
|
|
|
431 |
|
|
* cdl/io_serial.cdl: Added non-blocking option. Added block
|
432 |
|
|
transfer interface.
|
433 |
|
|
|
434 |
|
|
2000-04-17 Hugo Tyson
|
435 |
|
|
|
436 |
|
|
* src/PKGconf.mak: remove; it's obsolete.
|
437 |
|
|
|
438 |
|
|
2000-04-13 Gary Thomas
|
439 |
|
|
|
440 |
|
|
* src/common/serial.c (serial_write): Make safer - only call
|
441 |
|
|
'start_xmit' with DSRs disabled.
|
442 |
|
|
|
443 |
|
|
2000-04-11 Hugo Tyson
|
444 |
|
|
|
445 |
|
|
* cdl/io_serial.cdl (CYGPKG_IO_SERIAL_DEVICES): New package which
|
446 |
|
|
is a container and control for the real device drivers.
|
447 |
|
|
|
448 |
|
|
2000-04-11 Jesper Skov
|
449 |
|
|
|
450 |
|
|
* cdl/io_serial.cdl: Bad hack to build separate test.
|
451 |
|
|
* tests/serial_echo.c: Added.
|
452 |
|
|
|
453 |
|
|
2000-04-11 Hugo Tyson
|
454 |
|
|
|
455 |
|
|
* cdl/ser_.... (driver-specific cdl files):
|
456 |
|
|
Remove all these; they are no longer needed following the change
|
457 |
|
|
below. They do exist in devs/serial/ARCH/PLATFORM/VERSION/cdl/
|
458 |
|
|
directories various instead.
|
459 |
|
|
|
460 |
|
|
2000-04-07 Hugo Tyson
|
461 |
|
|
|
462 |
|
|
* ecos.db: Re-organize device packages. This is a massive change
|
463 |
|
|
involving deleting all the sources for serial and ethernet drivers
|
464 |
|
|
from where they used to live in
|
465 |
|
|
packages/io/serial/current/src/ARCH/PLATFORM.[ch]
|
466 |
|
|
packages/net/drivers/eth/PLATFORM/current/src/...
|
467 |
|
|
and reinstating them in
|
468 |
|
|
packages/devs/serial/ARCH/PLATFORM/current/src/...
|
469 |
|
|
packages/devs/eth/ARCH/PLATFORM/current/src/...
|
470 |
|
|
|
471 |
|
|
All these new packages are properly defined in ecos.db, and are
|
472 |
|
|
all of type "hardware" so that a "target" can grab them.
|
473 |
|
|
|
474 |
|
|
This directory layout is descriptive of the devices we have right
|
475 |
|
|
now, arch and platform are separate levels just to make it easier
|
476 |
|
|
to navigate in the filesystem and similar to the HAL structure in
|
477 |
|
|
the filesystem.
|
478 |
|
|
|
479 |
|
|
It is *not* prescriptive of future work; for example, the mythical
|
480 |
|
|
common highly-portable 16550 serial driver which works on many
|
481 |
|
|
targets would be called "devs/serial/s16550/current", or a serial
|
482 |
|
|
device for a particular board (cogent springs to mind) that can
|
483 |
|
|
work with different CPUs fitted is "devs/serial/cogent/current".
|
484 |
|
|
|
485 |
|
|
Changelogs have been preserved and replicated over all the new
|
486 |
|
|
packages, so that no history is lost.
|
487 |
|
|
|
488 |
|
|
The contents of individual source files are unchanged; they build
|
489 |
|
|
in just the same emvironment except for a very few cases where the
|
490 |
|
|
config file name changed in this movement.
|
491 |
|
|
|
492 |
|
|
Targets in ecos.db have been redefined to bring in all relevant
|
493 |
|
|
hardware packages including net and serial drivers (but the newly
|
494 |
|
|
included packages are only active if their desired parent is
|
495 |
|
|
available.)
|
496 |
|
|
|
497 |
|
|
The names of CDL options (and their #defines of course) stay the
|
498 |
|
|
same for the serial drivers, for backward compatibility.
|
499 |
|
|
|
500 |
|
|
* templates/*/current.ect: these have had CYGPKG_IO_SERIAL added
|
501 |
|
|
rather than it being in (almost) all target definitions.
|
502 |
|
|
|
503 |
|
|
2000-04-07 Jonathan Larmour
|
504 |
|
|
|
505 |
|
|
* src/common/tty.c (tty_read): Correct handling of modes with newlines
|
506 |
|
|
|
507 |
|
|
2000-04-05 Jonathan Larmour
|
508 |
|
|
|
509 |
|
|
* src/common/tty.c (tty_read): CRLF conversion should use \r\n not \n\r
|
510 |
|
|
(tty_write): Similarly
|
511 |
|
|
|
512 |
|
|
* include/ttyio.h: Update CYG_TTY_IN_FLAGS_CRLF and
|
513 |
|
|
CYG_TTY_IN_FLAGS_CRLF to match
|
514 |
|
|
|
515 |
|
|
2000-03-31 Jesper Skov
|
516 |
|
|
|
517 |
|
|
* cdl/ser_sh_edk7708.cdl: Limit legal baud rate range.
|
518 |
|
|
* src/sh/sh_sci_serial.c: Use baud rate macro instead of hardwired
|
519 |
|
|
constants.
|
520 |
|
|
|
521 |
|
|
2000-03-28 John Dallaway
|
522 |
|
|
|
523 |
|
|
* cdl/io_serial.cdl,
|
524 |
|
|
cdl/ser_arm_aeb.cdl,
|
525 |
|
|
cdl/ser_arm_cma230.cdl,
|
526 |
|
|
cdl/ser_arm_edb7xxx.cdl,
|
527 |
|
|
cdl/ser_arm_pid.cdl,
|
528 |
|
|
cdl/ser_i386_pc.cdl,
|
529 |
|
|
cdl/ser_mips_jmr3904.cdl,
|
530 |
|
|
cdl/ser_mips_vrc4373.cdl,
|
531 |
|
|
cdl/ser_mn10300.cdl,
|
532 |
|
|
cdl/ser_powerpc_cogent.cdl,
|
533 |
|
|
cdl/ser_quicc_smc.cdl,
|
534 |
|
|
cdl/ser_sh_edk7708.cdl,
|
535 |
|
|
cdl/ser_sparclite_sleb.cdl,
|
536 |
|
|
cdl/tty.cdl:
|
537 |
|
|
|
538 |
|
|
Adjust documentation URLs.
|
539 |
|
|
|
540 |
|
|
2000-03-07 Jesper Skov
|
541 |
|
|
|
542 |
|
|
* cdl/ser_mips_jmr3904.cdl: Rename devices to match CDL naming.
|
543 |
|
|
|
544 |
|
|
2000-02-29 Jonathan Larmour
|
545 |
|
|
|
546 |
|
|
* include/serialio.h: Correct baud rate typo: 230400 rather than
|
547 |
|
|
234000. Thanks to Grant Edwards for the report.
|
548 |
|
|
|
549 |
|
|
2000-02-28 Gary Thomas
|
550 |
|
|
|
551 |
|
|
* src/powerpc/quicc_smc_serial.c: Use standard 'diag_dump_buf()'.
|
552 |
|
|
|
553 |
|
|
2000-02-28 Jesper Skov
|
554 |
|
|
|
555 |
|
|
* tests/ser_test_protocol.inl: Allow 115200 baud on Cogent
|
556 |
|
|
again. Fixed interrupt problem.
|
557 |
|
|
|
558 |
|
|
2000-02-22 Jesper Skov
|
559 |
|
|
|
560 |
|
|
* tests/ser_test_protocol.inl: Don't use 115200 baud on
|
561 |
|
|
Cogent. Our slower boards can't keep up.
|
562 |
|
|
|
563 |
|
|
2000-02-17 Gary Thomas
|
564 |
|
|
|
565 |
|
|
* cdl/ser_powerpc_cogent.cdl: Fix incorrect dependency.
|
566 |
|
|
|
567 |
|
|
2000-02-16 Nick Garnett
|
568 |
|
|
|
569 |
|
|
* include/pkgconf/io_serial.h:
|
570 |
|
|
Added configury for PC serial device drivers.
|
571 |
|
|
|
572 |
|
|
* cdl/ser_i386_pc.cdl:
|
573 |
|
|
* src/i386/pc_serial.c:
|
574 |
|
|
* src/i386/pc_serial.h:
|
575 |
|
|
Added these files to implement PC serial line drivers.
|
576 |
|
|
|
577 |
|
|
* cdl/io_serial.cdl:
|
578 |
|
|
Added CYGPKG_IO_SERIAL_I386_PC.
|
579 |
|
|
|
580 |
|
|
* tests/ser_test_protocol.inl:
|
581 |
|
|
Added support for PC serial line testing.
|
582 |
|
|
|
583 |
|
|
2000-02-11 Jesper Skov
|
584 |
|
|
|
585 |
|
|
* src/sh/sh_sci_7708.inl (DEVTAB_ENTRY):
|
586 |
|
|
* src/sparclite/sleb_sdtr.c:
|
587 |
|
|
serial_devio => cyg_io_serial_devio
|
588 |
|
|
|
589 |
|
|
2000-02-10 Jonathan Larmour
|
590 |
|
|
|
591 |
|
|
* src/mn10300/mn10300_serial.c: Ensure all CYG_HAL_MN10300_*
|
592 |
|
|
preprocessor conditionals use the correct CYGPKG_HAL_MN10300_AM3* form
|
593 |
|
|
now.
|
594 |
|
|
|
595 |
|
|
2000-02-03 Jesper Skov
|
596 |
|
|
|
597 |
|
|
* src/powerpc/quicc_smc_serial.c: CYG_HAL_POWERPC_x->CYGPKG_...
|
598 |
|
|
|
599 |
|
|
2000-02-02 Jonathan Larmour
|
600 |
|
|
|
601 |
|
|
* src/arm/aeb_serial.h: Rename lower case register macros to REG_ upper
|
602 |
|
|
case macros
|
603 |
|
|
|
604 |
|
|
* src/arm/aeb_serial.c: Update to reflect above
|
605 |
|
|
|
606 |
|
|
2000-01-31 Simon FitzMaurice
|
607 |
|
|
* cdl/*.cdl:
|
608 |
|
|
|
609 |
|
|
Adjust help URLs in line with new doc layout.
|
610 |
|
|
|
611 |
|
|
2000-01-28 Simon FitzMaurice
|
612 |
|
|
* cdl/*.cdl:
|
613 |
|
|
|
614 |
|
|
Adjust help URLs in line with new doc layout.
|
615 |
|
|
|
616 |
|
|
2000-01-28 Gary Thomas
|
617 |
|
|
|
618 |
|
|
* src/common/tty.c (tty_read): Fix problem with backspace at start
|
619 |
|
|
of line (size must be 'signed' for compare to work).
|
620 |
|
|
|
621 |
|
|
2000-01-19 Hugo Tyson
|
622 |
|
|
|
623 |
|
|
* cdl/*.cdl: Add descriptions to a number of options &c which were
|
624 |
|
|
lacking same, also tidied up other typos as noticed en passant.
|
625 |
|
|
|
626 |
|
|
2000-01-17 Gary Thomas
|
627 |
|
|
|
628 |
|
|
* src/common/tty.c (tty_read): Avoid echoing "backspace/erase" at
|
629 |
|
|
start of line.
|
630 |
|
|
|
631 |
|
|
2000-01-05 Gary Thomas
|
632 |
|
|
|
633 |
|
|
* src/common/serial.c (serial_write): Avoid potential deadlock if
|
634 |
|
|
transmit start actually sends enough characters to signal cond wait.
|
635 |
|
|
|
636 |
|
|
2000-01-03 Gary Thomas
|
637 |
|
|
|
638 |
|
|
* include/serial.h: Fix namespace pollution -
|
639 |
|
|
serial_devio => cyg_io_serial_devio
|
640 |
|
|
serial_callbacks => cyg_io_serial_callbacks
|
641 |
|
|
|
642 |
|
|
* src/mips/tx3904_serial.c:
|
643 |
|
|
* src/mips/vrc4373_serial.c:
|
644 |
|
|
* src/mn10300/mn10300_serial.c:
|
645 |
|
|
* src/powerpc/quicc_smc_serial.c:
|
646 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
647 |
|
|
* src/sparclite/sleb_sdtr.c:
|
648 |
|
|
* src/arm/aeb_serial.c:
|
649 |
|
|
* src/arm/pid_serial_with_ints.c:
|
650 |
|
|
* src/arm/edb7xxx_serial.c:
|
651 |
|
|
* src/arm/cma230_serial.c:
|
652 |
|
|
* src/arm/ebsa285_serial.c:
|
653 |
|
|
* src/common/haldiag.c:
|
654 |
|
|
* src/common/serial.c: Fix namespace pollution -
|
655 |
|
|
serial_devio => cyg_io_serial_devio
|
656 |
|
|
|
657 |
|
|
1999-12-06 Gary Thomas
|
658 |
|
|
|
659 |
|
|
* src/arm/pid_serial_with_ints.c (pid_serial_DSR): Add loop to handle
|
660 |
|
|
case where an interrupt represents multiple events.
|
661 |
|
|
|
662 |
|
|
1999-11-19 Gary Thomas
|
663 |
|
|
|
664 |
|
|
* src/powerpc/quicc_smc_serial.c: Channel select for SMC2 was wrong.
|
665 |
|
|
|
666 |
|
|
1999-11-18 Gary Thomas
|
667 |
|
|
|
668 |
|
|
* include/pkgconf/io_serial.h: Remove mention of 7209/7212.
|
669 |
|
|
|
670 |
|
|
1999-11-03 John Dallaway
|
671 |
|
|
|
672 |
|
|
* cdl/io_serial.cdl: Define build options.
|
673 |
|
|
|
674 |
|
|
1999-10-26 Jesper Skov
|
675 |
|
|
* tests/serial5.c (serial_test): Reduce speed in thumb mode.
|
676 |
|
|
|
677 |
|
|
* src/arm/pid_serial.h: Added BE support.
|
678 |
|
|
|
679 |
|
|
* src/PKGconf.mak: Use CYGPKG_<> instead of CYG_<> to control what
|
680 |
|
|
needs to be compiled.
|
681 |
|
|
|
682 |
|
|
1999-10-25 Gary Thomas
|
683 |
|
|
|
684 |
|
|
* src/arm/pid_serial.h (ISR_RxTO): Define - character received but
|
685 |
|
|
not handled "promptly".
|
686 |
|
|
|
687 |
|
|
* src/arm/pid_serial_with_ints.c (pid_serial_DSR): Handle rcv interrupts
|
688 |
|
|
properly (can't ignore them even with TO bit set).
|
689 |
|
|
|
690 |
|
|
* src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Need to handle all
|
691 |
|
|
input (empty input FIFO) otherwise characters get dropped.
|
692 |
|
|
|
693 |
|
|
1999-10-15 Jesper Skov
|
694 |
|
|
|
695 |
|
|
* tests/ser_test_protocol.inl: Removed AEB rev C change. Was bogus.
|
696 |
|
|
|
697 |
|
|
1999-10-11 Nick Garnett
|
698 |
|
|
|
699 |
|
|
* tests/ser_test_protocol.inl: Added configury for VR4300 testing.
|
700 |
|
|
|
701 |
|
|
* src/mips/vrc4373_serial.c: Added Bi-endian support.
|
702 |
|
|
|
703 |
|
|
* include/pkgconf/io_serial.h: Adjusted default baud rates to
|
704 |
|
|
38400.
|
705 |
|
|
|
706 |
|
|
1999-10-06 Jesper Skov
|
707 |
|
|
|
708 |
|
|
* tests/ser_test_protocol.inl: Run tests on AEB rev C as well.
|
709 |
|
|
|
710 |
|
|
1999-09-28 Hugo Tyson
|
711 |
|
|
|
712 |
|
|
* src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): Correct
|
713 |
|
|
value supplied for interrupt priority - it may be unused, but it
|
714 |
|
|
is asserted for range. Initialize the diagnostic channel if on an
|
715 |
|
|
MBX and if NOT using SMC1 ourselves, to ensure that diag output
|
716 |
|
|
and built-in stubs work correctly; otherwise reset the quicc and
|
717 |
|
|
ignore SMC1 as before. Fix various warnings, mostly about
|
718 |
|
|
casting/arg-passing/assigning away volatile.
|
719 |
|
|
|
720 |
|
|
1999-08-31 Jesper Skov
|
721 |
|
|
|
722 |
|
|
* tests/ser_test_protocol.inl: Define dummy crash ID.
|
723 |
|
|
|
724 |
|
|
1999-08-30 Jesper Skov
|
725 |
|
|
|
726 |
|
|
* tests/ser_test_protocol.inl: Added crash information which
|
727 |
|
|
should help track down repeating errors.
|
728 |
|
|
|
729 |
|
|
1999-08-20 Jesper Skov
|
730 |
|
|
|
731 |
|
|
* tests/README: Added.
|
732 |
|
|
|
733 |
|
|
1999-08-18 Jesper Skov
|
734 |
|
|
|
735 |
|
|
* tests/tty1.c:
|
736 |
|
|
* tests/tty2.c:
|
737 |
|
|
* tests/serial1.c:
|
738 |
|
|
* tests/serial2.c:
|
739 |
|
|
* tests/serial3.c:
|
740 |
|
|
* tests/serial4.c:
|
741 |
|
|
* tests/serial5.c:
|
742 |
|
|
* tests/PKGconf.mak:
|
743 |
|
|
Require kernel and kernel C API.
|
744 |
|
|
|
745 |
|
|
1999-08-17 Nick Garnett
|
746 |
|
|
|
747 |
|
|
* src/mn10300/mn10300_serial.c: Added a simple implementation of a
|
748 |
|
|
receive FIFO to try and reduce the overhead of receiving bytes.
|
749 |
|
|
|
750 |
|
|
1999-08-16 Jonathan Larmour
|
751 |
|
|
|
752 |
|
|
* src/PKGconf.mak:
|
753 |
|
|
* src/mn10300/mn10300_serial.c:
|
754 |
|
|
* tests/ser_test_protocol.inl:
|
755 |
|
|
Rename all am32 -> am31
|
756 |
|
|
|
757 |
|
|
1999-08-12 Nick Garnett
|
758 |
|
|
|
759 |
|
|
Imported following changes from development branch:
|
760 |
|
|
|
761 |
|
|
1999-08-11 Nick Garnett
|
762 |
|
|
|
763 |
|
|
* tests/serial5.c: Modified config test for boards that need a lower
|
764 |
|
|
speed for this test.
|
765 |
|
|
|
766 |
|
|
* tests/ser_test_protocol.inl: Removed 14400 baud tests for all
|
767 |
|
|
MN10300 variants. The MN10300 cannot currently do this speed.
|
768 |
|
|
|
769 |
|
|
* src/mn10300/mn10300_serial.c: Tidied up the transmit interrupt
|
770 |
|
|
enable/disable code to be variant specific.
|
771 |
|
|
|
772 |
|
|
* include/pkgconf/io_serial.h: Undid Jonathan's change, since the
|
773 |
|
|
same options are used for all MN10300 variants.
|
774 |
|
|
|
775 |
|
|
1999-08-10 Jonathan Larmour
|
776 |
|
|
|
777 |
|
|
* include/pkgconf/io_serial.h:
|
778 |
|
|
Reparent CYGPKG_IO_SERIAL_MN10300 from under CYGPKG_HAL_MN10300 to
|
779 |
|
|
CYGPKG_HAL_MN10300_AM32_STDEVAL1 since it's stdeval1 specific
|
780 |
|
|
|
781 |
|
|
1999-08-04 Nick Garnett
|
782 |
|
|
|
783 |
|
|
* tests/ser_test_protocol.inl:
|
784 |
|
|
Changed names of MN10300 defines tested. Added AM33 definitions.
|
785 |
|
|
|
786 |
|
|
* src/mn10300/mn10300_serial.c:
|
787 |
|
|
Modified driver to work on am33 too. This simply requires some
|
788 |
|
|
alternate definitions of things like register addresses and some
|
789 |
|
|
bits in them plus some extra parameterization of some register
|
790 |
|
|
values.
|
791 |
|
|
|
792 |
|
|
* src/PKGconf.mak:
|
793 |
|
|
Added am33 to list of architectures supporting serial lines.
|
794 |
|
|
|
795 |
|
|
1999-07-28 Gary Thomas
|
796 |
|
|
|
797 |
|
|
* include/pkgconf/io_serial.h: Update descriptions to be more
|
798 |
|
|
generic (CL7x11 instead of CL7211).
|
799 |
|
|
|
800 |
|
|
1999-07-28 Jonathan Larmour
|
801 |
|
|
|
802 |
|
|
* include/pkgconf/io_serial.h: Correct typos in CDL description
|
803 |
|
|
for serial port 2 driver
|
804 |
|
|
|
805 |
|
|
1999-07-26 Hugo Tyson
|
806 |
|
|
|
807 |
|
|
* src/arm/ebsa285_serial.c: New file: device driver for the serial
|
808 |
|
|
device of the Intel StrongARM EBSA-285 evaluation board.
|
809 |
|
|
|
810 |
|
|
* include/pkgconf/io_serial.h (CYGPKG_IO_SERIAL_ARM_EBSA285):
|
811 |
|
|
Config for it.
|
812 |
|
|
|
813 |
|
|
* src/PKGconf.mak (EXTRAS_COMPILE): Compile it.
|
814 |
|
|
|
815 |
|
|
* tests/ser_test_protocol.inl (TEST_SER_DEV): Enable testing of it.
|
816 |
|
|
|
817 |
|
|
1999-07-08 Jesper Skov
|
818 |
|
|
|
819 |
|
|
* tests/ser_test_protocol.inl (change_config): Changed implementation.
|
820 |
|
|
|
821 |
|
|
1999-06-27 Gary Thomas
|
822 |
|
|
|
823 |
|
|
* src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): More robust
|
824 |
|
|
initialization, with data cache disabled. This seems to fix the
|
825 |
|
|
random failures described below.
|
826 |
|
|
|
827 |
|
|
* tests/ser_test_protocol.inl: Add configuration for QUICC/MBX860.
|
828 |
|
|
Added some delays in the configuration change code to make QUICC
|
829 |
|
|
happy [didn't help much although the manual says they are required].
|
830 |
|
|
|
831 |
|
|
* src/powerpc/quicc_smc_serial.h (UART_BITRATE): Rewrote macro to
|
832 |
|
|
match what the Linux driver uses - still doesn't work well, though.
|
833 |
|
|
|
834 |
|
|
* src/powerpc/quicc_smc_serial.c: Lots of changes trying to get the
|
835 |
|
|
serial driver working and robust. At this point it works quite well,
|
836 |
|
|
using the default buffer sizes. Changing from the defaults seem to
|
837 |
|
|
easily break it though, certainly on input. Also, changing the baud
|
838 |
|
|
rate seems to not work reliably.
|
839 |
|
|
|
840 |
|
|
* src/common/serial.c: Add some tracing/debug info to try and debug
|
841 |
|
|
problems with QUICC serial driver. These are hard disabled with
|
842 |
|
|
"XX_" prepended to "CYGDBG_DIAG_BUF". Enabling them gives information
|
843 |
|
|
about how/when data are delivered from the serial driver.
|
844 |
|
|
|
845 |
|
|
* include/pkgconf/io_serial.h: Adjust limits and defaults on number and
|
846 |
|
|
size of buffers with values that seem to work.
|
847 |
|
|
|
848 |
|
|
1999-06-21 Jesper Skov
|
849 |
|
|
|
850 |
|
|
* src/sh/sh_sci_serial.c: Rearranged inclusion of .inl file a bit
|
851 |
|
|
to avoid compiler warnings.
|
852 |
|
|
|
853 |
|
|
1999-06-21 Gary Thomas
|
854 |
|
|
|
855 |
|
|
* include/pkgconf/io_serial.h: Fix CDL for number of buffers.
|
856 |
|
|
|
857 |
|
|
* src/powerpc/quicc_smc_serial.c: Force number of buffers = 1.
|
858 |
|
|
|
859 |
|
|
1999-06-20 Gary Thomas
|
860 |
|
|
|
861 |
|
|
* include/pkgconf/io_serial.h: Some clean up (removed commented
|
862 |
|
|
obsolete CDL parenting structure).
|
863 |
|
|
Add support for Motorola PowerPC QUICC/SMC.
|
864 |
|
|
|
865 |
|
|
* src/arm/cma230_serial.c:
|
866 |
|
|
* src/arm/cl7211_serial.c:
|
867 |
|
|
* src/arm/aeb_serial.c:
|
868 |
|
|
* src/arm/pid_serial_with_ints.c: Use #include to get 'diag_printf()'
|
869 |
|
|
prototypes.
|
870 |
|
|
|
871 |
|
|
1999-06-17 Gary Thomas
|
872 |
|
|
|
873 |
|
|
* src/arm/cl7211_serial.c (cl7211_serial_start_xmit): Fix race which
|
874 |
|
|
cause xmitter to get stuck.
|
875 |
|
|
|
876 |
|
|
1999-06-16 Jesper Skov
|
877 |
|
|
|
878 |
|
|
* src/sh/sh_serial.c: [removed]
|
879 |
|
|
* src/sh/sh_sci_serial.c: [added]
|
880 |
|
|
* src/sh/sh_sci_7708.inl: [added]
|
881 |
|
|
* include/pkgconf/io_serial.h:
|
882 |
|
|
* src/PKGconf.mak (EXTRAS_COMPILE):
|
883 |
|
|
* tests/ser_test_protocol.inl:
|
884 |
|
|
Renamed CDL options and restructered driver.
|
885 |
|
|
Fixed CDL typo.
|
886 |
|
|
|
887 |
|
|
1999-06-04 Jesper Skov
|
888 |
|
|
|
889 |
|
|
* include/pkgconf/io_serial.h: Fixed CDL string for BAUD rate option.
|
890 |
|
|
|
891 |
|
|
1999-06-04 Gary Thomas
|
892 |
|
|
|
893 |
|
|
* tests/ser_test_protocol.inl: Disable testing at 115200
|
894 |
|
|
for Cogent CMA230 (ARM).
|
895 |
|
|
|
896 |
|
|
* src/arm/cma230_serial.c: Fix interrupt for port B.
|
897 |
|
|
|
898 |
|
|
1999-05-31 Jesper Skov
|
899 |
|
|
|
900 |
|
|
* src/sh/sh_serial.c: Fixed receive interrupts and added handler for
|
901 |
|
|
error interrupts.
|
902 |
|
|
|
903 |
|
|
1999-05-28 Jesper Skov
|
904 |
|
|
|
905 |
|
|
* io/serial/current/src/PKGconf.mak:
|
906 |
|
|
* io/serial/current/tests/ser_test_protocol.inl:
|
907 |
|
|
* include/pkgconf/io_serial.h:
|
908 |
|
|
Renamed SH platform package to edk7708.
|
909 |
|
|
|
910 |
|
|
1999-05-27 Jesper Skov
|
911 |
|
|
|
912 |
|
|
* tests/ser_test_protocol.inl: Added ability to change options in
|
913 |
|
|
host software.
|
914 |
|
|
|
915 |
|
|
1999-05-27 Jonathan Larmour
|
916 |
|
|
|
917 |
|
|
* src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
|
918 |
|
|
Wait for the serial device to become acquiescent before disabling
|
919 |
|
|
it. This prevents cygmon's outgoing characters getting corrupted
|
920 |
|
|
due to transmission being disabled.
|
921 |
|
|
Fix for PR 20047
|
922 |
|
|
|
923 |
|
|
1999-05-26 Gary Thomas
|
924 |
|
|
|
925 |
|
|
* include/pkgconf/io_serial.h:
|
926 |
|
|
* tests/ser_test_protocol.inl: Add Cogent CMA230 setup.
|
927 |
|
|
|
928 |
|
|
* src/arm/cma230_serial.c: Make names compatible with Cogent
|
929 |
|
|
PowerPC board.
|
930 |
|
|
|
931 |
|
|
1999-05-26 Gary Thomas
|
932 |
|
|
|
933 |
|
|
* tests/ser_test_protocol.inl: Add Cirrus Logic CL7211 setup.
|
934 |
|
|
1999-05-26 Jesper Skov
|
935 |
|
|
|
936 |
|
|
* src/sh/sh_serial.c: Added more baud rate values. Disabled
|
937 |
|
|
interrupt driven receive. Fixed config_port to enable proper
|
938 |
|
|
interrupt flags.
|
939 |
|
|
|
940 |
|
|
1999-05-25 Jonathan Larmour
|
941 |
|
|
|
942 |
|
|
* tests/ser_test_protocol.inl:
|
943 |
|
|
Change all mentions of CYGPKG_HAL_TX39_JMR3904 to
|
944 |
|
|
CYGPKG_HAL_MIPS_TX39_JMR3904
|
945 |
|
|
|
946 |
|
|
1999-05-25 Jonathan Larmour
|
947 |
|
|
|
948 |
|
|
* src/PKGconf.mak (EXTRAS_COMPILE): Change CYG_HAL_TX39 to
|
949 |
|
|
CYG_HAL_MIPS_TX39
|
950 |
|
|
1999-05-25 Jesper Skov
|
951 |
|
|
|
952 |
|
|
* tests/ser_test_protocol.inl: Added sh entry.
|
953 |
|
|
|
954 |
|
|
1999-05-24 Jesper Skov
|
955 |
|
|
|
956 |
|
|
* src/PKGconf.mak:
|
957 |
|
|
* include/pkgconf/io_serial.h:
|
958 |
|
|
* src/sh/sh_serial.c:
|
959 |
|
|
Added sh driver.
|
960 |
|
|
|
961 |
|
|
1999-05-18 Jesper Skov
|
962 |
|
|
PR 19926
|
963 |
|
|
* src/sparclite/sleb_sdtr.c (sleb_sdtr_rx_DSR): Only read chan if
|
964 |
|
|
there is one.
|
965 |
|
|
|
966 |
|
|
1999-05-18 Jesper Skov
|
967 |
|
|
PR 19926
|
968 |
|
|
* src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Only read char
|
969 |
|
|
if there is one.
|
970 |
|
|
|
971 |
|
|
1999-05-16 Gary Thomas
|
972 |
|
|
|
973 |
|
|
* src/arm/cl7211_serial.c: Clean up, first working version.
|
974 |
|
|
|
975 |
|
|
1999-05-14 Jesper Skov
|
976 |
|
|
|
977 |
|
|
* tests/ser_test_protocol.inl: Removed workaround for spurious
|
978 |
|
|
Cogent reads.
|
979 |
|
|
|
980 |
|
|
* src/arm/aeb_serial.c:
|
981 |
|
|
* src/arm/aeb_serial.h:
|
982 |
|
|
* src/arm/pid_serial_with_ints.c:
|
983 |
|
|
* src/arm/pid_serial.h:
|
984 |
|
|
* src/powerpc/cogent_serial.h:
|
985 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
986 |
|
|
Check for receive interrupt before reading.
|
987 |
|
|
|
988 |
|
|
1999-05-13 Nick Garnett
|
989 |
|
|
|
990 |
|
|
The follow changes were made in a branch an have now been merged:
|
991 |
|
|
|
992 |
|
|
1999-04-21 Gary Thomas
|
993 |
|
|
|
994 |
|
|
* src/mips/vrc4373_serial.c: Small changes to get working with
|
995 |
|
|
interrupts.
|
996 |
|
|
|
997 |
|
|
1999-04-20 John Dallaway
|
998 |
|
|
|
999 |
|
|
* include/pkgconf/io_serial.h: Fix CYGPKG_IO_SERIAL_TX39_JMR3904
|
1000 |
|
|
parent attribute.
|
1001 |
|
|
|
1002 |
|
|
1999-05-11 Gary Thomas
|
1003 |
|
|
|
1004 |
|
|
* src/arm/cl7211_serial.c: Fix compile problems from merged code.
|
1005 |
|
|
|
1006 |
|
|
1999-05-05 Jesper Skov
|
1007 |
|
|
|
1008 |
|
|
* tests/ser_test_protocol.inl: Tidied up a bit and added
|
1009 |
|
|
description of protocol.
|
1010 |
|
|
|
1011 |
|
|
1999-05-05 Jesper Skov
|
1012 |
|
|
|
1013 |
|
|
* src/common/serial.c (serial_write, serial_read): Clear abort
|
1014 |
|
|
flag at entry.
|
1015 |
|
|
|
1016 |
|
|
1999-05-05 Jesper Skov
|
1017 |
|
|
|
1018 |
|
|
* tests/serial4.c (serial_test): Handle config fails correctly.
|
1019 |
|
|
|
1020 |
|
|
* tests/ser_test_protocol.inl: Better change_config
|
1021 |
|
|
handling. Simple recovery and negotiation isn't timing
|
1022 |
|
|
dependant.
|
1023 |
|
|
|
1024 |
|
|
1999-05-05 Jesper Skov
|
1025 |
|
|
|
1026 |
|
|
* tests/timeout.inl: Updated with the below changes.
|
1027 |
|
|
|
1028 |
|
|
1999-05-05 Gary Thomas
|
1029 |
|
|
|
1030 |
|
|
* misc/timeout.inl (timeout): Timeouts are relative, but alarms
|
1031 |
|
|
need absolute time values.
|
1032 |
|
|
|
1033 |
|
|
1999-05-04 Jesper Skov
|
1034 |
|
|
PR 20018
|
1035 |
|
|
* tests/serial1.c (serial_test): Always PASS, regardless of
|
1036 |
|
|
configuration.
|
1037 |
|
|
|
1038 |
|
|
1999-05-04 Jesper Skov
|
1039 |
|
|
|
1040 |
|
|
* tests/ser_test_protocol.inl: Reverse order of configurations -
|
1041 |
|
|
run tests with slow baud rate first.
|
1042 |
|
|
Only check CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT for SLEB on RAM startup.
|
1043 |
|
|
|
1044 |
|
|
1999-05-04 Jesper Skov
|
1045 |
|
|
* src/mn10300/mn10300_serial.c:
|
1046 |
|
|
Use interrupt enable/disable feature of serial port2 to allow
|
1047 |
|
|
coexistence with CygMon/hal_diag.
|
1048 |
|
|
|
1049 |
|
|
* tests/ser_test_protocol.inl: Use port2 for MN10300.
|
1050 |
|
|
|
1051 |
|
|
1999-04-28 Bart Veer
|
1052 |
|
|
|
1053 |
|
|
* src/PKGconf.mak (EXTRAS_COMPILE):
|
1054 |
|
|
Use the new rules for generating libextras.a
|
1055 |
|
|
|
1056 |
|
|
1999-04-26 Gary Thomas
|
1057 |
|
|
|
1058 |
|
|
* include/pkgconf/io_serial.h: Add support for Cirrus Logic CL7211.
|
1059 |
|
|
|
1060 |
|
|
|
1061 |
|
|
1999-04-20 Gary Thomas
|
1062 |
|
|
|
1063 |
|
|
* src/arm/aeb_serial.c:
|
1064 |
|
|
* src/arm/pid_serial_with_ints.c: Fix default baud rate if unbuffered.
|
1065 |
|
|
1999-04-20 Jesper Skov
|
1066 |
|
|
|
1067 |
|
|
* tests/ser_test_protocol.inl: Added some comments. Disabled 38400
|
1068 |
|
|
for SLEB. Only run test on SLEB if CygMon isn't used for diag
|
1069 |
|
|
output.
|
1070 |
|
|
|
1071 |
|
|
1999-04-15 Jesper Skov
|
1072 |
|
|
PR 19752
|
1073 |
|
|
* tests/serial3.c:
|
1074 |
|
|
* tests/serial5.c:
|
1075 |
|
|
Run these tests at a lower baud rate on ARM AEB.
|
1076 |
|
|
|
1077 |
|
|
1999-04-14 Jesper Skov
|
1078 |
|
|
PR 19839
|
1079 |
|
|
* src/mn10300/mn10300_serial.c:
|
1080 |
|
|
Fix compiler warnings.
|
1081 |
|
|
|
1082 |
|
|
1999-04-14 Bart Veer
|
1083 |
|
|
|
1084 |
|
|
* include/pkgconf/io_serial.h:
|
1085 |
|
|
Reparent the board-specific serial devices below the actual boards.
|
1086 |
|
|
|
1087 |
|
|
1999-04-13 Jesper Skov
|
1088 |
|
|
|
1089 |
|
|
* tests/ser_test_protocol.inl:
|
1090 |
|
|
NA when run from simulator.
|
1091 |
|
|
|
1092 |
|
|
1999-04-12 Jesper Skov
|
1093 |
|
|
|
1094 |
|
|
* tests/ser_test_protocol.inl:
|
1095 |
|
|
Disabled 115200 for MN10300.
|
1096 |
|
|
Reclaim interrupt vectors from CygMon when testing on SLEB.
|
1097 |
|
|
|
1098 |
|
|
1999-04-09 Gary Thomas
|
1099 |
|
|
|
1100 |
|
|
* include/serial.h: Change SERIAL_CHANNEL setup so all channels
|
1101 |
|
|
have serial callbacks, regardless of buffering.
|
1102 |
|
|
|
1103 |
|
|
1999-04-09 Jesper Skov
|
1104 |
|
|
|
1105 |
|
|
* src/common/tty.c:
|
1106 |
|
|
* include/pkgconf/io_serial.h:
|
1107 |
|
|
Added new ttydiag device layered on top of haldiag, so that tty0
|
1108 |
|
|
can be layered on top of ser0.
|
1109 |
|
|
|
1110 |
|
|
1999-04-08 Jesper Skov
|
1111 |
|
|
|
1112 |
|
|
* tests/tty1.c: [added]
|
1113 |
|
|
* tests/tty2.c: [added]
|
1114 |
|
|
* tests/PKGconf.mak:
|
1115 |
|
|
* tests/ser_test_protocol.inl:
|
1116 |
|
|
Added two simple TTY tests.
|
1117 |
|
|
|
1118 |
|
|
1999-04-07 Hugo Tyson
|
1119 |
|
|
|
1120 |
|
|
* src/sparclite/sleb_sdtr.h: Include cyg/hal/hal_io.h for I/O
|
1121 |
|
|
macros instead of hal_diag.h where they had evolved before.
|
1122 |
|
|
|
1123 |
|
|
1999-04-06 Jesper Skov
|
1124 |
|
|
|
1125 |
|
|
* tests/serial4.c (serial_test):
|
1126 |
|
|
* tests/serial3.c (serial_test):
|
1127 |
|
|
Reduce packet sizes.
|
1128 |
|
|
|
1129 |
|
|
1999-03-31 Jesper Skov
|
1130 |
|
|
|
1131 |
|
|
* tests/ser_test_protocol.inl: Added remaining targets to the
|
1132 |
|
|
test.
|
1133 |
|
|
|
1134 |
|
|
1999-03-31 Gary Thomas
|
1135 |
|
|
|
1136 |
|
|
* src/sparclite/sleb_sdtr.c (sleb_sdtr_start_xmit): Fix timing race
|
1137 |
|
|
when enabling xmit interrupts.
|
1138 |
|
|
|
1139 |
|
|
1999-03-26 Gary Thomas
|
1140 |
|
|
|
1141 |
|
|
* src/sparclite/sleb_sdtr.c: Change how the port is set up. The transmitter
|
1142 |
|
|
is now always enabled, just the interrupts are masked/unmasked to control it.
|
1143 |
|
|
This lets the serial driver cooperate with Cygmon on the port used for GDB.
|
1144 |
|
|
Note that currently serial input does not work for CON1 since Cygmon is
|
1145 |
|
|
taking all of the receive interrupts for itself.
|
1146 |
|
|
(sleb_sdtr_tx_DSR): Need to keep track whether xmit interrupt should be
|
1147 |
|
|
enabled - otherwise it can get enabled incorrectly and we get interrupted
|
1148 |
|
|
to death!
|
1149 |
|
|
|
1150 |
|
|
1999-03-26 Jesper Skov
|
1151 |
|
|
|
1152 |
|
|
* tests/ser_test_protocol.inl: Send a DONE message after a no-echo
|
1153 |
|
|
binary packet.
|
1154 |
|
|
|
1155 |
|
|
1999-03-26 Hugo Tyson
|
1156 |
|
|
|
1157 |
|
|
* tests/serial5.c:
|
1158 |
|
|
* tests/serial4.c:
|
1159 |
|
|
* tests/serial3.c:
|
1160 |
|
|
* tests/serial2.c:
|
1161 |
|
|
* tests/serial1.c:
|
1162 |
|
|
Make these build when no kernel present; include of testcase
|
1163 |
|
|
was the wrong side of the ifdef.
|
1164 |
|
|
|
1165 |
|
|
1999-03-26 Jesper Skov
|
1166 |
|
|
|
1167 |
|
|
* tests/serial5.c:
|
1168 |
|
|
* tests/serial4.c:
|
1169 |
|
|
* tests/serial3.c:
|
1170 |
|
|
* tests/serial2.c:
|
1171 |
|
|
* tests/serial1.c:
|
1172 |
|
|
Moved NOP check to ser_test_protocol open call.
|
1173 |
|
|
|
1174 |
|
|
* tests/ser_test_protocol.inl: Make sure the proper device is
|
1175 |
|
|
selected for testing. Do NOP check in open call.
|
1176 |
|
|
|
1177 |
|
|
1999-03-25 Gary Thomas
|
1178 |
|
|
|
1179 |
|
|
* include/pkgconf/io_serial.h:
|
1180 |
|
|
* misc/console.c:
|
1181 |
|
|
* src/arm/aeb_serial.c:
|
1182 |
|
|
* src/arm/pid_serial_with_ints.c:
|
1183 |
|
|
* src/common/tty.c:
|
1184 |
|
|
* src/mips/tx3904_serial.c:
|
1185 |
|
|
* src/mn10300/mn10300_serial.c:
|
1186 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
1187 |
|
|
* src/sparclite/sleb_sdtr.c: Update CDL to follow naming conventions.
|
1188 |
|
|
|
1189 |
|
|
* src/mips/tx3904_serial.c (tx3904_serial_config_port):
|
1190 |
|
|
Make sure port is enabled (CDL) before using it.
|
1191 |
|
|
|
1192 |
|
|
* src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
|
1193 |
|
|
* src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
|
1194 |
|
|
* src/arm/aeb_serial.c (aeb_serial_config_port):
|
1195 |
|
|
* src/arm/pid_serial_with_ints.c (pid_serial_config_port): Change so that
|
1196 |
|
|
the physical port is not modified unless the provided configuration is valid.
|
1197 |
|
|
|
1198 |
|
|
* src/sparclite/sleb_sdtr.c (sleb_sdtr_config_port):
|
1199 |
|
|
Using wrong config data.
|
1200 |
|
|
|
1201 |
|
|
* include/serialio.h: Add macros to support baud rate from CDL.
|
1202 |
|
|
|
1203 |
|
|
* include/pkgconf/io_serial.h:
|
1204 |
|
|
* src/mn10300/mn10300_serial.c:
|
1205 |
|
|
* src/mips/tx3904_serial.c (tx3904_serial_ISR):
|
1206 |
|
|
* src/sparclite/sleb_sdtr.c:
|
1207 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
1208 |
|
|
* src/arm/pid_serial_with_ints.c:
|
1209 |
|
|
* src/arm/aeb_serial.c: Add configury for baud rate and buffer size.
|
1210 |
|
|
|
1211 |
|
|
1999-03-24 Nick Garnett
|
1212 |
|
|
|
1213 |
|
|
* src/mips/tx3904_serial.c:
|
1214 |
|
|
Now uses CYGHWR_HAL_MIPS_CPU_FREQ_ACTUAL to get CPU
|
1215 |
|
|
frequency. This is a little more accurate than using
|
1216 |
|
|
CYGHWR_HAL_MIPS_CPU_FREQ.
|
1217 |
|
|
|
1218 |
|
|
1999-03-24 Gary Thomas
|
1219 |
|
|
|
1220 |
|
|
* include/serialio.h (CYGNUM_SERIAL_BAUD_MIN/MAX): Add for completeness.
|
1221 |
|
|
|
1222 |
|
|
* src/arm/aeb_serial.c (aeb_serial_stop_xmit):
|
1223 |
|
|
* src/arm/pid_serial_with_ints.c (pid_serial_stop_xmit): Fix typo in comment.
|
1224 |
|
|
|
1225 |
|
|
1999-03-24 Jesper Skov
|
1226 |
|
|
|
1227 |
|
|
* tests/ser_test_protocol.inl: Weeded out configs TX39 doesn't
|
1228 |
|
|
like.
|
1229 |
|
|
|
1230 |
|
|
* src/powerpc/cogent_serial.h:
|
1231 |
|
|
Added copyright header.
|
1232 |
|
|
|
1233 |
|
|
* tests/ser_test_protocol.inl:
|
1234 |
|
|
* tests/serial1.c:
|
1235 |
|
|
* tests/serial2.c:
|
1236 |
|
|
* tests/serial3.c:
|
1237 |
|
|
* tests/serial4.c:
|
1238 |
|
|
* tests/serial5.c:
|
1239 |
|
|
Don't try to run tests when no IO device has been specified.
|
1240 |
|
|
|
1241 |
|
|
1999-03-23 Jesper Skov
|
1242 |
|
|
|
1243 |
|
|
* misc/serial1.c, misc/serial2.c, misc/serial3.c, misc/serial4.c,
|
1244 |
|
|
* misc/serial5.c, misc/ser_test_protocol.inl
|
1245 |
|
|
Deleted.
|
1246 |
|
|
|
1247 |
|
|
1999-03-23 Jesper Skov
|
1248 |
|
|
|
1249 |
|
|
* misc/PKGconf.mak:
|
1250 |
|
|
* tests/timeout.inl:
|
1251 |
|
|
* tests/PKGconf.mak:
|
1252 |
|
|
* tests/serial1.c:
|
1253 |
|
|
* tests/serial2.c:
|
1254 |
|
|
* tests/serial3.c:
|
1255 |
|
|
* tests/serial4.c:
|
1256 |
|
|
* tests/serial5.c:
|
1257 |
|
|
* tests/ser_test_protocol.inl:
|
1258 |
|
|
Moved the serial tests from the misc directory to the tests
|
1259 |
|
|
directory.
|
1260 |
|
|
|
1261 |
|
|
1999-03-23 Nick Garnett
|
1262 |
|
|
|
1263 |
|
|
* src/mn10300/mn10300_serial.c: Now initially mask TX interrupts
|
1264 |
|
|
at initialization and unmask/remask in start/stop xmit
|
1265 |
|
|
routines. This has no real effect on the hardware, but the
|
1266 |
|
|
simulator does not implement the LCR_TXE bit properly, resulting
|
1267 |
|
|
in spurious TX interrupts during diagnostic output.
|
1268 |
|
|
This was the cause of the slow output reported in PR 19559.
|
1269 |
|
|
|
1270 |
|
|
1999-03-23 Gary Thomas
|
1271 |
|
|
|
1272 |
|
|
* include/pkgconf/io_serial.h: Fix "display" strings to have appropriate
|
1273 |
|
|
case - mostly lower case.
|
1274 |
|
|
|
1275 |
|
|
1999-03-22 Hugo Tyson
|
1276 |
|
|
|
1277 |
|
|
* misc/console.c:
|
1278 |
|
|
* misc/serial.c:
|
1279 |
|
|
* misc/serial1.c:
|
1280 |
|
|
* misc/serial2.c:
|
1281 |
|
|
* misc/serial3.c:
|
1282 |
|
|
* misc/serial4.c:
|
1283 |
|
|
* misc/serial5.c:
|
1284 |
|
|
Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
|
1285 |
|
|
CYGNUM_HAL_MINIMUM_STACK_SIZE.
|
1286 |
|
|
|
1287 |
|
|
1999-03-22 Gary Thomas
|
1288 |
|
|
|
1289 |
|
|
* src/mn10300/mn10300_serial.c:
|
1290 |
|
|
* src/mips/tx3904_serial.c: Add CDL configury.
|
1291 |
|
|
|
1292 |
|
|
* include/pkgconf/io_serial.h: Update CDL to add device name
|
1293 |
|
|
configurability for all devices.
|
1294 |
|
|
|
1295 |
|
|
* src/sparclite/sleb_sdtr.c:
|
1296 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
1297 |
|
|
* src/arm/aeb_serial.c:
|
1298 |
|
|
* src/arm/pid_serial_with_ints.c: Use CDL configured device names.
|
1299 |
|
|
|
1300 |
|
|
1999-03-22 Jesper Skov
|
1301 |
|
|
|
1302 |
|
|
* misc/serial1.c:
|
1303 |
|
|
* misc/serial2.c:
|
1304 |
|
|
* misc/serial3.c:
|
1305 |
|
|
* misc/serial4.c:
|
1306 |
|
|
* misc/serial5.c:
|
1307 |
|
|
Requires kernel as well.
|
1308 |
|
|
|
1309 |
|
|
1999-03-22 Jesper Skov
|
1310 |
|
|
|
1311 |
|
|
* src/sparclite/sleb_sdtr.c:
|
1312 |
|
|
Moved include statement to avoid warnings.
|
1313 |
|
|
|
1314 |
|
|
1999-03-19 Jesper Skov
|
1315 |
|
|
|
1316 |
|
|
* misc/ser_test_protocol.inl:
|
1317 |
|
|
* misc/serial5.c:
|
1318 |
|
|
* misc/PKGconf.mak:
|
1319 |
|
|
Replace complex and not very stable duplex test with a simpler
|
1320 |
|
|
test that works better.
|
1321 |
|
|
Added serial5 using that test.
|
1322 |
|
|
|
1323 |
|
|
1999-03-19 Jesper Skov
|
1324 |
|
|
|
1325 |
|
|
* misc/PKGconf.mak:
|
1326 |
|
|
* misc/serial1.c:
|
1327 |
|
|
* misc/serial2.c:
|
1328 |
|
|
Added API test and made serial2 do simple string output.
|
1329 |
|
|
|
1330 |
|
|
1999-03-19 Jesper Skov
|
1331 |
|
|
|
1332 |
|
|
* src/powerpc/cogent_serial_with_ints.c: Changed ToDo comment.
|
1333 |
|
|
|
1334 |
|
|
1999-03-19 Jesper Skov
|
1335 |
|
|
|
1336 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
1337 |
|
|
* src/arm/aeb_serial.c:
|
1338 |
|
|
* src/arm/pid_serial_with_ints.c:
|
1339 |
|
|
Moved include statement to avoid warnings.
|
1340 |
|
|
|
1341 |
|
|
1999-03-19 Gary Thomas
|
1342 |
|
|
|
1343 |
|
|
* include/pkgconf/io_serial.h: More CDL problems.
|
1344 |
|
|
|
1345 |
|
|
1999-03-18 Gary Thomas
|
1346 |
|
|
|
1347 |
|
|
* include/pkgconf/io_serial.h: Add CDL for SPARClite SLEB.
|
1348 |
|
|
|
1349 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
1350 |
|
|
* src/arm/pid_serial_with_ints.c:
|
1351 |
|
|
* src/arm/aeb_serial.c: Update device names to match CDL.
|
1352 |
|
|
|
1353 |
|
|
* include/pkgconf/io_serial.h: Change names for serial ports to
|
1354 |
|
|
be CYGPKG_IO_SERIAL___.
|
1355 |
|
|
|
1356 |
|
|
1999-03-18 Jesper Skov
|
1357 |
|
|
|
1358 |
|
|
* misc/ser_test_protocol.inl:
|
1359 |
|
|
* misc/serial2.c:
|
1360 |
|
|
First stab at the duplex binary test. Still much fun to be had...
|
1361 |
|
|
|
1362 |
|
|
1999-03-18 Jesper Skov
|
1363 |
|
|
|
1364 |
|
|
* misc/ser_test_protocol.inl: Added timeout for PING.
|
1365 |
|
|
|
1366 |
|
|
1999-03-18 Gary Thomas
|
1367 |
|
|
|
1368 |
|
|
* src/common/serial.c: Change ABORT functionality to be DSR safe.
|
1369 |
|
|
(serial_get_config): Fix typo!
|
1370 |
|
|
|
1371 |
|
|
* include/pkgconf/io_serial.h: Small change in CDL to make serial
|
1372 |
|
|
devices tied to the platform and not the serial I/O package. This
|
1373 |
|
|
means that only the devices appropriate to a given platform can be
|
1374 |
|
|
enabled.
|
1375 |
|
|
|
1376 |
|
|
* misc/serial.c: Better use of alarms - only trigger at the time of
|
1377 |
|
|
the next timeout. Moved timeout functions to new file "timeout.inl".
|
1378 |
|
|
|
1379 |
|
|
* src/common/serial.c (serial_get_config): Add support for
|
1380 |
|
|
CYG_IO_GET_CONFIG_SERIAL_INPUT_FLUSH and CYG_IO_GET_CONFIG_SERIAL_ABORT.
|
1381 |
|
|
|
1382 |
|
|
* misc/serial.c: Add simple timeout mechanisms.
|
1383 |
|
|
|
1384 |
|
|
1999-03-17 Gary Thomas
|
1385 |
|
|
|
1386 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
1387 |
|
|
* src/arm/aeb_serial.c:
|
1388 |
|
|
* src/arm/pid_serial_with_ints.c: Conditionalize based on CDL.
|
1389 |
|
|
|
1390 |
|
|
* include/pkgconf/io_serial.h: Add some CDL configury - not perfect
|
1391 |
|
|
because of current ~CDL limitations.
|
1392 |
|
|
|
1393 |
|
|
1999-03-17 Jesper Skov
|
1394 |
|
|
|
1395 |
|
|
* misc/serial2.c: Cleaned up a bit. Used for hacking new tests.
|
1396 |
|
|
|
1397 |
|
|
1999-03-17 Jesper Skov
|
1398 |
|
|
|
1399 |
|
|
* misc/PKGconf.mak:
|
1400 |
|
|
* misc/ser_test_protocol.inl:
|
1401 |
|
|
* misc/serial2.c:
|
1402 |
|
|
* misc/serial3.c:
|
1403 |
|
|
* misc/serial4.c:
|
1404 |
|
|
Put testing protocol implementation in a separate file. Split the
|
1405 |
|
|
tests in serial2 into separate files.
|
1406 |
|
|
|
1407 |
|
|
1999-03-16 Nick Garnett
|
1408 |
|
|
|
1409 |
|
|
* src/mn10300/mn10300_serial.c: Fixed some compiler warnings.
|
1410 |
|
|
|
1411 |
|
|
1999-03-15 Gary Thomas
|
1412 |
|
|
|
1413 |
|
|
* include/pkgconf/io_serial.h: Change default configurations.
|
1414 |
|
|
No serial drivers enabled for PID port A or AEB.
|
1415 |
|
|
|
1416 |
|
|
* src/sparclite/sleb_sdtr.c:
|
1417 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
1418 |
|
|
* src/arm/aeb_serial.c:
|
1419 |
|
|
* src/arm/pid_serial_with_ints.c:
|
1420 |
|
|
* src/common/haldiag.c:
|
1421 |
|
|
* src/common/tty.c:
|
1422 |
|
|
* src/common/serial.c: Add 'CYGDBG_IO_INIT' for control of init
|
1423 |
|
|
messages.
|
1424 |
|
|
|
1425 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
1426 |
|
|
* src/sparclite/sleb_sdtr.c:
|
1427 |
|
|
* src/arm/aeb_serial.c:
|
1428 |
|
|
* src/arm/pid_serial_with_ints.c: Don't include
|
1429 |
|
|
|
1430 |
|
|
1999-03-15 Jesper Skov
|
1431 |
|
|
|
1432 |
|
|
* misc/serial2.c (serial_test): Fix use of strlen. Fix DONE part
|
1433 |
|
|
of binary protocol.
|
1434 |
|
|
|
1435 |
|
|
1999-03-12 Jesper Skov
|
1436 |
|
|
|
1437 |
|
|
* misc/serial2.c: Play a bit with timing. Think I broke it :(
|
1438 |
|
|
Added DONE to BINARY packet.
|
1439 |
|
|
Proper call to DRAIN.
|
1440 |
|
|
|
1441 |
|
|
1999-03-12 Nick Garnett
|
1442 |
|
|
|
1443 |
|
|
* src/mips/tx3904_serial.c: Tidied away some debugging code.
|
1444 |
|
|
|
1445 |
|
|
1999-03-12 Jesper Skov
|
1446 |
|
|
|
1447 |
|
|
* misc/serial2.c: Removed bogus config changes.
|
1448 |
|
|
|
1449 |
|
|
1999-03-12 Jesper Skov
|
1450 |
|
|
|
1451 |
|
|
* misc/serial2.c (serial_test): Check for ser_filter on host (PING
|
1452 |
|
|
packet).
|
1453 |
|
|
|
1454 |
|
|
1999-03-11 Jesper Skov
|
1455 |
|
|
|
1456 |
|
|
* src/powerpc/cogent_serial_with_ints.c: Added note.
|
1457 |
|
|
|
1458 |
|
|
* misc/serial2.c:
|
1459 |
|
|
Added (almost) proper configuration handling.
|
1460 |
|
|
Run tests on varying configurations.
|
1461 |
|
|
|
1462 |
|
|
1999-03-11 Nick Garnett
|
1463 |
|
|
|
1464 |
|
|
* src/mips/tx3904_serial.c:
|
1465 |
|
|
Many changes to get working.
|
1466 |
|
|
|
1467 |
|
|
* misc/console.c (console_test): Fixed compiler warning.
|
1468 |
|
|
|
1469 |
|
|
* misc/serial2.c:
|
1470 |
|
|
Added device name for TX39 testing.
|
1471 |
|
|
Fixed some bugs in Tcyg_io_write() macro.
|
1472 |
|
|
|
1473 |
|
|
1999-03-10 Jesper Skov
|
1474 |
|
|
|
1475 |
|
|
* misc/serial2.c: Added target specific test device name.
|
1476 |
|
|
|
1477 |
|
|
1999-03-10 John Dallaway
|
1478 |
|
|
|
1479 |
|
|
* include/pkgconf/io_serial.h: Correct CDL description spelling.
|
1480 |
|
|
|
1481 |
|
|
1999-03-10 Jesper Skov
|
1482 |
|
|
|
1483 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
1484 |
|
|
* misc/console.c:
|
1485 |
|
|
Fixed compiler warnings.
|
1486 |
|
|
|
1487 |
|
|
1999-03-10 Gary Thomas
|
1488 |
|
|
|
1489 |
|
|
* include/pkgconf/io_serial.h: Improve CDL descriptions.
|
1490 |
|
|
|
1491 |
|
|
1999-03-10 Jesper Skov
|
1492 |
|
|
|
1493 |
|
|
* misc/serial2.c (serial_test): Do some more tests with changed
|
1494 |
|
|
baud rates.
|
1495 |
|
|
|
1496 |
|
|
1999-03-09 Jesper Skov
|
1497 |
|
|
|
1498 |
|
|
* misc/serial2.c (serial_test): Added workaround for spurious byte
|
1499 |
|
|
problem. Added a few more tests to run.
|
1500 |
|
|
|
1501 |
|
|
* src/powerpc/cogent_serial_with_ints.c
|
1502 |
|
|
(cogent_serial_config_port): Remove interrupt enabling.
|
1503 |
|
|
|
1504 |
|
|
1999-03-09 Nick Garnett
|
1505 |
|
|
|
1506 |
|
|
* src/PKGconf.mak:
|
1507 |
|
|
* src/mips/tx3904_serial.c:
|
1508 |
|
|
Added initial version of TX39 device driver. Currently untested
|
1509 |
|
|
but eliminates PR19445.
|
1510 |
|
|
|
1511 |
|
|
1999-03-09 Jesper Skov
|
1512 |
|
|
|
1513 |
|
|
* misc/serial2.c: DRAIN function works now.
|
1514 |
|
|
|
1515 |
|
|
1999-03-09 Jesper Skov
|
1516 |
|
|
|
1517 |
|
|
* include/pkgconf/io_serial.h: Only enable one serial driver per
|
1518 |
|
|
default.
|
1519 |
|
|
|
1520 |
|
|
1999-03-08 Jesper Skov
|
1521 |
|
|
|
1522 |
|
|
* misc/serial2.c (serial_test): Be a bit more aggressive.
|
1523 |
|
|
|
1524 |
|
|
* src/powerpc/cogent_serial_with_ints.c: Check that configuration
|
1525 |
|
|
is sensible.
|
1526 |
|
|
|
1527 |
|
|
1999-03-08 Jesper Skov
|
1528 |
|
|
|
1529 |
|
|
* src/powerpc/cogent_serial_with_ints.c:
|
1530 |
|
|
Added support for both ports.
|
1531 |
|
|
|
1532 |
|
|
* include/pkgconf/io_serial.h: Added simple defines for cogent
|
1533 |
|
|
serial ports. No CDL yet.
|
1534 |
|
|
|
1535 |
|
|
1999-03-08 Jesper Skov
|
1536 |
|
|
|
1537 |
|
|
* misc/serial.c: Removed PID references. Fixed compiler warnings.
|
1538 |
|
|
|
1539 |
|
|
1999-03-08 Jesper Skov
|
1540 |
|
|
|
1541 |
|
|
* src/powerpc/cogent_serial_with_ints.c: Cleaned up a
|
1542 |
|
|
bit. Actually works now.
|
1543 |
|
|
|
1544 |
|
|
1999-03-08 Gary Thomas
|
1545 |
|
|
|
1546 |
|
|
* src/common/serial.c: Change in cyg_drv_cond_wait() behaviour
|
1547 |
|
|
means DSR lock should be left alone.
|
1548 |
|
|
|
1549 |
|
|
1999-03-08 Jesper Skov
|
1550 |
|
|
PR 19400
|
1551 |
|
|
* src/powerpc/cogent_serial_with_ints.c (cogent_serial_init): Set
|
1552 |
|
|
valid interrupt priority.
|
1553 |
|
|
|
1554 |
|
|
1999-03-05 Nick Garnett
|
1555 |
|
|
|
1556 |
|
|
* src/mn10300/mn10300_serial.c (mn10300_serial_init):
|
1557 |
|
|
Added extra test to avoid initializing serial 2 when CYGMON is
|
1558 |
|
|
present.
|
1559 |
|
|
Include hal_intr.h explicitly for use in non-kernel
|
1560 |
|
|
configurations.
|
1561 |
|
|
|
1562 |
|
|
* src/common/serial.c:
|
1563 |
|
|
Added extra test before calls to cyg_drv_cond_wait() to avoid race
|
1564 |
|
|
condition. This is not, however, a complete solution to this
|
1565 |
|
|
problem. A better solution will be forthcoming.
|
1566 |
|
|
|
1567 |
|
|
* include/serial.h:
|
1568 |
|
|
Changed include files used to permit non-kernel configurations to
|
1569 |
|
|
be built.
|
1570 |
|
|
|
1571 |
|
|
1999-03-05 Jesper Skov
|
1572 |
|
|
|
1573 |
|
|
* src/common/haldiag.c: Removed diag_printf declaration.
|
1574 |
|
|
|
1575 |
|
|
1999-03-05 Jonathan Larmour
|
1576 |
|
|
|
1577 |
|
|
* src/mn10300/mn10300_serial.c:
|
1578 |
|
|
Change CYG_VECTOR_* to CYGNUM_HAL_INTERRUPT_* to get it to compile!
|
1579 |
|
|
|
1580 |
|
|
1999-03-05 Gary Thomas
|
1581 |
|
|
|
1582 |
|
|
* src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
|
1583 |
|
|
Fix renaming of interrupt vectors.
|
1584 |
|
|
|
1585 |
|
|
1999-03-05 Gary Thomas
|
1586 |
|
|
|
1587 |
|
|
* src/arm/pid_serial_with_ints.c: Fix interrupt vectors.
|
1588 |
|
|
|
1589 |
|
|
1999-03-03 Gary Thomas
|
1590 |
|
|
|
1591 |
|
|
* serial/current/src/arm/pid_serial_with_ints.c:
|
1592 |
|
|
New [somewhat] configurable drivers for PID.
|
1593 |
|
|
|
1594 |
|
|
//===========================================================================
|
1595 |
|
|
// ####GPLCOPYRIGHTBEGIN####
|
1596 |
|
|
// -------------------------------------------
|
1597 |
|
|
// This file is part of eCos, the Embedded Configurable Operating System.
|
1598 |
|
|
// Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
|
1599 |
|
|
//
|
1600 |
|
|
// This program is free software; you can redistribute it and/or modify
|
1601 |
|
|
// it under the terms of the GNU General Public License as published by
|
1602 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
1603 |
|
|
// later version.
|
1604 |
|
|
//
|
1605 |
|
|
// This program is distributed in the hope that it will be useful, but
|
1606 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
1607 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
1608 |
|
|
// General Public License for more details.
|
1609 |
|
|
//
|
1610 |
|
|
// You should have received a copy of the GNU General Public License
|
1611 |
|
|
// along with this program; if not, write to the
|
1612 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
1613 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
1614 |
|
|
// -------------------------------------------
|
1615 |
|
|
// ####GPLCOPYRIGHTEND####
|
1616 |
|
|
//===========================================================================
|