1 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
3 * cdl/ser_arm_aeb.cdl: Remove irrelevant doc link.
5 2001-09-10 Jonathan Larmour <jlarmour@redhat.com>
8 Fix 234000->230400 typo.
10 2000-10-12 Jesper Skov <jskov@redhat.com>
12 * cdl/ser_arm_aeb.cdl: Moved testing parameters here.
14 2000-09-06 Gary Thomas <gthomas@redhat.com>
16 * src/aeb_serial.h: Define baud rates for 57600 & 115200.
17 Note: these are untested at this time.
19 2000-08-01 Jonathan Larmour <jlarmour@redhat.co.uk>
21 * src/aeb_serial.c (aeb_serial_set_config): Now use keys to make
24 2000-06-22 Hugo Tyson <hmt@cygnus.co.uk>
26 * cdl/<yournamehere>.cdl: Remove the comment on the empty
27 include_files directive; the tools now support this correctly.
28 This keeps internal include files internal.
30 2000-04-11 Hugo Tyson <hmt@cygnus.co.uk>
32 * cdl/ser_arm_aeb.cdl: Change the parent from CYGPKG_IO_SERIAL
33 (which is enabled most of the time) to CYGPKG_IO_SERIAL_DEVICES
34 (which is not...) thus allowing convenient control independent of
35 platform. Also enable all individual devices by default, now, so
36 that they can be enabled simply by enabling the above new parent.
38 2000-04-07 Hugo Tyson <hmt@cygnus.co.uk>
40 * ecos.db: Re-organize device packages. This is a massive change
41 involving deleting all the sources for serial and ethernet drivers
42 from where they used to live in
43 packages/io/serial/current/src/ARCH/PLATFORM.[ch]
44 packages/net/drivers/eth/PLATFORM/current/src/...
45 and reinstating them in
46 packages/devs/serial/ARCH/PLATFORM/current/src/...
47 packages/devs/eth/ARCH/PLATFORM/current/src/...
49 All these new packages are properly defined in ecos.db, and are
50 all of type "hardware" so that a "target" can grab them.
52 This directory layout is descriptive of the devices we have right
53 now, arch and platform are separate levels just to make it easier
54 to navigate in the filesystem and similar to the HAL structure in
57 It is *not* prescriptive of future work; for example, the mythical
58 common highly-portable 16550 serial driver which works on many
59 targets would be called "devs/serial/s16550/current", or a serial
60 device for a particular board (cogent springs to mind) that can
61 work with different CPUs fitted is "devs/serial/cogent/current".
63 Changelogs have been preserved and replicated over all the new
64 packages, so that no history is lost.
66 The contents of individual source files are unchanged; they build
67 in just the same emvironment except for a very few cases where the
68 config file name changed in this movement.
70 Targets in ecos.db have been redefined to bring in all relevant
71 hardware packages including net and serial drivers (but the newly
72 included packages are only active if their desired parent is
75 The names of CDL options (and their #defines of course) stay the
76 same for the serial drivers, for backward compatibility.
78 * templates/*/current.ect: these have had CYGPKG_IO_SERIAL added
79 rather than it being in (almost) all target definitions.
81 2000-04-05 Jonathan Larmour <jlarmour@redhat.co.uk>
83 * src/common/tty.c (tty_read): CRLF conversion should use \r\n not \n\r
84 (tty_write): Similarly
86 * include/ttyio.h: Update CYG_TTY_IN_FLAGS_CRLF and
87 CYG_TTY_IN_FLAGS_CRLF to match
89 2000-03-31 Jesper Skov <jskov@redhat.com>
91 * cdl/ser_sh_edk7708.cdl: Limit legal baud rate range.
92 * src/sh/sh_sci_serial.c: Use baud rate macro instead of hardwired
95 2000-03-28 John Dallaway <jld@cygnus.co.uk>
99 cdl/ser_arm_cma230.cdl,
100 cdl/ser_arm_edb7xxx.cdl,
103 cdl/ser_mips_jmr3904.cdl,
104 cdl/ser_mips_vrc4373.cdl,
106 cdl/ser_powerpc_cogent.cdl,
107 cdl/ser_quicc_smc.cdl,
108 cdl/ser_sh_edk7708.cdl,
109 cdl/ser_sparclite_sleb.cdl,
112 Adjust documentation URLs.
114 2000-03-07 Jesper Skov <jskov@redhat.com>
116 * cdl/ser_mips_jmr3904.cdl: Rename devices to match CDL naming.
118 2000-02-29 Jonathan Larmour <jlarmour@redhat.co.uk>
120 * include/serialio.h: Correct baud rate typo: 230400 rather than
121 234000. Thanks to Grant Edwards for the report.
123 2000-02-28 Gary Thomas <gthomas@cygnus.co.uk>
125 * src/powerpc/quicc_smc_serial.c: Use standard 'diag_dump_buf()'.
127 2000-02-28 Jesper Skov <jskov@redhat.com>
129 * tests/ser_test_protocol.inl: Allow 115200 baud on Cogent
130 again. Fixed interrupt problem.
132 2000-02-22 Jesper Skov <jskov@redhat.com>
134 * tests/ser_test_protocol.inl: Don't use 115200 baud on
135 Cogent. Our slower boards can't keep up.
137 2000-02-17 Gary Thomas <gthomas@cygnus.co.uk>
139 * cdl/ser_powerpc_cogent.cdl: Fix incorrect dependency.
141 2000-02-16 Nick Garnett <nickg@cygnus.co.uk>
143 * include/pkgconf/io_serial.h:
144 Added configury for PC serial device drivers.
146 * cdl/ser_i386_pc.cdl:
147 * src/i386/pc_serial.c:
148 * src/i386/pc_serial.h:
149 Added these files to implement PC serial line drivers.
152 Added CYGPKG_IO_SERIAL_I386_PC.
154 * tests/ser_test_protocol.inl:
155 Added support for PC serial line testing.
157 2000-02-11 Jesper Skov <jskov@redhat.com>
159 * src/sh/sh_sci_7708.inl (DEVTAB_ENTRY):
160 * src/sparclite/sleb_sdtr.c:
161 serial_devio => cyg_io_serial_devio
163 2000-02-10 Jonathan Larmour <jlarmour@redhat.co.uk>
165 * src/mn10300/mn10300_serial.c: Ensure all CYG_HAL_MN10300_*
166 preprocessor conditionals use the correct CYGPKG_HAL_MN10300_AM3* form
169 2000-02-03 Jesper Skov <jskov@redhat.com>
171 * src/powerpc/quicc_smc_serial.c: CYG_HAL_POWERPC_x->CYGPKG_...
173 2000-02-02 Jonathan Larmour <jlarmour@redhat.co.uk>
175 * src/arm/aeb_serial.h: Rename lower case register macros to REG_ upper
178 * src/arm/aeb_serial.c: Update to reflect above
180 2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk>
183 Adjust help URLs in line with new doc layout.
185 2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk>
188 Adjust help URLs in line with new doc layout.
190 2000-01-28 Gary Thomas <gthomas@cygnus.co.uk>
192 * src/common/tty.c (tty_read): Fix problem with backspace at start
193 of line (size must be 'signed' for compare to work).
195 2000-01-19 Hugo Tyson <hmt@cygnus.co.uk>
197 * cdl/*.cdl: Add descriptions to a number of options &c which were
198 lacking same, also tidied up other typos as noticed en passant.
200 2000-01-17 Gary Thomas <gthomas@cygnus.co.uk>
202 * src/common/tty.c (tty_read): Avoid echoing "backspace/erase" at
205 2000-01-05 Gary Thomas <gthomas@cygnus.co.uk>
207 * src/common/serial.c (serial_write): Avoid potential deadlock if
208 transmit start actually sends enough characters to signal cond wait.
210 2000-01-03 Gary Thomas <gthomas@cygnus.co.uk>
212 * include/serial.h: Fix namespace pollution -
213 serial_devio => cyg_io_serial_devio
214 serial_callbacks => cyg_io_serial_callbacks
216 * src/mips/tx3904_serial.c:
217 * src/mips/vrc4373_serial.c:
218 * src/mn10300/mn10300_serial.c:
219 * src/powerpc/quicc_smc_serial.c:
220 * src/powerpc/cogent_serial_with_ints.c:
221 * src/sparclite/sleb_sdtr.c:
222 * src/arm/aeb_serial.c:
223 * src/arm/pid_serial_with_ints.c:
224 * src/arm/edb7xxx_serial.c:
225 * src/arm/cma230_serial.c:
226 * src/arm/ebsa285_serial.c:
227 * src/common/haldiag.c:
228 * src/common/serial.c: Fix namespace pollution -
229 serial_devio => cyg_io_serial_devio
231 1999-12-06 Gary Thomas <gthomas@cygnus.co.uk>
233 * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Add loop to handle
234 case where an interrupt represents multiple events.
236 1999-11-19 Gary Thomas <gthomas@cygnus.co.uk>
238 * src/powerpc/quicc_smc_serial.c: Channel select for SMC2 was wrong.
240 1999-11-18 Gary Thomas <gthomas@cygnus.co.uk>
242 * include/pkgconf/io_serial.h: Remove mention of 7209/7212.
244 1999-11-03 John Dallaway <jld@cygnus.co.uk>
246 * cdl/io_serial.cdl: Define build options.
248 1999-10-26 Jesper Skov <jskov@cygnus.co.uk>
249 * tests/serial5.c (serial_test): Reduce speed in thumb mode.
251 * src/arm/pid_serial.h: Added BE support.
253 * src/PKGconf.mak: Use CYGPKG_<> instead of CYG_<> to control what
254 needs to be compiled.
256 1999-10-25 Gary Thomas <gthomas@cygnus.co.uk>
258 * src/arm/pid_serial.h (ISR_RxTO): Define - character received but
259 not handled "promptly".
261 * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Handle rcv interrupts
262 properly (can't ignore them even with TO bit set).
264 * src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Need to handle all
265 input (empty input FIFO) otherwise characters get dropped.
267 1999-10-15 Jesper Skov <jskov@cygnus.co.uk>
269 * tests/ser_test_protocol.inl: Removed AEB rev C change. Was bogus.
271 1999-10-11 Nick Garnett <nickg@cygnus.co.uk>
273 * tests/ser_test_protocol.inl: Added configury for VR4300 testing.
275 * src/mips/vrc4373_serial.c: Added Bi-endian support.
277 * include/pkgconf/io_serial.h: Adjusted default baud rates to
280 1999-10-06 Jesper Skov <jskov@cygnus.co.uk>
282 * tests/ser_test_protocol.inl: Run tests on AEB rev C as well.
284 1999-09-28 Hugo Tyson <hmt@cygnus.co.uk>
286 * src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): Correct
287 value supplied for interrupt priority - it may be unused, but it
288 is asserted for range. Initialize the diagnostic channel if on an
289 MBX and if NOT using SMC1 ourselves, to ensure that diag output
290 and built-in stubs work correctly; otherwise reset the quicc and
291 ignore SMC1 as before. Fix various warnings, mostly about
292 casting/arg-passing/assigning away volatile.
294 1999-08-31 Jesper Skov <jskov@cygnus.co.uk>
296 * tests/ser_test_protocol.inl: Define dummy crash ID.
298 1999-08-30 Jesper Skov <jskov@cygnus.co.uk>
300 * tests/ser_test_protocol.inl: Added crash information which
301 should help track down repeating errors.
303 1999-08-20 Jesper Skov <jskov@cygnus.co.uk>
305 * tests/README: Added.
307 1999-08-18 Jesper Skov <jskov@cygnus.co.uk>
317 Require kernel and kernel C API.
319 1999-08-17 Nick Garnett <nickg@cygnus.co.uk>
321 * src/mn10300/mn10300_serial.c: Added a simple implementation of a
322 receive FIFO to try and reduce the overhead of receiving bytes.
324 1999-08-16 Jonathan Larmour <jlarmour@cygnus.co.uk>
327 * src/mn10300/mn10300_serial.c:
328 * tests/ser_test_protocol.inl:
329 Rename all am32 -> am31
331 1999-08-12 Nick Garnett <nickg@cygnus.co.uk>
333 Imported following changes from development branch:
335 1999-08-11 Nick Garnett <nickg@cygnus.co.uk>
337 * tests/serial5.c: Modified config test for boards that need a lower
340 * tests/ser_test_protocol.inl: Removed 14400 baud tests for all
341 MN10300 variants. The MN10300 cannot currently do this speed.
343 * src/mn10300/mn10300_serial.c: Tidied up the transmit interrupt
344 enable/disable code to be variant specific.
346 * include/pkgconf/io_serial.h: Undid Jonathan's change, since the
347 same options are used for all MN10300 variants.
349 1999-08-10 Jonathan Larmour <jlarmour@cygnus.co.uk>
351 * include/pkgconf/io_serial.h:
352 Reparent CYGPKG_IO_SERIAL_MN10300 from under CYGPKG_HAL_MN10300 to
353 CYGPKG_HAL_MN10300_AM32_STDEVAL1 since it's stdeval1 specific
355 1999-08-04 Nick Garnett <nickg@cygnus.co.uk>
357 * tests/ser_test_protocol.inl:
358 Changed names of MN10300 defines tested. Added AM33 definitions.
360 * src/mn10300/mn10300_serial.c:
361 Modified driver to work on am33 too. This simply requires some
362 alternate definitions of things like register addresses and some
363 bits in them plus some extra parameterization of some register
367 Added am33 to list of architectures supporting serial lines.
369 1999-07-28 Gary Thomas <gthomas@cygnus.co.uk>
371 * include/pkgconf/io_serial.h: Update descriptions to be more
372 generic (CL7x11 instead of CL7211).
374 1999-07-28 Jonathan Larmour <jlarmour@cygnus.co.uk>
376 * include/pkgconf/io_serial.h: Correct typos in CDL description
377 for serial port 2 driver
379 1999-07-26 Hugo Tyson <hmt@cygnus.co.uk>
381 * src/arm/ebsa285_serial.c: New file: device driver for the serial
382 device of the Intel StrongARM EBSA-285 evaluation board.
384 * include/pkgconf/io_serial.h (CYGPKG_IO_SERIAL_ARM_EBSA285):
387 * src/PKGconf.mak (EXTRAS_COMPILE): Compile it.
389 * tests/ser_test_protocol.inl (TEST_SER_DEV): Enable testing of it.
391 1999-07-08 Jesper Skov <jskov@cygnus.co.uk>
393 * tests/ser_test_protocol.inl (change_config): Changed implementation.
395 1999-06-27 Gary Thomas <gthomas@cygnus.co.uk>
397 * src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): More robust
398 initialization, with data cache disabled. This seems to fix the
399 random failures described below.
401 * tests/ser_test_protocol.inl: Add configuration for QUICC/MBX860.
402 Added some delays in the configuration change code to make QUICC
403 happy [didn't help much although the manual says they are required].
405 * src/powerpc/quicc_smc_serial.h (UART_BITRATE): Rewrote macro to
406 match what the Linux driver uses - still doesn't work well, though.
408 * src/powerpc/quicc_smc_serial.c: Lots of changes trying to get the
409 serial driver working and robust. At this point it works quite well,
410 using the default buffer sizes. Changing from the defaults seem to
411 easily break it though, certainly on input. Also, changing the baud
412 rate seems to not work reliably.
414 * src/common/serial.c: Add some tracing/debug info to try and debug
415 problems with QUICC serial driver. These are hard disabled with
416 "XX_" prepended to "CYGDBG_DIAG_BUF". Enabling them gives information
417 about how/when data are delivered from the serial driver.
419 * include/pkgconf/io_serial.h: Adjust limits and defaults on number and
420 size of buffers with values that seem to work.
422 1999-06-21 Jesper Skov <jskov@cygnus.co.uk>
424 * src/sh/sh_sci_serial.c: Rearranged inclusion of .inl file a bit
425 to avoid compiler warnings.
427 1999-06-21 Gary Thomas <gthomas@cygnus.co.uk>
429 * include/pkgconf/io_serial.h: Fix CDL for number of buffers.
431 * src/powerpc/quicc_smc_serial.c: Force number of buffers = 1.
433 1999-06-20 Gary Thomas <gthomas@cygnus.co.uk>
435 * include/pkgconf/io_serial.h: Some clean up (removed commented
436 obsolete CDL parenting structure).
437 Add support for Motorola PowerPC QUICC/SMC.
439 * src/arm/cma230_serial.c:
440 * src/arm/cl7211_serial.c:
441 * src/arm/aeb_serial.c:
442 * src/arm/pid_serial_with_ints.c: Use #include to get 'diag_printf()'
445 1999-06-17 Gary Thomas <gthomas@cygnus.co.uk>
447 * src/arm/cl7211_serial.c (cl7211_serial_start_xmit): Fix race which
448 cause xmitter to get stuck.
450 1999-06-16 Jesper Skov <jskov@cygnus.co.uk>
452 * src/sh/sh_serial.c: [removed]
453 * src/sh/sh_sci_serial.c: [added]
454 * src/sh/sh_sci_7708.inl: [added]
455 * include/pkgconf/io_serial.h:
456 * src/PKGconf.mak (EXTRAS_COMPILE):
457 * tests/ser_test_protocol.inl:
458 Renamed CDL options and restructered driver.
461 1999-06-04 Jesper Skov <jskov@cygnus.co.uk>
463 * include/pkgconf/io_serial.h: Fixed CDL string for BAUD rate option.
465 1999-06-04 Gary Thomas <gthomas@cygnus.co.uk>
467 * tests/ser_test_protocol.inl: Disable testing at 115200
468 for Cogent CMA230 (ARM).
470 * src/arm/cma230_serial.c: Fix interrupt for port B.
472 1999-05-31 Jesper Skov <jskov@cygnus.co.uk>
474 * src/sh/sh_serial.c: Fixed receive interrupts and added handler for
477 1999-05-28 Jesper Skov <jskov@cygnus.co.uk>
479 * io/serial/current/src/PKGconf.mak:
480 * io/serial/current/tests/ser_test_protocol.inl:
481 * include/pkgconf/io_serial.h:
482 Renamed SH platform package to edk7708.
484 1999-05-27 Jesper Skov <jskov@cygnus.co.uk>
486 * tests/ser_test_protocol.inl: Added ability to change options in
489 1999-05-27 Jonathan Larmour <jlarmour@cygnus.co.uk>
491 * src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
492 Wait for the serial device to become acquiescent before disabling
493 it. This prevents cygmon's outgoing characters getting corrupted
494 due to transmission being disabled.
497 1999-05-26 Gary Thomas <gthomas@cygnus.co.uk>
499 * include/pkgconf/io_serial.h:
500 * tests/ser_test_protocol.inl: Add Cogent CMA230 setup.
502 * src/arm/cma230_serial.c: Make names compatible with Cogent
505 1999-05-26 Gary Thomas <gthomas@cygnus.co.uk>
507 * tests/ser_test_protocol.inl: Add Cirrus Logic CL7211 setup.
508 1999-05-26 Jesper Skov <jskov@cygnus.co.uk>
510 * src/sh/sh_serial.c: Added more baud rate values. Disabled
511 interrupt driven receive. Fixed config_port to enable proper
514 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
516 * tests/ser_test_protocol.inl:
517 Change all mentions of CYGPKG_HAL_TX39_JMR3904 to
518 CYGPKG_HAL_MIPS_TX39_JMR3904
520 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
522 * src/PKGconf.mak (EXTRAS_COMPILE): Change CYG_HAL_TX39 to
524 1999-05-25 Jesper Skov <jskov@cygnus.co.uk>
526 * tests/ser_test_protocol.inl: Added sh entry.
528 1999-05-24 Jesper Skov <jskov@cygnus.co.uk>
531 * include/pkgconf/io_serial.h:
532 * src/sh/sh_serial.c:
535 1999-05-18 Jesper Skov <jskov@cygnus.co.uk>
537 * src/sparclite/sleb_sdtr.c (sleb_sdtr_rx_DSR): Only read chan if
540 1999-05-18 Jesper Skov <jskov@cygnus.co.uk>
542 * src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Only read char
545 1999-05-16 Gary Thomas <gthomas@cygnus.co.uk>
547 * src/arm/cl7211_serial.c: Clean up, first working version.
549 1999-05-14 Jesper Skov <jskov@cygnus.co.uk>
551 * tests/ser_test_protocol.inl: Removed workaround for spurious
554 * src/arm/aeb_serial.c:
555 * src/arm/aeb_serial.h:
556 * src/arm/pid_serial_with_ints.c:
557 * src/arm/pid_serial.h:
558 * src/powerpc/cogent_serial.h:
559 * src/powerpc/cogent_serial_with_ints.c:
560 Check for receive interrupt before reading.
562 1999-05-13 Nick Garnett <nickg@cygnus.co.uk>
564 The follow changes were made in a branch an have now been merged:
566 1999-04-21 Gary Thomas <gthomas@cygnus.co.uk>
568 * src/mips/vrc4373_serial.c: Small changes to get working with
571 1999-04-20 John Dallaway <jld@cygnus.co.uk>
573 * include/pkgconf/io_serial.h: Fix CYGPKG_IO_SERIAL_TX39_JMR3904
576 1999-05-11 Gary Thomas <gthomas@cygnus.co.uk>
578 * src/arm/cl7211_serial.c: Fix compile problems from merged code.
580 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
582 * tests/ser_test_protocol.inl: Tidied up a bit and added
583 description of protocol.
585 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
587 * src/common/serial.c (serial_write, serial_read): Clear abort
590 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
592 * tests/serial4.c (serial_test): Handle config fails correctly.
594 * tests/ser_test_protocol.inl: Better change_config
595 handling. Simple recovery and negotiation isn't timing
598 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
600 * tests/timeout.inl: Updated with the below changes.
602 1999-05-05 Gary Thomas <gthomas@cygnus.co.uk>
604 * misc/timeout.inl (timeout): Timeouts are relative, but alarms
605 need absolute time values.
607 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
609 * tests/serial1.c (serial_test): Always PASS, regardless of
612 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
614 * tests/ser_test_protocol.inl: Reverse order of configurations -
615 run tests with slow baud rate first.
616 Only check CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT for SLEB on RAM startup.
618 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
619 * src/mn10300/mn10300_serial.c:
620 Use interrupt enable/disable feature of serial port2 to allow
621 coexistence with CygMon/hal_diag.
623 * tests/ser_test_protocol.inl: Use port2 for MN10300.
625 1999-04-28 Bart Veer <bartv@cygnus.co.uk>
627 * src/PKGconf.mak (EXTRAS_COMPILE):
628 Use the new rules for generating libextras.a
630 1999-04-26 Gary Thomas <gthomas@cygnus.co.uk>
632 * include/pkgconf/io_serial.h: Add support for Cirrus Logic CL7211.
635 1999-04-20 Gary Thomas <gthomas@cygnus.co.uk>
637 * src/arm/aeb_serial.c:
638 * src/arm/pid_serial_with_ints.c: Fix default baud rate if unbuffered.
639 1999-04-20 Jesper Skov <jskov@cygnus.co.uk>
641 * tests/ser_test_protocol.inl: Added some comments. Disabled 38400
642 for SLEB. Only run test on SLEB if CygMon isn't used for diag
645 1999-04-15 Jesper Skov <jskov@cygnus.co.uk>
649 Run these tests at a lower baud rate on ARM AEB.
651 1999-04-14 Jesper Skov <jskov@cygnus.co.uk>
653 * src/mn10300/mn10300_serial.c:
654 Fix compiler warnings.
656 1999-04-14 Bart Veer <bartv@cygnus.co.uk>
658 * include/pkgconf/io_serial.h:
659 Reparent the board-specific serial devices below the actual boards.
661 1999-04-13 Jesper Skov <jskov@cygnus.co.uk>
663 * tests/ser_test_protocol.inl:
664 NA when run from simulator.
666 1999-04-12 Jesper Skov <jskov@cygnus.co.uk>
668 * tests/ser_test_protocol.inl:
669 Disabled 115200 for MN10300.
670 Reclaim interrupt vectors from CygMon when testing on SLEB.
672 1999-04-09 Gary Thomas <gthomas@cygnus.co.uk>
674 * include/serial.h: Change SERIAL_CHANNEL setup so all channels
675 have serial callbacks, regardless of buffering.
677 1999-04-09 Jesper Skov <jskov@cygnus.co.uk>
680 * include/pkgconf/io_serial.h:
681 Added new ttydiag device layered on top of haldiag, so that tty0
682 can be layered on top of ser0.
684 1999-04-08 Jesper Skov <jskov@cygnus.co.uk>
686 * tests/tty1.c: [added]
687 * tests/tty2.c: [added]
689 * tests/ser_test_protocol.inl:
690 Added two simple TTY tests.
692 1999-04-07 Hugo Tyson <hmt@cygnus.co.uk>
694 * src/sparclite/sleb_sdtr.h: Include cyg/hal/hal_io.h for I/O
695 macros instead of hal_diag.h where they had evolved before.
697 1999-04-06 Jesper Skov <jskov@cygnus.co.uk>
699 * tests/serial4.c (serial_test):
700 * tests/serial3.c (serial_test):
703 1999-03-31 Jesper Skov <jskov@cygnus.co.uk>
705 * tests/ser_test_protocol.inl: Added remaining targets to the
708 1999-03-31 Gary Thomas <gthomas@cygnus.co.uk>
710 * src/sparclite/sleb_sdtr.c (sleb_sdtr_start_xmit): Fix timing race
711 when enabling xmit interrupts.
713 1999-03-26 Gary Thomas <gthomas@cygnus.co.uk>
715 * src/sparclite/sleb_sdtr.c: Change how the port is set up. The transmitter
716 is now always enabled, just the interrupts are masked/unmasked to control it.
717 This lets the serial driver cooperate with Cygmon on the port used for GDB.
718 Note that currently serial input does not work for CON1 since Cygmon is
719 taking all of the receive interrupts for itself.
720 (sleb_sdtr_tx_DSR): Need to keep track whether xmit interrupt should be
721 enabled - otherwise it can get enabled incorrectly and we get interrupted
724 1999-03-26 Jesper Skov <jskov@cygnus.co.uk>
726 * tests/ser_test_protocol.inl: Send a DONE message after a no-echo
729 1999-03-26 Hugo Tyson <hmt@cygnus.co.uk>
736 Make these build when no kernel present; include of testcase
737 was the wrong side of the ifdef.
739 1999-03-26 Jesper Skov <jskov@cygnus.co.uk>
746 Moved NOP check to ser_test_protocol open call.
748 * tests/ser_test_protocol.inl: Make sure the proper device is
749 selected for testing. Do NOP check in open call.
751 1999-03-25 Gary Thomas <gthomas@cygnus.co.uk>
753 * include/pkgconf/io_serial.h:
755 * src/arm/aeb_serial.c:
756 * src/arm/pid_serial_with_ints.c:
758 * src/mips/tx3904_serial.c:
759 * src/mn10300/mn10300_serial.c:
760 * src/powerpc/cogent_serial_with_ints.c:
761 * src/sparclite/sleb_sdtr.c: Update CDL to follow naming conventions.
763 * src/mips/tx3904_serial.c (tx3904_serial_config_port):
764 Make sure port is enabled (CDL) before using it.
766 * src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
767 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
768 * src/arm/aeb_serial.c (aeb_serial_config_port):
769 * src/arm/pid_serial_with_ints.c (pid_serial_config_port): Change so that
770 the physical port is not modified unless the provided configuration is valid.
772 * src/sparclite/sleb_sdtr.c (sleb_sdtr_config_port):
773 Using wrong config data.
775 * include/serialio.h: Add macros to support baud rate from CDL.
777 * include/pkgconf/io_serial.h:
778 * src/mn10300/mn10300_serial.c:
779 * src/mips/tx3904_serial.c (tx3904_serial_ISR):
780 * src/sparclite/sleb_sdtr.c:
781 * src/powerpc/cogent_serial_with_ints.c:
782 * src/arm/pid_serial_with_ints.c:
783 * src/arm/aeb_serial.c: Add configury for baud rate and buffer size.
785 1999-03-24 Nick Garnett <nickg@cygnus.co.uk>
787 * src/mips/tx3904_serial.c:
788 Now uses CYGHWR_HAL_MIPS_CPU_FREQ_ACTUAL to get CPU
789 frequency. This is a little more accurate than using
790 CYGHWR_HAL_MIPS_CPU_FREQ.
792 1999-03-24 Gary Thomas <gthomas@cygnus.co.uk>
794 * include/serialio.h (CYGNUM_SERIAL_BAUD_MIN/MAX): Add for completeness.
796 * src/arm/aeb_serial.c (aeb_serial_stop_xmit):
797 * src/arm/pid_serial_with_ints.c (pid_serial_stop_xmit): Fix typo in comment.
799 1999-03-24 Jesper Skov <jskov@cygnus.co.uk>
801 * tests/ser_test_protocol.inl: Weeded out configs TX39 doesn't
804 * src/powerpc/cogent_serial.h:
805 Added copyright header.
807 * tests/ser_test_protocol.inl:
813 Don't try to run tests when no IO device has been specified.
815 1999-03-23 Jesper Skov <jskov@cygnus.co.uk>
817 * misc/serial1.c, misc/serial2.c, misc/serial3.c, misc/serial4.c,
818 * misc/serial5.c, misc/ser_test_protocol.inl
821 1999-03-23 Jesper Skov <jskov@cygnus.co.uk>
831 * tests/ser_test_protocol.inl:
832 Moved the serial tests from the misc directory to the tests
835 1999-03-23 Nick Garnett <nickg@cygnus.co.uk>
837 * src/mn10300/mn10300_serial.c: Now initially mask TX interrupts
838 at initialization and unmask/remask in start/stop xmit
839 routines. This has no real effect on the hardware, but the
840 simulator does not implement the LCR_TXE bit properly, resulting
841 in spurious TX interrupts during diagnostic output.
842 This was the cause of the slow output reported in PR 19559.
844 1999-03-23 Gary Thomas <gthomas@cygnus.co.uk>
846 * include/pkgconf/io_serial.h: Fix "display" strings to have appropriate
847 case - mostly lower case.
849 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk>
858 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
859 CYGNUM_HAL_MINIMUM_STACK_SIZE.
861 1999-03-22 Gary Thomas <gthomas@cygnus.co.uk>
863 * src/mn10300/mn10300_serial.c:
864 * src/mips/tx3904_serial.c: Add CDL configury.
866 * include/pkgconf/io_serial.h: Update CDL to add device name
867 configurability for all devices.
869 * src/sparclite/sleb_sdtr.c:
870 * src/powerpc/cogent_serial_with_ints.c:
871 * src/arm/aeb_serial.c:
872 * src/arm/pid_serial_with_ints.c: Use CDL configured device names.
874 1999-03-22 Jesper Skov <jskov@lassi.cygnus.co.uk>
881 Requires kernel as well.
883 1999-03-22 Jesper Skov <jskov@cygnus.co.uk>
885 * src/sparclite/sleb_sdtr.c:
886 Moved include statement to avoid warnings.
888 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
890 * misc/ser_test_protocol.inl:
893 Replace complex and not very stable duplex test with a simpler
894 test that works better.
895 Added serial5 using that test.
897 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
902 Added API test and made serial2 do simple string output.
904 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
906 * src/powerpc/cogent_serial_with_ints.c: Changed ToDo comment.
908 1999-03-19 Jesper Skov <jskov@lassi.cygnus.co.uk>
910 * src/powerpc/cogent_serial_with_ints.c:
911 * src/arm/aeb_serial.c:
912 * src/arm/pid_serial_with_ints.c:
913 Moved include statement to avoid warnings.
915 1999-03-19 Gary Thomas <gthomas@cygnus.co.uk>
917 * include/pkgconf/io_serial.h: More CDL problems.
919 1999-03-18 Gary Thomas <gthomas@cygnus.co.uk>
921 * include/pkgconf/io_serial.h: Add CDL for SPARClite SLEB.
923 * src/powerpc/cogent_serial_with_ints.c:
924 * src/arm/pid_serial_with_ints.c:
925 * src/arm/aeb_serial.c: Update device names to match CDL.
927 * include/pkgconf/io_serial.h: Change names for serial ports to
928 be CYGPKG_IO_SERIAL_<arch>_<platform>_<port>.
930 1999-03-18 Jesper Skov <jskov@cygnus.co.uk>
932 * misc/ser_test_protocol.inl:
934 First stab at the duplex binary test. Still much fun to be had...
936 1999-03-18 Jesper Skov <jskov@cygnus.co.uk>
938 * misc/ser_test_protocol.inl: Added timeout for PING.
940 1999-03-18 Gary Thomas <gthomas@cygnus.co.uk>
942 * src/common/serial.c: Change ABORT functionality to be DSR safe.
943 (serial_get_config): Fix typo!
945 * include/pkgconf/io_serial.h: Small change in CDL to make serial
946 devices tied to the platform and not the serial I/O package. This
947 means that only the devices appropriate to a given platform can be
950 * misc/serial.c: Better use of alarms - only trigger at the time of
951 the next timeout. Moved timeout functions to new file "timeout.inl".
953 * src/common/serial.c (serial_get_config): Add support for
954 CYG_IO_GET_CONFIG_SERIAL_INPUT_FLUSH and CYG_IO_GET_CONFIG_SERIAL_ABORT.
956 * misc/serial.c: Add simple timeout mechanisms.
958 1999-03-17 Gary Thomas <gthomas@cygnus.co.uk>
960 * src/powerpc/cogent_serial_with_ints.c:
961 * src/arm/aeb_serial.c:
962 * src/arm/pid_serial_with_ints.c: Conditionalize based on CDL.
964 * include/pkgconf/io_serial.h: Add some CDL configury - not perfect
965 because of current ~CDL limitations.
967 1999-03-17 Jesper Skov <jskov@cygnus.co.uk>
969 * misc/serial2.c: Cleaned up a bit. Used for hacking new tests.
971 1999-03-17 Jesper Skov <jskov@cygnus.co.uk>
974 * misc/ser_test_protocol.inl:
978 Put testing protocol implementation in a separate file. Split the
979 tests in serial2 into separate files.
981 1999-03-16 Nick Garnett <nickg@cygnus.co.uk>
983 * src/mn10300/mn10300_serial.c: Fixed some compiler warnings.
985 1999-03-15 Gary Thomas <gthomas@cygnus.co.uk>
987 * include/pkgconf/io_serial.h: Change default configurations.
988 No serial drivers enabled for PID port A or AEB.
990 * src/sparclite/sleb_sdtr.c:
991 * src/powerpc/cogent_serial_with_ints.c:
992 * src/arm/aeb_serial.c:
993 * src/arm/pid_serial_with_ints.c:
994 * src/common/haldiag.c:
996 * src/common/serial.c: Add 'CYGDBG_IO_INIT' for control of init
999 * src/powerpc/cogent_serial_with_ints.c:
1000 * src/sparclite/sleb_sdtr.c:
1001 * src/arm/aeb_serial.c:
1002 * src/arm/pid_serial_with_ints.c: Don't include <cyg/kernel/kapi.h>
1004 1999-03-15 Jesper Skov <jskov@cygnus.co.uk>
1006 * misc/serial2.c (serial_test): Fix use of strlen. Fix DONE part
1009 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1011 * misc/serial2.c: Play a bit with timing. Think I broke it :(
1012 Added DONE to BINARY packet.
1013 Proper call to DRAIN.
1015 1999-03-12 Nick Garnett <nickg@cygnus.co.uk>
1017 * src/mips/tx3904_serial.c: Tidied away some debugging code.
1019 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1021 * misc/serial2.c: Removed bogus config changes.
1023 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1025 * misc/serial2.c (serial_test): Check for ser_filter on host (PING
1028 1999-03-11 Jesper Skov <jskov@cygnus.co.uk>
1030 * src/powerpc/cogent_serial_with_ints.c: Added note.
1033 Added (almost) proper configuration handling.
1034 Run tests on varying configurations.
1036 1999-03-11 Nick Garnett <nickg@cygnus.co.uk>
1038 * src/mips/tx3904_serial.c:
1039 Many changes to get working.
1041 * misc/console.c (console_test): Fixed compiler warning.
1044 Added device name for TX39 testing.
1045 Fixed some bugs in Tcyg_io_write() macro.
1047 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1049 * misc/serial2.c: Added target specific test device name.
1051 1999-03-10 John Dallaway <jld@cygnus.co.uk>
1053 * include/pkgconf/io_serial.h: Correct CDL description spelling.
1055 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1057 * src/powerpc/cogent_serial_with_ints.c:
1059 Fixed compiler warnings.
1061 1999-03-10 Gary Thomas <gthomas@cygnus.co.uk>
1063 * include/pkgconf/io_serial.h: Improve CDL descriptions.
1065 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1067 * misc/serial2.c (serial_test): Do some more tests with changed
1070 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1072 * misc/serial2.c (serial_test): Added workaround for spurious byte
1073 problem. Added a few more tests to run.
1075 * src/powerpc/cogent_serial_with_ints.c
1076 (cogent_serial_config_port): Remove interrupt enabling.
1078 1999-03-09 Nick Garnett <nickg@cygnus.co.uk>
1081 * src/mips/tx3904_serial.c:
1082 Added initial version of TX39 device driver. Currently untested
1083 but eliminates PR19445.
1085 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1087 * misc/serial2.c: DRAIN function works now.
1089 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1091 * include/pkgconf/io_serial.h: Only enable one serial driver per
1094 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1096 * misc/serial2.c (serial_test): Be a bit more aggressive.
1098 * src/powerpc/cogent_serial_with_ints.c: Check that configuration
1101 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1103 * src/powerpc/cogent_serial_with_ints.c:
1104 Added support for both ports.
1106 * include/pkgconf/io_serial.h: Added simple defines for cogent
1107 serial ports. No CDL yet.
1109 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1111 * misc/serial.c: Removed PID references. Fixed compiler warnings.
1113 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1115 * src/powerpc/cogent_serial_with_ints.c: Cleaned up a
1116 bit. Actually works now.
1118 1999-03-08 Gary Thomas <gthomas@cygnus.co.uk>
1120 * src/common/serial.c: Change in cyg_drv_cond_wait() behaviour
1121 means DSR lock should be left alone.
1123 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1125 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_init): Set
1126 valid interrupt priority.
1128 1999-03-05 Nick Garnett <nickg@cygnus.co.uk>
1130 * src/mn10300/mn10300_serial.c (mn10300_serial_init):
1131 Added extra test to avoid initializing serial 2 when CYGMON is
1133 Include hal_intr.h explicitly for use in non-kernel
1136 * src/common/serial.c:
1137 Added extra test before calls to cyg_drv_cond_wait() to avoid race
1138 condition. This is not, however, a complete solution to this
1139 problem. A better solution will be forthcoming.
1142 Changed include files used to permit non-kernel configurations to
1145 1999-03-05 Jesper Skov <jskov@cygnus.co.uk>
1147 * src/common/haldiag.c: Removed diag_printf declaration.
1149 1999-03-05 Jonathan Larmour <jlarmour@cygnus.co.uk>
1151 * src/mn10300/mn10300_serial.c:
1152 Change CYG_VECTOR_* to CYGNUM_HAL_INTERRUPT_* to get it to compile!
1154 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
1156 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
1157 Fix renaming of interrupt vectors.
1159 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
1161 * src/arm/pid_serial_with_ints.c: Fix interrupt vectors.
1163 1999-03-03 Gary Thomas <gthomas@cygnus.co.uk>
1165 * serial/current/src/arm/pid_serial_with_ints.c:
1166 New [somewhat] configurable drivers for PID.
1168 //===========================================================================
1169 //####ECOSGPLCOPYRIGHTBEGIN####
1170 // -------------------------------------------
1171 // This file is part of eCos, the Embedded Configurable Operating System.
1172 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
1174 // eCos is free software; you can redistribute it and/or modify it under
1175 // the terms of the GNU General Public License as published by the Free
1176 // Software Foundation; either version 2 or (at your option) any later version.
1178 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
1179 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
1180 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1181 // for more details.
1183 // You should have received a copy of the GNU General Public License along
1184 // with eCos; if not, write to the Free Software Foundation, Inc.,
1185 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
1187 // As a special exception, if other files instantiate templates or use macros
1188 // or inline functions from this file, or you compile this file and link it
1189 // with other works to produce a work based on this file, this file does not
1190 // by itself cause the resulting work to be covered by the GNU General Public
1191 // License. However the source code for this file must still be made available
1192 // in accordance with section (3) of the GNU General Public License.
1194 // This exception does not invalidate any other reasons why a work based on
1195 // this file might be covered by the GNU General Public License.
1197 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
1198 // at http://sources.redhat.com/ecos/ecos-license/
1199 // -------------------------------------------
1200 //####ECOSGPLCOPYRIGHTEND####
1201 //===========================================================================