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