1 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
3 * cdl/ser_mips_vrc437x.cdl: Remove irrelevant doc link.
5 2001-09-18 Nick Garnett <nickg@redhat.com>
7 * cdl/ser_mips_vrc437x.cdl:
8 * src/vrc437x_serial.h:
9 * src/vrc437x_serial.c:
10 Fixed VRC4373 -> VRC437X conversions that were missed.
11 Also made default baud rates 38400 rather than 9600.
13 2001-09-10 Jonathan Larmour <jlarmour@redhat.com>
15 * cdl/ser_mips_vrc437x.cdl:
16 Fix 234000->230400 typo.
18 2001-09-07 Nick Garnett <nickg@redhat.com>
20 * cdl/ser_mips_vrc437x.cdl:
21 * src/vrc437x_serial.h:
22 * src/vrc437x_serial.c:
23 Moved this entire tree over to vrc437x from vrc4373 to make it
24 generic to both kinds of board.
26 2000-10-12 Jesper Skov <jskov@redhat.com>
28 * cdl/ser_mips_vrc4373.cdl: Moved testing parameters here.
30 2000-08-01 Jonathan Larmour <jlarmour@redhat.co.uk>
32 * src/vrc4373_serial.c (vrc4373_serial_set_config): Now use keys
33 to make more flexible.
35 2000-07-22 Jonathan Larmour <jlarmour@redhat.co.uk>
37 * src/vrc4373_serial.c (vrc4373_serial_init): Add comment about broken
40 2000-06-22 Hugo Tyson <hmt@cygnus.co.uk>
42 * cdl/<yournamehere>.cdl: Remove the comment on the empty
43 include_files directive; the tools now support this correctly.
44 This keeps internal include files internal.
46 2000-04-11 Hugo Tyson <hmt@cygnus.co.uk>
48 * cdl/ser_mips_vrc4373.cdl: Change the parent from CYGPKG_IO_SERIAL
49 (which is enabled most of the time) to CYGPKG_IO_SERIAL_DEVICES
50 (which is not...) thus allowing convenient control independent of
51 platform. Also enable all individual devices by default, now, so
52 that they can be enabled simply by enabling the above new parent.
54 2000-04-07 Hugo Tyson <hmt@cygnus.co.uk>
56 * ecos.db: Re-organize device packages. This is a massive change
57 involving deleting all the sources for serial and ethernet drivers
58 from where they used to live in
59 packages/io/serial/current/src/ARCH/PLATFORM.[ch]
60 packages/net/drivers/eth/PLATFORM/current/src/...
61 and reinstating them in
62 packages/devs/serial/ARCH/PLATFORM/current/src/...
63 packages/devs/eth/ARCH/PLATFORM/current/src/...
65 All these new packages are properly defined in ecos.db, and are
66 all of type "hardware" so that a "target" can grab them.
68 This directory layout is descriptive of the devices we have right
69 now, arch and platform are separate levels just to make it easier
70 to navigate in the filesystem and similar to the HAL structure in
73 It is *not* prescriptive of future work; for example, the mythical
74 common highly-portable 16550 serial driver which works on many
75 targets would be called "devs/serial/s16550/current", or a serial
76 device for a particular board (cogent springs to mind) that can
77 work with different CPUs fitted is "devs/serial/cogent/current".
79 Changelogs have been preserved and replicated over all the new
80 packages, so that no history is lost.
82 The contents of individual source files are unchanged; they build
83 in just the same emvironment except for a very few cases where the
84 config file name changed in this movement.
86 Targets in ecos.db have been redefined to bring in all relevant
87 hardware packages including net and serial drivers (but the newly
88 included packages are only active if their desired parent is
91 The names of CDL options (and their #defines of course) stay the
92 same for the serial drivers, for backward compatibility.
94 * templates/*/current.ect: these have had CYGPKG_IO_SERIAL added
95 rather than it being in (almost) all target definitions.
97 2000-04-05 Jonathan Larmour <jlarmour@redhat.co.uk>
99 * src/common/tty.c (tty_read): CRLF conversion should use \r\n not \n\r
100 (tty_write): Similarly
102 * include/ttyio.h: Update CYG_TTY_IN_FLAGS_CRLF and
103 CYG_TTY_IN_FLAGS_CRLF to match
105 2000-03-31 Jesper Skov <jskov@redhat.com>
107 * cdl/ser_sh_edk7708.cdl: Limit legal baud rate range.
108 * src/sh/sh_sci_serial.c: Use baud rate macro instead of hardwired
111 2000-03-28 John Dallaway <jld@cygnus.co.uk>
115 cdl/ser_arm_cma230.cdl,
116 cdl/ser_arm_edb7xxx.cdl,
119 cdl/ser_mips_jmr3904.cdl,
120 cdl/ser_mips_vrc4373.cdl,
122 cdl/ser_powerpc_cogent.cdl,
123 cdl/ser_quicc_smc.cdl,
124 cdl/ser_sh_edk7708.cdl,
125 cdl/ser_sparclite_sleb.cdl,
128 Adjust documentation URLs.
130 2000-03-07 Jesper Skov <jskov@redhat.com>
132 * cdl/ser_mips_jmr3904.cdl: Rename devices to match CDL naming.
134 2000-02-29 Jonathan Larmour <jlarmour@redhat.co.uk>
136 * include/serialio.h: Correct baud rate typo: 230400 rather than
137 234000. Thanks to Grant Edwards for the report.
139 2000-02-28 Gary Thomas <gthomas@cygnus.co.uk>
141 * src/powerpc/quicc_smc_serial.c: Use standard 'diag_dump_buf()'.
143 2000-02-28 Jesper Skov <jskov@redhat.com>
145 * tests/ser_test_protocol.inl: Allow 115200 baud on Cogent
146 again. Fixed interrupt problem.
148 2000-02-22 Jesper Skov <jskov@redhat.com>
150 * tests/ser_test_protocol.inl: Don't use 115200 baud on
151 Cogent. Our slower boards can't keep up.
153 2000-02-17 Gary Thomas <gthomas@cygnus.co.uk>
155 * cdl/ser_powerpc_cogent.cdl: Fix incorrect dependency.
157 2000-02-16 Nick Garnett <nickg@cygnus.co.uk>
159 * include/pkgconf/io_serial.h:
160 Added configury for PC serial device drivers.
162 * cdl/ser_i386_pc.cdl:
163 * src/i386/pc_serial.c:
164 * src/i386/pc_serial.h:
165 Added these files to implement PC serial line drivers.
168 Added CYGPKG_IO_SERIAL_I386_PC.
170 * tests/ser_test_protocol.inl:
171 Added support for PC serial line testing.
173 2000-02-11 Jesper Skov <jskov@redhat.com>
175 * src/sh/sh_sci_7708.inl (DEVTAB_ENTRY):
176 * src/sparclite/sleb_sdtr.c:
177 serial_devio => cyg_io_serial_devio
179 2000-02-10 Jonathan Larmour <jlarmour@redhat.co.uk>
181 * src/mn10300/mn10300_serial.c: Ensure all CYG_HAL_MN10300_*
182 preprocessor conditionals use the correct CYGPKG_HAL_MN10300_AM3* form
185 2000-02-03 Jesper Skov <jskov@redhat.com>
187 * src/powerpc/quicc_smc_serial.c: CYG_HAL_POWERPC_x->CYGPKG_...
189 2000-02-02 Jonathan Larmour <jlarmour@redhat.co.uk>
191 * src/arm/aeb_serial.h: Rename lower case register macros to REG_ upper
194 * src/arm/aeb_serial.c: Update to reflect above
196 2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk>
199 Adjust help URLs in line with new doc layout.
201 2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk>
204 Adjust help URLs in line with new doc layout.
206 2000-01-28 Gary Thomas <gthomas@cygnus.co.uk>
208 * src/common/tty.c (tty_read): Fix problem with backspace at start
209 of line (size must be 'signed' for compare to work).
211 2000-01-19 Hugo Tyson <hmt@cygnus.co.uk>
213 * cdl/*.cdl: Add descriptions to a number of options &c which were
214 lacking same, also tidied up other typos as noticed en passant.
216 2000-01-17 Gary Thomas <gthomas@cygnus.co.uk>
218 * src/common/tty.c (tty_read): Avoid echoing "backspace/erase" at
221 2000-01-05 Gary Thomas <gthomas@cygnus.co.uk>
223 * src/common/serial.c (serial_write): Avoid potential deadlock if
224 transmit start actually sends enough characters to signal cond wait.
226 2000-01-03 Gary Thomas <gthomas@cygnus.co.uk>
228 * include/serial.h: Fix namespace pollution -
229 serial_devio => cyg_io_serial_devio
230 serial_callbacks => cyg_io_serial_callbacks
232 * src/mips/tx3904_serial.c:
233 * src/mips/vrc4373_serial.c:
234 * src/mn10300/mn10300_serial.c:
235 * src/powerpc/quicc_smc_serial.c:
236 * src/powerpc/cogent_serial_with_ints.c:
237 * src/sparclite/sleb_sdtr.c:
238 * src/arm/aeb_serial.c:
239 * src/arm/pid_serial_with_ints.c:
240 * src/arm/edb7xxx_serial.c:
241 * src/arm/cma230_serial.c:
242 * src/arm/ebsa285_serial.c:
243 * src/common/haldiag.c:
244 * src/common/serial.c: Fix namespace pollution -
245 serial_devio => cyg_io_serial_devio
247 1999-12-06 Gary Thomas <gthomas@cygnus.co.uk>
249 * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Add loop to handle
250 case where an interrupt represents multiple events.
252 1999-11-19 Gary Thomas <gthomas@cygnus.co.uk>
254 * src/powerpc/quicc_smc_serial.c: Channel select for SMC2 was wrong.
256 1999-11-18 Gary Thomas <gthomas@cygnus.co.uk>
258 * include/pkgconf/io_serial.h: Remove mention of 7209/7212.
260 1999-11-03 John Dallaway <jld@cygnus.co.uk>
262 * cdl/io_serial.cdl: Define build options.
264 1999-10-26 Jesper Skov <jskov@cygnus.co.uk>
265 * tests/serial5.c (serial_test): Reduce speed in thumb mode.
267 * src/arm/pid_serial.h: Added BE support.
269 * src/PKGconf.mak: Use CYGPKG_<> instead of CYG_<> to control what
270 needs to be compiled.
272 1999-10-25 Gary Thomas <gthomas@cygnus.co.uk>
274 * src/arm/pid_serial.h (ISR_RxTO): Define - character received but
275 not handled "promptly".
277 * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Handle rcv interrupts
278 properly (can't ignore them even with TO bit set).
280 * src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Need to handle all
281 input (empty input FIFO) otherwise characters get dropped.
283 1999-10-15 Jesper Skov <jskov@cygnus.co.uk>
285 * tests/ser_test_protocol.inl: Removed AEB rev C change. Was bogus.
287 1999-10-11 Nick Garnett <nickg@cygnus.co.uk>
289 * tests/ser_test_protocol.inl: Added configury for VR4300 testing.
291 * src/mips/vrc4373_serial.c: Added Bi-endian support.
293 * include/pkgconf/io_serial.h: Adjusted default baud rates to
296 1999-10-06 Jesper Skov <jskov@cygnus.co.uk>
298 * tests/ser_test_protocol.inl: Run tests on AEB rev C as well.
300 1999-09-28 Hugo Tyson <hmt@cygnus.co.uk>
302 * src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): Correct
303 value supplied for interrupt priority - it may be unused, but it
304 is asserted for range. Initialize the diagnostic channel if on an
305 MBX and if NOT using SMC1 ourselves, to ensure that diag output
306 and built-in stubs work correctly; otherwise reset the quicc and
307 ignore SMC1 as before. Fix various warnings, mostly about
308 casting/arg-passing/assigning away volatile.
310 1999-08-31 Jesper Skov <jskov@cygnus.co.uk>
312 * tests/ser_test_protocol.inl: Define dummy crash ID.
314 1999-08-30 Jesper Skov <jskov@cygnus.co.uk>
316 * tests/ser_test_protocol.inl: Added crash information which
317 should help track down repeating errors.
319 1999-08-20 Jesper Skov <jskov@cygnus.co.uk>
321 * tests/README: Added.
323 1999-08-18 Jesper Skov <jskov@cygnus.co.uk>
333 Require kernel and kernel C API.
335 1999-08-17 Nick Garnett <nickg@cygnus.co.uk>
337 * src/mn10300/mn10300_serial.c: Added a simple implementation of a
338 receive FIFO to try and reduce the overhead of receiving bytes.
340 1999-08-16 Jonathan Larmour <jlarmour@cygnus.co.uk>
343 * src/mn10300/mn10300_serial.c:
344 * tests/ser_test_protocol.inl:
345 Rename all am32 -> am31
347 1999-08-12 Nick Garnett <nickg@cygnus.co.uk>
349 Imported following changes from development branch:
351 1999-08-11 Nick Garnett <nickg@cygnus.co.uk>
353 * tests/serial5.c: Modified config test for boards that need a lower
356 * tests/ser_test_protocol.inl: Removed 14400 baud tests for all
357 MN10300 variants. The MN10300 cannot currently do this speed.
359 * src/mn10300/mn10300_serial.c: Tidied up the transmit interrupt
360 enable/disable code to be variant specific.
362 * include/pkgconf/io_serial.h: Undid Jonathan's change, since the
363 same options are used for all MN10300 variants.
365 1999-08-10 Jonathan Larmour <jlarmour@cygnus.co.uk>
367 * include/pkgconf/io_serial.h:
368 Reparent CYGPKG_IO_SERIAL_MN10300 from under CYGPKG_HAL_MN10300 to
369 CYGPKG_HAL_MN10300_AM32_STDEVAL1 since it's stdeval1 specific
371 1999-08-04 Nick Garnett <nickg@cygnus.co.uk>
373 * tests/ser_test_protocol.inl:
374 Changed names of MN10300 defines tested. Added AM33 definitions.
376 * src/mn10300/mn10300_serial.c:
377 Modified driver to work on am33 too. This simply requires some
378 alternate definitions of things like register addresses and some
379 bits in them plus some extra parameterization of some register
383 Added am33 to list of architectures supporting serial lines.
385 1999-07-28 Gary Thomas <gthomas@cygnus.co.uk>
387 * include/pkgconf/io_serial.h: Update descriptions to be more
388 generic (CL7x11 instead of CL7211).
390 1999-07-28 Jonathan Larmour <jlarmour@cygnus.co.uk>
392 * include/pkgconf/io_serial.h: Correct typos in CDL description
393 for serial port 2 driver
395 1999-07-26 Hugo Tyson <hmt@cygnus.co.uk>
397 * src/arm/ebsa285_serial.c: New file: device driver for the serial
398 device of the Intel StrongARM EBSA-285 evaluation board.
400 * include/pkgconf/io_serial.h (CYGPKG_IO_SERIAL_ARM_EBSA285):
403 * src/PKGconf.mak (EXTRAS_COMPILE): Compile it.
405 * tests/ser_test_protocol.inl (TEST_SER_DEV): Enable testing of it.
407 1999-07-08 Jesper Skov <jskov@cygnus.co.uk>
409 * tests/ser_test_protocol.inl (change_config): Changed implementation.
411 1999-06-27 Gary Thomas <gthomas@cygnus.co.uk>
413 * src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): More robust
414 initialization, with data cache disabled. This seems to fix the
415 random failures described below.
417 * tests/ser_test_protocol.inl: Add configuration for QUICC/MBX860.
418 Added some delays in the configuration change code to make QUICC
419 happy [didn't help much although the manual says they are required].
421 * src/powerpc/quicc_smc_serial.h (UART_BITRATE): Rewrote macro to
422 match what the Linux driver uses - still doesn't work well, though.
424 * src/powerpc/quicc_smc_serial.c: Lots of changes trying to get the
425 serial driver working and robust. At this point it works quite well,
426 using the default buffer sizes. Changing from the defaults seem to
427 easily break it though, certainly on input. Also, changing the baud
428 rate seems to not work reliably.
430 * src/common/serial.c: Add some tracing/debug info to try and debug
431 problems with QUICC serial driver. These are hard disabled with
432 "XX_" prepended to "CYGDBG_DIAG_BUF". Enabling them gives information
433 about how/when data are delivered from the serial driver.
435 * include/pkgconf/io_serial.h: Adjust limits and defaults on number and
436 size of buffers with values that seem to work.
438 1999-06-21 Jesper Skov <jskov@cygnus.co.uk>
440 * src/sh/sh_sci_serial.c: Rearranged inclusion of .inl file a bit
441 to avoid compiler warnings.
443 1999-06-21 Gary Thomas <gthomas@cygnus.co.uk>
445 * include/pkgconf/io_serial.h: Fix CDL for number of buffers.
447 * src/powerpc/quicc_smc_serial.c: Force number of buffers = 1.
449 1999-06-20 Gary Thomas <gthomas@cygnus.co.uk>
451 * include/pkgconf/io_serial.h: Some clean up (removed commented
452 obsolete CDL parenting structure).
453 Add support for Motorola PowerPC QUICC/SMC.
455 * src/arm/cma230_serial.c:
456 * src/arm/cl7211_serial.c:
457 * src/arm/aeb_serial.c:
458 * src/arm/pid_serial_with_ints.c: Use #include to get 'diag_printf()'
461 1999-06-17 Gary Thomas <gthomas@cygnus.co.uk>
463 * src/arm/cl7211_serial.c (cl7211_serial_start_xmit): Fix race which
464 cause xmitter to get stuck.
466 1999-06-16 Jesper Skov <jskov@cygnus.co.uk>
468 * src/sh/sh_serial.c: [removed]
469 * src/sh/sh_sci_serial.c: [added]
470 * src/sh/sh_sci_7708.inl: [added]
471 * include/pkgconf/io_serial.h:
472 * src/PKGconf.mak (EXTRAS_COMPILE):
473 * tests/ser_test_protocol.inl:
474 Renamed CDL options and restructered driver.
477 1999-06-04 Jesper Skov <jskov@cygnus.co.uk>
479 * include/pkgconf/io_serial.h: Fixed CDL string for BAUD rate option.
481 1999-06-04 Gary Thomas <gthomas@cygnus.co.uk>
483 * tests/ser_test_protocol.inl: Disable testing at 115200
484 for Cogent CMA230 (ARM).
486 * src/arm/cma230_serial.c: Fix interrupt for port B.
488 1999-05-31 Jesper Skov <jskov@cygnus.co.uk>
490 * src/sh/sh_serial.c: Fixed receive interrupts and added handler for
493 1999-05-28 Jesper Skov <jskov@cygnus.co.uk>
495 * io/serial/current/src/PKGconf.mak:
496 * io/serial/current/tests/ser_test_protocol.inl:
497 * include/pkgconf/io_serial.h:
498 Renamed SH platform package to edk7708.
500 1999-05-27 Jesper Skov <jskov@cygnus.co.uk>
502 * tests/ser_test_protocol.inl: Added ability to change options in
505 1999-05-27 Jonathan Larmour <jlarmour@cygnus.co.uk>
507 * src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
508 Wait for the serial device to become acquiescent before disabling
509 it. This prevents cygmon's outgoing characters getting corrupted
510 due to transmission being disabled.
513 1999-05-26 Gary Thomas <gthomas@cygnus.co.uk>
515 * include/pkgconf/io_serial.h:
516 * tests/ser_test_protocol.inl: Add Cogent CMA230 setup.
518 * src/arm/cma230_serial.c: Make names compatible with Cogent
521 1999-05-26 Gary Thomas <gthomas@cygnus.co.uk>
523 * tests/ser_test_protocol.inl: Add Cirrus Logic CL7211 setup.
524 1999-05-26 Jesper Skov <jskov@cygnus.co.uk>
526 * src/sh/sh_serial.c: Added more baud rate values. Disabled
527 interrupt driven receive. Fixed config_port to enable proper
530 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
532 * tests/ser_test_protocol.inl:
533 Change all mentions of CYGPKG_HAL_TX39_JMR3904 to
534 CYGPKG_HAL_MIPS_TX39_JMR3904
536 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
538 * src/PKGconf.mak (EXTRAS_COMPILE): Change CYG_HAL_TX39 to
540 1999-05-25 Jesper Skov <jskov@cygnus.co.uk>
542 * tests/ser_test_protocol.inl: Added sh entry.
544 1999-05-24 Jesper Skov <jskov@cygnus.co.uk>
547 * include/pkgconf/io_serial.h:
548 * src/sh/sh_serial.c:
551 1999-05-18 Jesper Skov <jskov@cygnus.co.uk>
553 * src/sparclite/sleb_sdtr.c (sleb_sdtr_rx_DSR): Only read chan if
556 1999-05-18 Jesper Skov <jskov@cygnus.co.uk>
558 * src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Only read char
561 1999-05-16 Gary Thomas <gthomas@cygnus.co.uk>
563 * src/arm/cl7211_serial.c: Clean up, first working version.
565 1999-05-14 Jesper Skov <jskov@cygnus.co.uk>
567 * tests/ser_test_protocol.inl: Removed workaround for spurious
570 * src/arm/aeb_serial.c:
571 * src/arm/aeb_serial.h:
572 * src/arm/pid_serial_with_ints.c:
573 * src/arm/pid_serial.h:
574 * src/powerpc/cogent_serial.h:
575 * src/powerpc/cogent_serial_with_ints.c:
576 Check for receive interrupt before reading.
578 1999-05-13 Nick Garnett <nickg@cygnus.co.uk>
580 The follow changes were made in a branch an have now been merged:
582 1999-04-21 Gary Thomas <gthomas@cygnus.co.uk>
584 * src/mips/vrc4373_serial.c: Small changes to get working with
587 1999-04-20 John Dallaway <jld@cygnus.co.uk>
589 * include/pkgconf/io_serial.h: Fix CYGPKG_IO_SERIAL_TX39_JMR3904
592 1999-05-11 Gary Thomas <gthomas@cygnus.co.uk>
594 * src/arm/cl7211_serial.c: Fix compile problems from merged code.
596 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
598 * tests/ser_test_protocol.inl: Tidied up a bit and added
599 description of protocol.
601 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
603 * src/common/serial.c (serial_write, serial_read): Clear abort
606 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
608 * tests/serial4.c (serial_test): Handle config fails correctly.
610 * tests/ser_test_protocol.inl: Better change_config
611 handling. Simple recovery and negotiation isn't timing
614 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
616 * tests/timeout.inl: Updated with the below changes.
618 1999-05-05 Gary Thomas <gthomas@cygnus.co.uk>
620 * misc/timeout.inl (timeout): Timeouts are relative, but alarms
621 need absolute time values.
623 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
625 * tests/serial1.c (serial_test): Always PASS, regardless of
628 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
630 * tests/ser_test_protocol.inl: Reverse order of configurations -
631 run tests with slow baud rate first.
632 Only check CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT for SLEB on RAM startup.
634 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
635 * src/mn10300/mn10300_serial.c:
636 Use interrupt enable/disable feature of serial port2 to allow
637 coexistence with CygMon/hal_diag.
639 * tests/ser_test_protocol.inl: Use port2 for MN10300.
641 1999-04-28 Bart Veer <bartv@cygnus.co.uk>
643 * src/PKGconf.mak (EXTRAS_COMPILE):
644 Use the new rules for generating libextras.a
646 1999-04-26 Gary Thomas <gthomas@cygnus.co.uk>
648 * include/pkgconf/io_serial.h: Add support for Cirrus Logic CL7211.
651 1999-04-20 Gary Thomas <gthomas@cygnus.co.uk>
653 * src/arm/aeb_serial.c:
654 * src/arm/pid_serial_with_ints.c: Fix default baud rate if unbuffered.
655 1999-04-20 Jesper Skov <jskov@cygnus.co.uk>
657 * tests/ser_test_protocol.inl: Added some comments. Disabled 38400
658 for SLEB. Only run test on SLEB if CygMon isn't used for diag
661 1999-04-15 Jesper Skov <jskov@cygnus.co.uk>
665 Run these tests at a lower baud rate on ARM AEB.
667 1999-04-14 Jesper Skov <jskov@cygnus.co.uk>
669 * src/mn10300/mn10300_serial.c:
670 Fix compiler warnings.
672 1999-04-14 Bart Veer <bartv@cygnus.co.uk>
674 * include/pkgconf/io_serial.h:
675 Reparent the board-specific serial devices below the actual boards.
677 1999-04-13 Jesper Skov <jskov@cygnus.co.uk>
679 * tests/ser_test_protocol.inl:
680 NA when run from simulator.
682 1999-04-12 Jesper Skov <jskov@cygnus.co.uk>
684 * tests/ser_test_protocol.inl:
685 Disabled 115200 for MN10300.
686 Reclaim interrupt vectors from CygMon when testing on SLEB.
688 1999-04-09 Gary Thomas <gthomas@cygnus.co.uk>
690 * include/serial.h: Change SERIAL_CHANNEL setup so all channels
691 have serial callbacks, regardless of buffering.
693 1999-04-09 Jesper Skov <jskov@cygnus.co.uk>
696 * include/pkgconf/io_serial.h:
697 Added new ttydiag device layered on top of haldiag, so that tty0
698 can be layered on top of ser0.
700 1999-04-08 Jesper Skov <jskov@cygnus.co.uk>
702 * tests/tty1.c: [added]
703 * tests/tty2.c: [added]
705 * tests/ser_test_protocol.inl:
706 Added two simple TTY tests.
708 1999-04-07 Hugo Tyson <hmt@cygnus.co.uk>
710 * src/sparclite/sleb_sdtr.h: Include cyg/hal/hal_io.h for I/O
711 macros instead of hal_diag.h where they had evolved before.
713 1999-04-06 Jesper Skov <jskov@cygnus.co.uk>
715 * tests/serial4.c (serial_test):
716 * tests/serial3.c (serial_test):
719 1999-03-31 Jesper Skov <jskov@cygnus.co.uk>
721 * tests/ser_test_protocol.inl: Added remaining targets to the
724 1999-03-31 Gary Thomas <gthomas@cygnus.co.uk>
726 * src/sparclite/sleb_sdtr.c (sleb_sdtr_start_xmit): Fix timing race
727 when enabling xmit interrupts.
729 1999-03-26 Gary Thomas <gthomas@cygnus.co.uk>
731 * src/sparclite/sleb_sdtr.c: Change how the port is set up. The transmitter
732 is now always enabled, just the interrupts are masked/unmasked to control it.
733 This lets the serial driver cooperate with Cygmon on the port used for GDB.
734 Note that currently serial input does not work for CON1 since Cygmon is
735 taking all of the receive interrupts for itself.
736 (sleb_sdtr_tx_DSR): Need to keep track whether xmit interrupt should be
737 enabled - otherwise it can get enabled incorrectly and we get interrupted
740 1999-03-26 Jesper Skov <jskov@cygnus.co.uk>
742 * tests/ser_test_protocol.inl: Send a DONE message after a no-echo
745 1999-03-26 Hugo Tyson <hmt@cygnus.co.uk>
752 Make these build when no kernel present; include of testcase
753 was the wrong side of the ifdef.
755 1999-03-26 Jesper Skov <jskov@cygnus.co.uk>
762 Moved NOP check to ser_test_protocol open call.
764 * tests/ser_test_protocol.inl: Make sure the proper device is
765 selected for testing. Do NOP check in open call.
767 1999-03-25 Gary Thomas <gthomas@cygnus.co.uk>
769 * include/pkgconf/io_serial.h:
771 * src/arm/aeb_serial.c:
772 * src/arm/pid_serial_with_ints.c:
774 * src/mips/tx3904_serial.c:
775 * src/mn10300/mn10300_serial.c:
776 * src/powerpc/cogent_serial_with_ints.c:
777 * src/sparclite/sleb_sdtr.c: Update CDL to follow naming conventions.
779 * src/mips/tx3904_serial.c (tx3904_serial_config_port):
780 Make sure port is enabled (CDL) before using it.
782 * src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
783 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
784 * src/arm/aeb_serial.c (aeb_serial_config_port):
785 * src/arm/pid_serial_with_ints.c (pid_serial_config_port): Change so that
786 the physical port is not modified unless the provided configuration is valid.
788 * src/sparclite/sleb_sdtr.c (sleb_sdtr_config_port):
789 Using wrong config data.
791 * include/serialio.h: Add macros to support baud rate from CDL.
793 * include/pkgconf/io_serial.h:
794 * src/mn10300/mn10300_serial.c:
795 * src/mips/tx3904_serial.c (tx3904_serial_ISR):
796 * src/sparclite/sleb_sdtr.c:
797 * src/powerpc/cogent_serial_with_ints.c:
798 * src/arm/pid_serial_with_ints.c:
799 * src/arm/aeb_serial.c: Add configury for baud rate and buffer size.
801 1999-03-24 Nick Garnett <nickg@cygnus.co.uk>
803 * src/mips/tx3904_serial.c:
804 Now uses CYGHWR_HAL_MIPS_CPU_FREQ_ACTUAL to get CPU
805 frequency. This is a little more accurate than using
806 CYGHWR_HAL_MIPS_CPU_FREQ.
808 1999-03-24 Gary Thomas <gthomas@cygnus.co.uk>
810 * include/serialio.h (CYGNUM_SERIAL_BAUD_MIN/MAX): Add for completeness.
812 * src/arm/aeb_serial.c (aeb_serial_stop_xmit):
813 * src/arm/pid_serial_with_ints.c (pid_serial_stop_xmit): Fix typo in comment.
815 1999-03-24 Jesper Skov <jskov@cygnus.co.uk>
817 * tests/ser_test_protocol.inl: Weeded out configs TX39 doesn't
820 * src/powerpc/cogent_serial.h:
821 Added copyright header.
823 * tests/ser_test_protocol.inl:
829 Don't try to run tests when no IO device has been specified.
831 1999-03-23 Jesper Skov <jskov@cygnus.co.uk>
833 * misc/serial1.c, misc/serial2.c, misc/serial3.c, misc/serial4.c,
834 * misc/serial5.c, misc/ser_test_protocol.inl
837 1999-03-23 Jesper Skov <jskov@cygnus.co.uk>
847 * tests/ser_test_protocol.inl:
848 Moved the serial tests from the misc directory to the tests
851 1999-03-23 Nick Garnett <nickg@cygnus.co.uk>
853 * src/mn10300/mn10300_serial.c: Now initially mask TX interrupts
854 at initialization and unmask/remask in start/stop xmit
855 routines. This has no real effect on the hardware, but the
856 simulator does not implement the LCR_TXE bit properly, resulting
857 in spurious TX interrupts during diagnostic output.
858 This was the cause of the slow output reported in PR 19559.
860 1999-03-23 Gary Thomas <gthomas@cygnus.co.uk>
862 * include/pkgconf/io_serial.h: Fix "display" strings to have appropriate
863 case - mostly lower case.
865 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk>
874 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
875 CYGNUM_HAL_MINIMUM_STACK_SIZE.
877 1999-03-22 Gary Thomas <gthomas@cygnus.co.uk>
879 * src/mn10300/mn10300_serial.c:
880 * src/mips/tx3904_serial.c: Add CDL configury.
882 * include/pkgconf/io_serial.h: Update CDL to add device name
883 configurability for all devices.
885 * src/sparclite/sleb_sdtr.c:
886 * src/powerpc/cogent_serial_with_ints.c:
887 * src/arm/aeb_serial.c:
888 * src/arm/pid_serial_with_ints.c: Use CDL configured device names.
890 1999-03-22 Jesper Skov <jskov@lassi.cygnus.co.uk>
897 Requires kernel as well.
899 1999-03-22 Jesper Skov <jskov@cygnus.co.uk>
901 * src/sparclite/sleb_sdtr.c:
902 Moved include statement to avoid warnings.
904 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
906 * misc/ser_test_protocol.inl:
909 Replace complex and not very stable duplex test with a simpler
910 test that works better.
911 Added serial5 using that test.
913 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
918 Added API test and made serial2 do simple string output.
920 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
922 * src/powerpc/cogent_serial_with_ints.c: Changed ToDo comment.
924 1999-03-19 Jesper Skov <jskov@lassi.cygnus.co.uk>
926 * src/powerpc/cogent_serial_with_ints.c:
927 * src/arm/aeb_serial.c:
928 * src/arm/pid_serial_with_ints.c:
929 Moved include statement to avoid warnings.
931 1999-03-19 Gary Thomas <gthomas@cygnus.co.uk>
933 * include/pkgconf/io_serial.h: More CDL problems.
935 1999-03-18 Gary Thomas <gthomas@cygnus.co.uk>
937 * include/pkgconf/io_serial.h: Add CDL for SPARClite SLEB.
939 * src/powerpc/cogent_serial_with_ints.c:
940 * src/arm/pid_serial_with_ints.c:
941 * src/arm/aeb_serial.c: Update device names to match CDL.
943 * include/pkgconf/io_serial.h: Change names for serial ports to
944 be CYGPKG_IO_SERIAL_<arch>_<platform>_<port>.
946 1999-03-18 Jesper Skov <jskov@cygnus.co.uk>
948 * misc/ser_test_protocol.inl:
950 First stab at the duplex binary test. Still much fun to be had...
952 1999-03-18 Jesper Skov <jskov@cygnus.co.uk>
954 * misc/ser_test_protocol.inl: Added timeout for PING.
956 1999-03-18 Gary Thomas <gthomas@cygnus.co.uk>
958 * src/common/serial.c: Change ABORT functionality to be DSR safe.
959 (serial_get_config): Fix typo!
961 * include/pkgconf/io_serial.h: Small change in CDL to make serial
962 devices tied to the platform and not the serial I/O package. This
963 means that only the devices appropriate to a given platform can be
966 * misc/serial.c: Better use of alarms - only trigger at the time of
967 the next timeout. Moved timeout functions to new file "timeout.inl".
969 * src/common/serial.c (serial_get_config): Add support for
970 CYG_IO_GET_CONFIG_SERIAL_INPUT_FLUSH and CYG_IO_GET_CONFIG_SERIAL_ABORT.
972 * misc/serial.c: Add simple timeout mechanisms.
974 1999-03-17 Gary Thomas <gthomas@cygnus.co.uk>
976 * src/powerpc/cogent_serial_with_ints.c:
977 * src/arm/aeb_serial.c:
978 * src/arm/pid_serial_with_ints.c: Conditionalize based on CDL.
980 * include/pkgconf/io_serial.h: Add some CDL configury - not perfect
981 because of current ~CDL limitations.
983 1999-03-17 Jesper Skov <jskov@cygnus.co.uk>
985 * misc/serial2.c: Cleaned up a bit. Used for hacking new tests.
987 1999-03-17 Jesper Skov <jskov@cygnus.co.uk>
990 * misc/ser_test_protocol.inl:
994 Put testing protocol implementation in a separate file. Split the
995 tests in serial2 into separate files.
997 1999-03-16 Nick Garnett <nickg@cygnus.co.uk>
999 * src/mn10300/mn10300_serial.c: Fixed some compiler warnings.
1001 1999-03-15 Gary Thomas <gthomas@cygnus.co.uk>
1003 * include/pkgconf/io_serial.h: Change default configurations.
1004 No serial drivers enabled for PID port A or AEB.
1006 * src/sparclite/sleb_sdtr.c:
1007 * src/powerpc/cogent_serial_with_ints.c:
1008 * src/arm/aeb_serial.c:
1009 * src/arm/pid_serial_with_ints.c:
1010 * src/common/haldiag.c:
1012 * src/common/serial.c: Add 'CYGDBG_IO_INIT' for control of init
1015 * src/powerpc/cogent_serial_with_ints.c:
1016 * src/sparclite/sleb_sdtr.c:
1017 * src/arm/aeb_serial.c:
1018 * src/arm/pid_serial_with_ints.c: Don't include <cyg/kernel/kapi.h>
1020 1999-03-15 Jesper Skov <jskov@cygnus.co.uk>
1022 * misc/serial2.c (serial_test): Fix use of strlen. Fix DONE part
1025 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1027 * misc/serial2.c: Play a bit with timing. Think I broke it :(
1028 Added DONE to BINARY packet.
1029 Proper call to DRAIN.
1031 1999-03-12 Nick Garnett <nickg@cygnus.co.uk>
1033 * src/mips/tx3904_serial.c: Tidied away some debugging code.
1035 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1037 * misc/serial2.c: Removed bogus config changes.
1039 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1041 * misc/serial2.c (serial_test): Check for ser_filter on host (PING
1044 1999-03-11 Jesper Skov <jskov@cygnus.co.uk>
1046 * src/powerpc/cogent_serial_with_ints.c: Added note.
1049 Added (almost) proper configuration handling.
1050 Run tests on varying configurations.
1052 1999-03-11 Nick Garnett <nickg@cygnus.co.uk>
1054 * src/mips/tx3904_serial.c:
1055 Many changes to get working.
1057 * misc/console.c (console_test): Fixed compiler warning.
1060 Added device name for TX39 testing.
1061 Fixed some bugs in Tcyg_io_write() macro.
1063 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1065 * misc/serial2.c: Added target specific test device name.
1067 1999-03-10 John Dallaway <jld@cygnus.co.uk>
1069 * include/pkgconf/io_serial.h: Correct CDL description spelling.
1071 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1073 * src/powerpc/cogent_serial_with_ints.c:
1075 Fixed compiler warnings.
1077 1999-03-10 Gary Thomas <gthomas@cygnus.co.uk>
1079 * include/pkgconf/io_serial.h: Improve CDL descriptions.
1081 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1083 * misc/serial2.c (serial_test): Do some more tests with changed
1086 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1088 * misc/serial2.c (serial_test): Added workaround for spurious byte
1089 problem. Added a few more tests to run.
1091 * src/powerpc/cogent_serial_with_ints.c
1092 (cogent_serial_config_port): Remove interrupt enabling.
1094 1999-03-09 Nick Garnett <nickg@cygnus.co.uk>
1097 * src/mips/tx3904_serial.c:
1098 Added initial version of TX39 device driver. Currently untested
1099 but eliminates PR19445.
1101 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1103 * misc/serial2.c: DRAIN function works now.
1105 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1107 * include/pkgconf/io_serial.h: Only enable one serial driver per
1110 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1112 * misc/serial2.c (serial_test): Be a bit more aggressive.
1114 * src/powerpc/cogent_serial_with_ints.c: Check that configuration
1117 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1119 * src/powerpc/cogent_serial_with_ints.c:
1120 Added support for both ports.
1122 * include/pkgconf/io_serial.h: Added simple defines for cogent
1123 serial ports. No CDL yet.
1125 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1127 * misc/serial.c: Removed PID references. Fixed compiler warnings.
1129 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1131 * src/powerpc/cogent_serial_with_ints.c: Cleaned up a
1132 bit. Actually works now.
1134 1999-03-08 Gary Thomas <gthomas@cygnus.co.uk>
1136 * src/common/serial.c: Change in cyg_drv_cond_wait() behaviour
1137 means DSR lock should be left alone.
1139 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1141 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_init): Set
1142 valid interrupt priority.
1144 1999-03-05 Nick Garnett <nickg@cygnus.co.uk>
1146 * src/mn10300/mn10300_serial.c (mn10300_serial_init):
1147 Added extra test to avoid initializing serial 2 when CYGMON is
1149 Include hal_intr.h explicitly for use in non-kernel
1152 * src/common/serial.c:
1153 Added extra test before calls to cyg_drv_cond_wait() to avoid race
1154 condition. This is not, however, a complete solution to this
1155 problem. A better solution will be forthcoming.
1158 Changed include files used to permit non-kernel configurations to
1161 1999-03-05 Jesper Skov <jskov@cygnus.co.uk>
1163 * src/common/haldiag.c: Removed diag_printf declaration.
1165 1999-03-05 Jonathan Larmour <jlarmour@cygnus.co.uk>
1167 * src/mn10300/mn10300_serial.c:
1168 Change CYG_VECTOR_* to CYGNUM_HAL_INTERRUPT_* to get it to compile!
1170 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
1172 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
1173 Fix renaming of interrupt vectors.
1175 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
1177 * src/arm/pid_serial_with_ints.c: Fix interrupt vectors.
1179 1999-03-03 Gary Thomas <gthomas@cygnus.co.uk>
1181 * serial/current/src/arm/pid_serial_with_ints.c:
1182 New [somewhat] configurable drivers for PID.
1184 //===========================================================================
1185 //####ECOSGPLCOPYRIGHTBEGIN####
1186 // -------------------------------------------
1187 // This file is part of eCos, the Embedded Configurable Operating System.
1188 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
1190 // eCos is free software; you can redistribute it and/or modify it under
1191 // the terms of the GNU General Public License as published by the Free
1192 // Software Foundation; either version 2 or (at your option) any later version.
1194 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
1195 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
1196 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1197 // for more details.
1199 // You should have received a copy of the GNU General Public License along
1200 // with eCos; if not, write to the Free Software Foundation, Inc.,
1201 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
1203 // As a special exception, if other files instantiate templates or use macros
1204 // or inline functions from this file, or you compile this file and link it
1205 // with other works to produce a work based on this file, this file does not
1206 // by itself cause the resulting work to be covered by the GNU General Public
1207 // License. However the source code for this file must still be made available
1208 // in accordance with section (3) of the GNU General Public License.
1210 // This exception does not invalidate any other reasons why a work based on
1211 // this file might be covered by the GNU General Public License.
1213 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
1214 // at http://sources.redhat.com/ecos/ecos-license/
1215 // -------------------------------------------
1216 //####ECOSGPLCOPYRIGHTEND####
1217 //===========================================================================