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