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