comparison packages/devs/serial/i386/pc/current/ChangeLog @ 82:6736c52df507 ecos-sw-2000-04-14

Merge from eCos master repository on 2000-04-14-13:35:46-BST
author jlarmour
date Tue, 18 Apr 2000 21:51:55 +0000
parents
children 95f3e12a6327
comparison
equal deleted inserted replaced
81:89fef2181d7d 82:6736c52df507
1 2000-04-11 Hugo Tyson <hmt@cygnus.co.uk>
2
3 * cdl/ser_i386_pc.cdl: Change the parent from CYGPKG_IO_SERIAL
4 (which is enabled most of the time) to CYGPKG_IO_SERIAL_DEVICES
5 (which is not...) thus allowing convenient control independent of
6 platform. Also enable all individual devices by default, now, so
7 that they can be enabled simply by enabling the above new parent.
8
9 2000-04-07 Hugo Tyson <hmt@cygnus.co.uk>
10
11 * ecos.db: Re-organize device packages. This is a massive change
12 involving deleting all the sources for serial and ethernet drivers
13 from where they used to live in
14 packages/io/serial/current/src/ARCH/PLATFORM.[ch]
15 packages/net/drivers/eth/PLATFORM/current/src/...
16 and reinstating them in
17 packages/devs/serial/ARCH/PLATFORM/current/src/...
18 packages/devs/eth/ARCH/PLATFORM/current/src/...
19
20 All these new packages are properly defined in ecos.db, and are
21 all of type "hardware" so that a "target" can grab them.
22
23 This directory layout is descriptive of the devices we have right
24 now, arch and platform are separate levels just to make it easier
25 to navigate in the filesystem and similar to the HAL structure in
26 the filesystem.
27
28 It is *not* prescriptive of future work; for example, the mythical
29 common highly-portable 16550 serial driver which works on many
30 targets would be called "devs/serial/s16550/current", or a serial
31 device for a particular board (cogent springs to mind) that can
32 work with different CPUs fitted is "devs/serial/cogent/current".
33
34 Changelogs have been preserved and replicated over all the new
35 packages, so that no history is lost.
36
37 The contents of individual source files are unchanged; they build
38 in just the same emvironment except for a very few cases where the
39 config file name changed in this movement.
40
41 Targets in ecos.db have been redefined to bring in all relevant
42 hardware packages including net and serial drivers (but the newly
43 included packages are only active if their desired parent is
44 available.)
45
46 The names of CDL options (and their #defines of course) stay the
47 same for the serial drivers, for backward compatibility.
48
49 * templates/*/current.ect: these have had CYGPKG_IO_SERIAL added
50 rather than it being in (almost) all target definitions.
51
52 2000-04-05 Jonathan Larmour <jlarmour@redhat.co.uk>
53
54 * src/common/tty.c (tty_read): CRLF conversion should use \r\n not \n\r
55 (tty_write): Similarly
56
57 * include/ttyio.h: Update CYG_TTY_IN_FLAGS_CRLF and
58 CYG_TTY_IN_FLAGS_CRLF to match
59
60 2000-03-31 Jesper Skov <jskov@redhat.com>
61
62 * cdl/ser_sh_edk7708.cdl: Limit legal baud rate range.
63 * src/sh/sh_sci_serial.c: Use baud rate macro instead of hardwired
64 constants.
65
66 2000-03-28 John Dallaway <jld@cygnus.co.uk>
67
68 * cdl/io_serial.cdl,
69 cdl/ser_arm_aeb.cdl,
70 cdl/ser_arm_cma230.cdl,
71 cdl/ser_arm_edb7xxx.cdl,
72 cdl/ser_arm_pid.cdl,
73 cdl/ser_i386_pc.cdl,
74 cdl/ser_mips_jmr3904.cdl,
75 cdl/ser_mips_vrc4373.cdl,
76 cdl/ser_mn10300.cdl,
77 cdl/ser_powerpc_cogent.cdl,
78 cdl/ser_quicc_smc.cdl,
79 cdl/ser_sh_edk7708.cdl,
80 cdl/ser_sparclite_sleb.cdl,
81 cdl/tty.cdl:
82
83 Adjust documentation URLs.
84
85 2000-03-07 Jesper Skov <jskov@redhat.com>
86
87 * cdl/ser_mips_jmr3904.cdl: Rename devices to match CDL naming.
88
89 2000-02-29 Jonathan Larmour <jlarmour@redhat.co.uk>
90
91 * include/serialio.h: Correct baud rate typo: 230400 rather than
92 234000. Thanks to Grant Edwards for the report.
93
94 2000-02-28 Gary Thomas <gthomas@cygnus.co.uk>
95
96 * src/powerpc/quicc_smc_serial.c: Use standard 'diag_dump_buf()'.
97
98 2000-02-28 Jesper Skov <jskov@redhat.com>
99
100 * tests/ser_test_protocol.inl: Allow 115200 baud on Cogent
101 again. Fixed interrupt problem.
102
103 2000-02-22 Jesper Skov <jskov@redhat.com>
104
105 * tests/ser_test_protocol.inl: Don't use 115200 baud on
106 Cogent. Our slower boards can't keep up.
107
108 2000-02-17 Gary Thomas <gthomas@cygnus.co.uk>
109
110 * cdl/ser_powerpc_cogent.cdl: Fix incorrect dependency.
111
112 2000-02-16 Nick Garnett <nickg@cygnus.co.uk>
113
114 * include/pkgconf/io_serial.h:
115 Added configury for PC serial device drivers.
116
117 * cdl/ser_i386_pc.cdl:
118 * src/i386/pc_serial.c:
119 * src/i386/pc_serial.h:
120 Added these files to implement PC serial line drivers.
121
122 * cdl/io_serial.cdl:
123 Added CYGPKG_IO_SERIAL_I386_PC.
124
125 * tests/ser_test_protocol.inl:
126 Added support for PC serial line testing.
127
128 2000-02-11 Jesper Skov <jskov@redhat.com>
129
130 * src/sh/sh_sci_7708.inl (DEVTAB_ENTRY):
131 * src/sparclite/sleb_sdtr.c:
132 serial_devio => cyg_io_serial_devio
133
134 2000-02-10 Jonathan Larmour <jlarmour@redhat.co.uk>
135
136 * src/mn10300/mn10300_serial.c: Ensure all CYG_HAL_MN10300_*
137 preprocessor conditionals use the correct CYGPKG_HAL_MN10300_AM3* form
138 now.
139
140 2000-02-03 Jesper Skov <jskov@redhat.com>
141
142 * src/powerpc/quicc_smc_serial.c: CYG_HAL_POWERPC_x->CYGPKG_...
143
144 2000-02-02 Jonathan Larmour <jlarmour@redhat.co.uk>
145
146 * src/arm/aeb_serial.h: Rename lower case register macros to REG_ upper
147 case macros
148
149 * src/arm/aeb_serial.c: Update to reflect above
150
151 2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk>
152 * cdl/*.cdl:
153
154 Adjust help URLs in line with new doc layout.
155
156 2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk>
157 * cdl/*.cdl:
158
159 Adjust help URLs in line with new doc layout.
160
161 2000-01-28 Gary Thomas <gthomas@cygnus.co.uk>
162
163 * src/common/tty.c (tty_read): Fix problem with backspace at start
164 of line (size must be 'signed' for compare to work).
165
166 2000-01-19 Hugo Tyson <hmt@cygnus.co.uk>
167
168 * cdl/*.cdl: Add descriptions to a number of options &c which were
169 lacking same, also tidied up other typos as noticed en passant.
170
171 2000-01-17 Gary Thomas <gthomas@cygnus.co.uk>
172
173 * src/common/tty.c (tty_read): Avoid echoing "backspace/erase" at
174 start of line.
175
176 2000-01-05 Gary Thomas <gthomas@cygnus.co.uk>
177
178 * src/common/serial.c (serial_write): Avoid potential deadlock if
179 transmit start actually sends enough characters to signal cond wait.
180
181 2000-01-03 Gary Thomas <gthomas@cygnus.co.uk>
182
183 * include/serial.h: Fix namespace pollution -
184 serial_devio => cyg_io_serial_devio
185 serial_callbacks => cyg_io_serial_callbacks
186
187 * src/mips/tx3904_serial.c:
188 * src/mips/vrc4373_serial.c:
189 * src/mn10300/mn10300_serial.c:
190 * src/powerpc/quicc_smc_serial.c:
191 * src/powerpc/cogent_serial_with_ints.c:
192 * src/sparclite/sleb_sdtr.c:
193 * src/arm/aeb_serial.c:
194 * src/arm/pid_serial_with_ints.c:
195 * src/arm/edb7xxx_serial.c:
196 * src/arm/cma230_serial.c:
197 * src/arm/ebsa285_serial.c:
198 * src/common/haldiag.c:
199 * src/common/serial.c: Fix namespace pollution -
200 serial_devio => cyg_io_serial_devio
201
202 1999-12-06 Gary Thomas <gthomas@cygnus.co.uk>
203
204 * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Add loop to handle
205 case where an interrupt represents multiple events.
206
207 1999-11-19 Gary Thomas <gthomas@cygnus.co.uk>
208
209 * src/powerpc/quicc_smc_serial.c: Channel select for SMC2 was wrong.
210
211 1999-11-18 Gary Thomas <gthomas@cygnus.co.uk>
212
213 * include/pkgconf/io_serial.h: Remove mention of 7209/7212.
214
215 1999-11-03 John Dallaway <jld@cygnus.co.uk>
216
217 * cdl/io_serial.cdl: Define build options.
218
219 1999-10-26 Jesper Skov <jskov@cygnus.co.uk>
220 * tests/serial5.c (serial_test): Reduce speed in thumb mode.
221
222 * src/arm/pid_serial.h: Added BE support.
223
224 * src/PKGconf.mak: Use CYGPKG_<> instead of CYG_<> to control what
225 needs to be compiled.
226
227 1999-10-25 Gary Thomas <gthomas@cygnus.co.uk>
228
229 * src/arm/pid_serial.h (ISR_RxTO): Define - character received but
230 not handled "promptly".
231
232 * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Handle rcv interrupts
233 properly (can't ignore them even with TO bit set).
234
235 * src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Need to handle all
236 input (empty input FIFO) otherwise characters get dropped.
237
238 1999-10-15 Jesper Skov <jskov@cygnus.co.uk>
239
240 * tests/ser_test_protocol.inl: Removed AEB rev C change. Was bogus.
241
242 1999-10-11 Nick Garnett <nickg@cygnus.co.uk>
243
244 * tests/ser_test_protocol.inl: Added configury for VR4300 testing.
245
246 * src/mips/vrc4373_serial.c: Added Bi-endian support.
247
248 * include/pkgconf/io_serial.h: Adjusted default baud rates to
249 38400.
250
251 1999-10-06 Jesper Skov <jskov@cygnus.co.uk>
252
253 * tests/ser_test_protocol.inl: Run tests on AEB rev C as well.
254
255 1999-09-28 Hugo Tyson <hmt@cygnus.co.uk>
256
257 * src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): Correct
258 value supplied for interrupt priority - it may be unused, but it
259 is asserted for range. Initialize the diagnostic channel if on an
260 MBX and if NOT using SMC1 ourselves, to ensure that diag output
261 and built-in stubs work correctly; otherwise reset the quicc and
262 ignore SMC1 as before. Fix various warnings, mostly about
263 casting/arg-passing/assigning away volatile.
264
265 1999-08-31 Jesper Skov <jskov@cygnus.co.uk>
266
267 * tests/ser_test_protocol.inl: Define dummy crash ID.
268
269 1999-08-30 Jesper Skov <jskov@cygnus.co.uk>
270
271 * tests/ser_test_protocol.inl: Added crash information which
272 should help track down repeating errors.
273
274 1999-08-20 Jesper Skov <jskov@cygnus.co.uk>
275
276 * tests/README: Added.
277
278 1999-08-18 Jesper Skov <jskov@cygnus.co.uk>
279
280 * tests/tty1.c:
281 * tests/tty2.c:
282 * tests/serial1.c:
283 * tests/serial2.c:
284 * tests/serial3.c:
285 * tests/serial4.c:
286 * tests/serial5.c:
287 * tests/PKGconf.mak:
288 Require kernel and kernel C API.
289
290 1999-08-17 Nick Garnett <nickg@cygnus.co.uk>
291
292 * src/mn10300/mn10300_serial.c: Added a simple implementation of a
293 receive FIFO to try and reduce the overhead of receiving bytes.
294
295 1999-08-16 Jonathan Larmour <jlarmour@cygnus.co.uk>
296
297 * src/PKGconf.mak:
298 * src/mn10300/mn10300_serial.c:
299 * tests/ser_test_protocol.inl:
300 Rename all am32 -> am31
301
302 1999-08-12 Nick Garnett <nickg@cygnus.co.uk>
303
304 Imported following changes from development branch:
305
306 1999-08-11 Nick Garnett <nickg@cygnus.co.uk>
307
308 * tests/serial5.c: Modified config test for boards that need a lower
309 speed for this test.
310
311 * tests/ser_test_protocol.inl: Removed 14400 baud tests for all
312 MN10300 variants. The MN10300 cannot currently do this speed.
313
314 * src/mn10300/mn10300_serial.c: Tidied up the transmit interrupt
315 enable/disable code to be variant specific.
316
317 * include/pkgconf/io_serial.h: Undid Jonathan's change, since the
318 same options are used for all MN10300 variants.
319
320 1999-08-10 Jonathan Larmour <jlarmour@cygnus.co.uk>
321
322 * include/pkgconf/io_serial.h:
323 Reparent CYGPKG_IO_SERIAL_MN10300 from under CYGPKG_HAL_MN10300 to
324 CYGPKG_HAL_MN10300_AM32_STDEVAL1 since it's stdeval1 specific
325
326 1999-08-04 Nick Garnett <nickg@cygnus.co.uk>
327
328 * tests/ser_test_protocol.inl:
329 Changed names of MN10300 defines tested. Added AM33 definitions.
330
331 * src/mn10300/mn10300_serial.c:
332 Modified driver to work on am33 too. This simply requires some
333 alternate definitions of things like register addresses and some
334 bits in them plus some extra parameterization of some register
335 values.
336
337 * src/PKGconf.mak:
338 Added am33 to list of architectures supporting serial lines.
339
340 1999-07-28 Gary Thomas <gthomas@cygnus.co.uk>
341
342 * include/pkgconf/io_serial.h: Update descriptions to be more
343 generic (CL7x11 instead of CL7211).
344
345 1999-07-28 Jonathan Larmour <jlarmour@cygnus.co.uk>
346
347 * include/pkgconf/io_serial.h: Correct typos in CDL description
348 for serial port 2 driver
349
350 1999-07-26 Hugo Tyson <hmt@cygnus.co.uk>
351
352 * src/arm/ebsa285_serial.c: New file: device driver for the serial
353 device of the Intel StrongARM EBSA-285 evaluation board.
354
355 * include/pkgconf/io_serial.h (CYGPKG_IO_SERIAL_ARM_EBSA285):
356 Config for it.
357
358 * src/PKGconf.mak (EXTRAS_COMPILE): Compile it.
359
360 * tests/ser_test_protocol.inl (TEST_SER_DEV): Enable testing of it.
361
362 1999-07-08 Jesper Skov <jskov@cygnus.co.uk>
363
364 * tests/ser_test_protocol.inl (change_config): Changed implementation.
365
366 1999-06-27 Gary Thomas <gthomas@cygnus.co.uk>
367
368 * src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): More robust
369 initialization, with data cache disabled. This seems to fix the
370 random failures described below.
371
372 * tests/ser_test_protocol.inl: Add configuration for QUICC/MBX860.
373 Added some delays in the configuration change code to make QUICC
374 happy [didn't help much although the manual says they are required].
375
376 * src/powerpc/quicc_smc_serial.h (UART_BITRATE): Rewrote macro to
377 match what the Linux driver uses - still doesn't work well, though.
378
379 * src/powerpc/quicc_smc_serial.c: Lots of changes trying to get the
380 serial driver working and robust. At this point it works quite well,
381 using the default buffer sizes. Changing from the defaults seem to
382 easily break it though, certainly on input. Also, changing the baud
383 rate seems to not work reliably.
384
385 * src/common/serial.c: Add some tracing/debug info to try and debug
386 problems with QUICC serial driver. These are hard disabled with
387 "XX_" prepended to "CYGDBG_DIAG_BUF". Enabling them gives information
388 about how/when data are delivered from the serial driver.
389
390 * include/pkgconf/io_serial.h: Adjust limits and defaults on number and
391 size of buffers with values that seem to work.
392
393 1999-06-21 Jesper Skov <jskov@cygnus.co.uk>
394
395 * src/sh/sh_sci_serial.c: Rearranged inclusion of .inl file a bit
396 to avoid compiler warnings.
397
398 1999-06-21 Gary Thomas <gthomas@cygnus.co.uk>
399
400 * include/pkgconf/io_serial.h: Fix CDL for number of buffers.
401
402 * src/powerpc/quicc_smc_serial.c: Force number of buffers = 1.
403
404 1999-06-20 Gary Thomas <gthomas@cygnus.co.uk>
405
406 * include/pkgconf/io_serial.h: Some clean up (removed commented
407 obsolete CDL parenting structure).
408 Add support for Motorola PowerPC QUICC/SMC.
409
410 * src/arm/cma230_serial.c:
411 * src/arm/cl7211_serial.c:
412 * src/arm/aeb_serial.c:
413 * src/arm/pid_serial_with_ints.c: Use #include to get 'diag_printf()'
414 prototypes.
415
416 1999-06-17 Gary Thomas <gthomas@cygnus.co.uk>
417
418 * src/arm/cl7211_serial.c (cl7211_serial_start_xmit): Fix race which
419 cause xmitter to get stuck.
420
421 1999-06-16 Jesper Skov <jskov@cygnus.co.uk>
422
423 * src/sh/sh_serial.c: [removed]
424 * src/sh/sh_sci_serial.c: [added]
425 * src/sh/sh_sci_7708.inl: [added]
426 * include/pkgconf/io_serial.h:
427 * src/PKGconf.mak (EXTRAS_COMPILE):
428 * tests/ser_test_protocol.inl:
429 Renamed CDL options and restructered driver.
430 Fixed CDL typo.
431
432 1999-06-04 Jesper Skov <jskov@cygnus.co.uk>
433
434 * include/pkgconf/io_serial.h: Fixed CDL string for BAUD rate option.
435
436 1999-06-04 Gary Thomas <gthomas@cygnus.co.uk>
437
438 * tests/ser_test_protocol.inl: Disable testing at 115200
439 for Cogent CMA230 (ARM).
440
441 * src/arm/cma230_serial.c: Fix interrupt for port B.
442
443 1999-05-31 Jesper Skov <jskov@cygnus.co.uk>
444
445 * src/sh/sh_serial.c: Fixed receive interrupts and added handler for
446 error interrupts.
447
448 1999-05-28 Jesper Skov <jskov@cygnus.co.uk>
449
450 * io/serial/current/src/PKGconf.mak:
451 * io/serial/current/tests/ser_test_protocol.inl:
452 * include/pkgconf/io_serial.h:
453 Renamed SH platform package to edk7708.
454
455 1999-05-27 Jesper Skov <jskov@cygnus.co.uk>
456
457 * tests/ser_test_protocol.inl: Added ability to change options in
458 host software.
459
460 1999-05-27 Jonathan Larmour <jlarmour@cygnus.co.uk>
461
462 * src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
463 Wait for the serial device to become acquiescent before disabling
464 it. This prevents cygmon's outgoing characters getting corrupted
465 due to transmission being disabled.
466 Fix for PR 20047
467
468 1999-05-26 Gary Thomas <gthomas@cygnus.co.uk>
469
470 * include/pkgconf/io_serial.h:
471 * tests/ser_test_protocol.inl: Add Cogent CMA230 setup.
472
473 * src/arm/cma230_serial.c: Make names compatible with Cogent
474 PowerPC board.
475
476 1999-05-26 Gary Thomas <gthomas@cygnus.co.uk>
477
478 * tests/ser_test_protocol.inl: Add Cirrus Logic CL7211 setup.
479 1999-05-26 Jesper Skov <jskov@cygnus.co.uk>
480
481 * src/sh/sh_serial.c: Added more baud rate values. Disabled
482 interrupt driven receive. Fixed config_port to enable proper
483 interrupt flags.
484
485 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
486
487 * tests/ser_test_protocol.inl:
488 Change all mentions of CYGPKG_HAL_TX39_JMR3904 to
489 CYGPKG_HAL_MIPS_TX39_JMR3904
490
491 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
492
493 * src/PKGconf.mak (EXTRAS_COMPILE): Change CYG_HAL_TX39 to
494 CYG_HAL_MIPS_TX39
495 1999-05-25 Jesper Skov <jskov@cygnus.co.uk>
496
497 * tests/ser_test_protocol.inl: Added sh entry.
498
499 1999-05-24 Jesper Skov <jskov@cygnus.co.uk>
500
501 * src/PKGconf.mak:
502 * include/pkgconf/io_serial.h:
503 * src/sh/sh_serial.c:
504 Added sh driver.
505
506 1999-05-18 Jesper Skov <jskov@cygnus.co.uk>
507 PR 19926
508 * src/sparclite/sleb_sdtr.c (sleb_sdtr_rx_DSR): Only read chan if
509 there is one.
510
511 1999-05-18 Jesper Skov <jskov@cygnus.co.uk>
512 PR 19926
513 * src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Only read char
514 if there is one.
515
516 1999-05-16 Gary Thomas <gthomas@cygnus.co.uk>
517
518 * src/arm/cl7211_serial.c: Clean up, first working version.
519
520 1999-05-14 Jesper Skov <jskov@cygnus.co.uk>
521
522 * tests/ser_test_protocol.inl: Removed workaround for spurious
523 Cogent reads.
524
525 * src/arm/aeb_serial.c:
526 * src/arm/aeb_serial.h:
527 * src/arm/pid_serial_with_ints.c:
528 * src/arm/pid_serial.h:
529 * src/powerpc/cogent_serial.h:
530 * src/powerpc/cogent_serial_with_ints.c:
531 Check for receive interrupt before reading.
532
533 1999-05-13 Nick Garnett <nickg@cygnus.co.uk>
534
535 The follow changes were made in a branch an have now been merged:
536
537 1999-04-21 Gary Thomas <gthomas@cygnus.co.uk>
538
539 * src/mips/vrc4373_serial.c: Small changes to get working with
540 interrupts.
541
542 1999-04-20 John Dallaway <jld@cygnus.co.uk>
543
544 * include/pkgconf/io_serial.h: Fix CYGPKG_IO_SERIAL_TX39_JMR3904
545 parent attribute.
546
547 1999-05-11 Gary Thomas <gthomas@cygnus.co.uk>
548
549 * src/arm/cl7211_serial.c: Fix compile problems from merged code.
550
551 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
552
553 * tests/ser_test_protocol.inl: Tidied up a bit and added
554 description of protocol.
555
556 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
557
558 * src/common/serial.c (serial_write, serial_read): Clear abort
559 flag at entry.
560
561 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
562
563 * tests/serial4.c (serial_test): Handle config fails correctly.
564
565 * tests/ser_test_protocol.inl: Better change_config
566 handling. Simple recovery and negotiation isn't timing
567 dependant.
568
569 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
570
571 * tests/timeout.inl: Updated with the below changes.
572
573 1999-05-05 Gary Thomas <gthomas@cygnus.co.uk>
574
575 * misc/timeout.inl (timeout): Timeouts are relative, but alarms
576 need absolute time values.
577
578 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
579 PR 20018
580 * tests/serial1.c (serial_test): Always PASS, regardless of
581 configuration.
582
583 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
584
585 * tests/ser_test_protocol.inl: Reverse order of configurations -
586 run tests with slow baud rate first.
587 Only check CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT for SLEB on RAM startup.
588
589 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
590 * src/mn10300/mn10300_serial.c:
591 Use interrupt enable/disable feature of serial port2 to allow
592 coexistence with CygMon/hal_diag.
593
594 * tests/ser_test_protocol.inl: Use port2 for MN10300.
595
596 1999-04-28 Bart Veer <bartv@cygnus.co.uk>
597
598 * src/PKGconf.mak (EXTRAS_COMPILE):
599 Use the new rules for generating libextras.a
600
601 1999-04-26 Gary Thomas <gthomas@cygnus.co.uk>
602
603 * include/pkgconf/io_serial.h: Add support for Cirrus Logic CL7211.
604
605
606 1999-04-20 Gary Thomas <gthomas@cygnus.co.uk>
607
608 * src/arm/aeb_serial.c:
609 * src/arm/pid_serial_with_ints.c: Fix default baud rate if unbuffered.
610 1999-04-20 Jesper Skov <jskov@cygnus.co.uk>
611
612 * tests/ser_test_protocol.inl: Added some comments. Disabled 38400
613 for SLEB. Only run test on SLEB if CygMon isn't used for diag
614 output.
615
616 1999-04-15 Jesper Skov <jskov@cygnus.co.uk>
617 PR 19752
618 * tests/serial3.c:
619 * tests/serial5.c:
620 Run these tests at a lower baud rate on ARM AEB.
621
622 1999-04-14 Jesper Skov <jskov@cygnus.co.uk>
623 PR 19839
624 * src/mn10300/mn10300_serial.c:
625 Fix compiler warnings.
626
627 1999-04-14 Bart Veer <bartv@cygnus.co.uk>
628
629 * include/pkgconf/io_serial.h:
630 Reparent the board-specific serial devices below the actual boards.
631
632 1999-04-13 Jesper Skov <jskov@cygnus.co.uk>
633
634 * tests/ser_test_protocol.inl:
635 NA when run from simulator.
636
637 1999-04-12 Jesper Skov <jskov@cygnus.co.uk>
638
639 * tests/ser_test_protocol.inl:
640 Disabled 115200 for MN10300.
641 Reclaim interrupt vectors from CygMon when testing on SLEB.
642
643 1999-04-09 Gary Thomas <gthomas@cygnus.co.uk>
644
645 * include/serial.h: Change SERIAL_CHANNEL setup so all channels
646 have serial callbacks, regardless of buffering.
647
648 1999-04-09 Jesper Skov <jskov@cygnus.co.uk>
649
650 * src/common/tty.c:
651 * include/pkgconf/io_serial.h:
652 Added new ttydiag device layered on top of haldiag, so that tty0
653 can be layered on top of ser0.
654
655 1999-04-08 Jesper Skov <jskov@cygnus.co.uk>
656
657 * tests/tty1.c: [added]
658 * tests/tty2.c: [added]
659 * tests/PKGconf.mak:
660 * tests/ser_test_protocol.inl:
661 Added two simple TTY tests.
662
663 1999-04-07 Hugo Tyson <hmt@cygnus.co.uk>
664
665 * src/sparclite/sleb_sdtr.h: Include cyg/hal/hal_io.h for I/O
666 macros instead of hal_diag.h where they had evolved before.
667
668 1999-04-06 Jesper Skov <jskov@cygnus.co.uk>
669
670 * tests/serial4.c (serial_test):
671 * tests/serial3.c (serial_test):
672 Reduce packet sizes.
673
674 1999-03-31 Jesper Skov <jskov@cygnus.co.uk>
675
676 * tests/ser_test_protocol.inl: Added remaining targets to the
677 test.
678
679 1999-03-31 Gary Thomas <gthomas@cygnus.co.uk>
680
681 * src/sparclite/sleb_sdtr.c (sleb_sdtr_start_xmit): Fix timing race
682 when enabling xmit interrupts.
683
684 1999-03-26 Gary Thomas <gthomas@cygnus.co.uk>
685
686 * src/sparclite/sleb_sdtr.c: Change how the port is set up. The transmitter
687 is now always enabled, just the interrupts are masked/unmasked to control it.
688 This lets the serial driver cooperate with Cygmon on the port used for GDB.
689 Note that currently serial input does not work for CON1 since Cygmon is
690 taking all of the receive interrupts for itself.
691 (sleb_sdtr_tx_DSR): Need to keep track whether xmit interrupt should be
692 enabled - otherwise it can get enabled incorrectly and we get interrupted
693 to death!
694
695 1999-03-26 Jesper Skov <jskov@cygnus.co.uk>
696
697 * tests/ser_test_protocol.inl: Send a DONE message after a no-echo
698 binary packet.
699
700 1999-03-26 Hugo Tyson <hmt@cygnus.co.uk>
701
702 * tests/serial5.c:
703 * tests/serial4.c:
704 * tests/serial3.c:
705 * tests/serial2.c:
706 * tests/serial1.c:
707 Make these build when no kernel present; include of testcase
708 was the wrong side of the ifdef.
709
710 1999-03-26 Jesper Skov <jskov@cygnus.co.uk>
711
712 * tests/serial5.c:
713 * tests/serial4.c:
714 * tests/serial3.c:
715 * tests/serial2.c:
716 * tests/serial1.c:
717 Moved NOP check to ser_test_protocol open call.
718
719 * tests/ser_test_protocol.inl: Make sure the proper device is
720 selected for testing. Do NOP check in open call.
721
722 1999-03-25 Gary Thomas <gthomas@cygnus.co.uk>
723
724 * include/pkgconf/io_serial.h:
725 * misc/console.c:
726 * src/arm/aeb_serial.c:
727 * src/arm/pid_serial_with_ints.c:
728 * src/common/tty.c:
729 * src/mips/tx3904_serial.c:
730 * src/mn10300/mn10300_serial.c:
731 * src/powerpc/cogent_serial_with_ints.c:
732 * src/sparclite/sleb_sdtr.c: Update CDL to follow naming conventions.
733
734 * src/mips/tx3904_serial.c (tx3904_serial_config_port):
735 Make sure port is enabled (CDL) before using it.
736
737 * src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
738 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
739 * src/arm/aeb_serial.c (aeb_serial_config_port):
740 * src/arm/pid_serial_with_ints.c (pid_serial_config_port): Change so that
741 the physical port is not modified unless the provided configuration is valid.
742
743 * src/sparclite/sleb_sdtr.c (sleb_sdtr_config_port):
744 Using wrong config data.
745
746 * include/serialio.h: Add macros to support baud rate from CDL.
747
748 * include/pkgconf/io_serial.h:
749 * src/mn10300/mn10300_serial.c:
750 * src/mips/tx3904_serial.c (tx3904_serial_ISR):
751 * src/sparclite/sleb_sdtr.c:
752 * src/powerpc/cogent_serial_with_ints.c:
753 * src/arm/pid_serial_with_ints.c:
754 * src/arm/aeb_serial.c: Add configury for baud rate and buffer size.
755
756 1999-03-24 Nick Garnett <nickg@cygnus.co.uk>
757
758 * src/mips/tx3904_serial.c:
759 Now uses CYGHWR_HAL_MIPS_CPU_FREQ_ACTUAL to get CPU
760 frequency. This is a little more accurate than using
761 CYGHWR_HAL_MIPS_CPU_FREQ.
762
763 1999-03-24 Gary Thomas <gthomas@cygnus.co.uk>
764
765 * include/serialio.h (CYGNUM_SERIAL_BAUD_MIN/MAX): Add for completeness.
766
767 * src/arm/aeb_serial.c (aeb_serial_stop_xmit):
768 * src/arm/pid_serial_with_ints.c (pid_serial_stop_xmit): Fix typo in comment.
769
770 1999-03-24 Jesper Skov <jskov@cygnus.co.uk>
771
772 * tests/ser_test_protocol.inl: Weeded out configs TX39 doesn't
773 like.
774
775 * src/powerpc/cogent_serial.h:
776 Added copyright header.
777
778 * tests/ser_test_protocol.inl:
779 * tests/serial1.c:
780 * tests/serial2.c:
781 * tests/serial3.c:
782 * tests/serial4.c:
783 * tests/serial5.c:
784 Don't try to run tests when no IO device has been specified.
785
786 1999-03-23 Jesper Skov <jskov@cygnus.co.uk>
787
788 * misc/serial1.c, misc/serial2.c, misc/serial3.c, misc/serial4.c,
789 * misc/serial5.c, misc/ser_test_protocol.inl
790 Deleted.
791
792 1999-03-23 Jesper Skov <jskov@cygnus.co.uk>
793
794 * misc/PKGconf.mak:
795 * tests/timeout.inl:
796 * tests/PKGconf.mak:
797 * tests/serial1.c:
798 * tests/serial2.c:
799 * tests/serial3.c:
800 * tests/serial4.c:
801 * tests/serial5.c:
802 * tests/ser_test_protocol.inl:
803 Moved the serial tests from the misc directory to the tests
804 directory.
805
806 1999-03-23 Nick Garnett <nickg@cygnus.co.uk>
807
808 * src/mn10300/mn10300_serial.c: Now initially mask TX interrupts
809 at initialization and unmask/remask in start/stop xmit
810 routines. This has no real effect on the hardware, but the
811 simulator does not implement the LCR_TXE bit properly, resulting
812 in spurious TX interrupts during diagnostic output.
813 This was the cause of the slow output reported in PR 19559.
814
815 1999-03-23 Gary Thomas <gthomas@cygnus.co.uk>
816
817 * include/pkgconf/io_serial.h: Fix "display" strings to have appropriate
818 case - mostly lower case.
819
820 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk>
821
822 * misc/console.c:
823 * misc/serial.c:
824 * misc/serial1.c:
825 * misc/serial2.c:
826 * misc/serial3.c:
827 * misc/serial4.c:
828 * misc/serial5.c:
829 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
830 CYGNUM_HAL_MINIMUM_STACK_SIZE.
831
832 1999-03-22 Gary Thomas <gthomas@cygnus.co.uk>
833
834 * src/mn10300/mn10300_serial.c:
835 * src/mips/tx3904_serial.c: Add CDL configury.
836
837 * include/pkgconf/io_serial.h: Update CDL to add device name
838 configurability for all devices.
839
840 * src/sparclite/sleb_sdtr.c:
841 * src/powerpc/cogent_serial_with_ints.c:
842 * src/arm/aeb_serial.c:
843 * src/arm/pid_serial_with_ints.c: Use CDL configured device names.
844
845 1999-03-22 Jesper Skov <jskov@lassi.cygnus.co.uk>
846
847 * misc/serial1.c:
848 * misc/serial2.c:
849 * misc/serial3.c:
850 * misc/serial4.c:
851 * misc/serial5.c:
852 Requires kernel as well.
853
854 1999-03-22 Jesper Skov <jskov@cygnus.co.uk>
855
856 * src/sparclite/sleb_sdtr.c:
857 Moved include statement to avoid warnings.
858
859 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
860
861 * misc/ser_test_protocol.inl:
862 * misc/serial5.c:
863 * misc/PKGconf.mak:
864 Replace complex and not very stable duplex test with a simpler
865 test that works better.
866 Added serial5 using that test.
867
868 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
869
870 * misc/PKGconf.mak:
871 * misc/serial1.c:
872 * misc/serial2.c:
873 Added API test and made serial2 do simple string output.
874
875 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
876
877 * src/powerpc/cogent_serial_with_ints.c: Changed ToDo comment.
878
879 1999-03-19 Jesper Skov <jskov@lassi.cygnus.co.uk>
880
881 * src/powerpc/cogent_serial_with_ints.c:
882 * src/arm/aeb_serial.c:
883 * src/arm/pid_serial_with_ints.c:
884 Moved include statement to avoid warnings.
885
886 1999-03-19 Gary Thomas <gthomas@cygnus.co.uk>
887
888 * include/pkgconf/io_serial.h: More CDL problems.
889
890 1999-03-18 Gary Thomas <gthomas@cygnus.co.uk>
891
892 * include/pkgconf/io_serial.h: Add CDL for SPARClite SLEB.
893
894 * src/powerpc/cogent_serial_with_ints.c:
895 * src/arm/pid_serial_with_ints.c:
896 * src/arm/aeb_serial.c: Update device names to match CDL.
897
898 * include/pkgconf/io_serial.h: Change names for serial ports to
899 be CYGPKG_IO_SERIAL_<arch>_<platform>_<port>.
900
901 1999-03-18 Jesper Skov <jskov@cygnus.co.uk>
902
903 * misc/ser_test_protocol.inl:
904 * misc/serial2.c:
905 First stab at the duplex binary test. Still much fun to be had...
906
907 1999-03-18 Jesper Skov <jskov@cygnus.co.uk>
908
909 * misc/ser_test_protocol.inl: Added timeout for PING.
910
911 1999-03-18 Gary Thomas <gthomas@cygnus.co.uk>
912
913 * src/common/serial.c: Change ABORT functionality to be DSR safe.
914 (serial_get_config): Fix typo!
915
916 * include/pkgconf/io_serial.h: Small change in CDL to make serial
917 devices tied to the platform and not the serial I/O package. This
918 means that only the devices appropriate to a given platform can be
919 enabled.
920
921 * misc/serial.c: Better use of alarms - only trigger at the time of
922 the next timeout. Moved timeout functions to new file "timeout.inl".
923
924 * src/common/serial.c (serial_get_config): Add support for
925 CYG_IO_GET_CONFIG_SERIAL_INPUT_FLUSH and CYG_IO_GET_CONFIG_SERIAL_ABORT.
926
927 * misc/serial.c: Add simple timeout mechanisms.
928
929 1999-03-17 Gary Thomas <gthomas@cygnus.co.uk>
930
931 * src/powerpc/cogent_serial_with_ints.c:
932 * src/arm/aeb_serial.c:
933 * src/arm/pid_serial_with_ints.c: Conditionalize based on CDL.
934
935 * include/pkgconf/io_serial.h: Add some CDL configury - not perfect
936 because of current ~CDL limitations.
937
938 1999-03-17 Jesper Skov <jskov@cygnus.co.uk>
939
940 * misc/serial2.c: Cleaned up a bit. Used for hacking new tests.
941
942 1999-03-17 Jesper Skov <jskov@cygnus.co.uk>
943
944 * misc/PKGconf.mak:
945 * misc/ser_test_protocol.inl:
946 * misc/serial2.c:
947 * misc/serial3.c:
948 * misc/serial4.c:
949 Put testing protocol implementation in a separate file. Split the
950 tests in serial2 into separate files.
951
952 1999-03-16 Nick Garnett <nickg@cygnus.co.uk>
953
954 * src/mn10300/mn10300_serial.c: Fixed some compiler warnings.
955
956 1999-03-15 Gary Thomas <gthomas@cygnus.co.uk>
957
958 * include/pkgconf/io_serial.h: Change default configurations.
959 No serial drivers enabled for PID port A or AEB.
960
961 * src/sparclite/sleb_sdtr.c:
962 * src/powerpc/cogent_serial_with_ints.c:
963 * src/arm/aeb_serial.c:
964 * src/arm/pid_serial_with_ints.c:
965 * src/common/haldiag.c:
966 * src/common/tty.c:
967 * src/common/serial.c: Add 'CYGDBG_IO_INIT' for control of init
968 messages.
969
970 * src/powerpc/cogent_serial_with_ints.c:
971 * src/sparclite/sleb_sdtr.c:
972 * src/arm/aeb_serial.c:
973 * src/arm/pid_serial_with_ints.c: Don't include <cyg/kernel/kapi.h>
974
975 1999-03-15 Jesper Skov <jskov@cygnus.co.uk>
976
977 * misc/serial2.c (serial_test): Fix use of strlen. Fix DONE part
978 of binary protocol.
979
980 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
981
982 * misc/serial2.c: Play a bit with timing. Think I broke it :(
983 Added DONE to BINARY packet.
984 Proper call to DRAIN.
985
986 1999-03-12 Nick Garnett <nickg@cygnus.co.uk>
987
988 * src/mips/tx3904_serial.c: Tidied away some debugging code.
989
990 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
991
992 * misc/serial2.c: Removed bogus config changes.
993
994 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
995
996 * misc/serial2.c (serial_test): Check for ser_filter on host (PING
997 packet).
998
999 1999-03-11 Jesper Skov <jskov@cygnus.co.uk>
1000
1001 * src/powerpc/cogent_serial_with_ints.c: Added note.
1002
1003 * misc/serial2.c:
1004 Added (almost) proper configuration handling.
1005 Run tests on varying configurations.
1006
1007 1999-03-11 Nick Garnett <nickg@cygnus.co.uk>
1008
1009 * src/mips/tx3904_serial.c:
1010 Many changes to get working.
1011
1012 * misc/console.c (console_test): Fixed compiler warning.
1013
1014 * misc/serial2.c:
1015 Added device name for TX39 testing.
1016 Fixed some bugs in Tcyg_io_write() macro.
1017
1018 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1019
1020 * misc/serial2.c: Added target specific test device name.
1021
1022 1999-03-10 John Dallaway <jld@cygnus.co.uk>
1023
1024 * include/pkgconf/io_serial.h: Correct CDL description spelling.
1025
1026 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1027
1028 * src/powerpc/cogent_serial_with_ints.c:
1029 * misc/console.c:
1030 Fixed compiler warnings.
1031
1032 1999-03-10 Gary Thomas <gthomas@cygnus.co.uk>
1033
1034 * include/pkgconf/io_serial.h: Improve CDL descriptions.
1035
1036 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1037
1038 * misc/serial2.c (serial_test): Do some more tests with changed
1039 baud rates.
1040
1041 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1042
1043 * misc/serial2.c (serial_test): Added workaround for spurious byte
1044 problem. Added a few more tests to run.
1045
1046 * src/powerpc/cogent_serial_with_ints.c
1047 (cogent_serial_config_port): Remove interrupt enabling.
1048
1049 1999-03-09 Nick Garnett <nickg@cygnus.co.uk>
1050
1051 * src/PKGconf.mak:
1052 * src/mips/tx3904_serial.c:
1053 Added initial version of TX39 device driver. Currently untested
1054 but eliminates PR19445.
1055
1056 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1057
1058 * misc/serial2.c: DRAIN function works now.
1059
1060 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1061
1062 * include/pkgconf/io_serial.h: Only enable one serial driver per
1063 default.
1064
1065 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1066
1067 * misc/serial2.c (serial_test): Be a bit more aggressive.
1068
1069 * src/powerpc/cogent_serial_with_ints.c: Check that configuration
1070 is sensible.
1071
1072 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1073
1074 * src/powerpc/cogent_serial_with_ints.c:
1075 Added support for both ports.
1076
1077 * include/pkgconf/io_serial.h: Added simple defines for cogent
1078 serial ports. No CDL yet.
1079
1080 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1081
1082 * misc/serial.c: Removed PID references. Fixed compiler warnings.
1083
1084 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1085
1086 * src/powerpc/cogent_serial_with_ints.c: Cleaned up a
1087 bit. Actually works now.
1088
1089 1999-03-08 Gary Thomas <gthomas@cygnus.co.uk>
1090
1091 * src/common/serial.c: Change in cyg_drv_cond_wait() behaviour
1092 means DSR lock should be left alone.
1093
1094 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1095 PR 19400
1096 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_init): Set
1097 valid interrupt priority.
1098
1099 1999-03-05 Nick Garnett <nickg@cygnus.co.uk>
1100
1101 * src/mn10300/mn10300_serial.c (mn10300_serial_init):
1102 Added extra test to avoid initializing serial 2 when CYGMON is
1103 present.
1104 Include hal_intr.h explicitly for use in non-kernel
1105 configurations.
1106
1107 * src/common/serial.c:
1108 Added extra test before calls to cyg_drv_cond_wait() to avoid race
1109 condition. This is not, however, a complete solution to this
1110 problem. A better solution will be forthcoming.
1111
1112 * include/serial.h:
1113 Changed include files used to permit non-kernel configurations to
1114 be built.
1115
1116 1999-03-05 Jesper Skov <jskov@cygnus.co.uk>
1117
1118 * src/common/haldiag.c: Removed diag_printf declaration.
1119
1120 1999-03-05 Jonathan Larmour <jlarmour@cygnus.co.uk>
1121
1122 * src/mn10300/mn10300_serial.c:
1123 Change CYG_VECTOR_* to CYGNUM_HAL_INTERRUPT_* to get it to compile!
1124
1125 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
1126
1127 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
1128 Fix renaming of interrupt vectors.
1129
1130 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
1131
1132 * src/arm/pid_serial_with_ints.c: Fix interrupt vectors.
1133
1134 1999-03-03 Gary Thomas <gthomas@cygnus.co.uk>
1135
1136 * serial/current/src/arm/pid_serial_with_ints.c:
1137 New [somewhat] configurable drivers for PID.
1138
1139 //===========================================================================
1140 //####COPYRIGHTBEGIN####
1141 //
1142 // -------------------------------------------
1143 // The contents of this file are subject to the Red Hat eCos Public License
1144 // Version 1.1 (the "License"); you may not use this file except in
1145 // compliance with the License. You may obtain a copy of the License at
1146 // http://www.redhat.com/
1147 //
1148 // Software distributed under the License is distributed on an "AS IS"
1149 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
1150 // License for the specific language governing rights and limitations under
1151 // the License.
1152 //
1153 // The Original Code is eCos - Embedded Configurable Operating System,
1154 // released September 30, 1998.
1155 //
1156 // The Initial Developer of the Original Code is Red Hat.
1157 // Portions created by Red Hat are
1158 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc.
1159 // All Rights Reserved.
1160 // -------------------------------------------
1161 //
1162 //####COPYRIGHTEND####
1163 //===========================================================================