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