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