1 2006-01-27 Will Wagner <willw@carallon.com>
3 * src/quicc_smc_serial.h: Removed unused structure
4 * src/quicc_smc_serial.c(quicc_smc_serial_config_port): Corrected CLEN in SMCMR
5 * src/quicc_smc_serial.c(quicc_smc_serial_DSR & quicc_scc_serial_DSR): Better handling of frame and parity errors
7 2004-05-10 Robert Chenault <robertchenault@yahoo.com>
9 * src/quicc_smc_serial.h: Added two casts of (int) on
10 calculations involving CYGHWR_HAL_POWERPC_BOARD_SPEED.
12 2004-01-24 Philip Soeberg <ecos@soeberg.net>
14 * src/quicc_smc_serial.c(quicc_sxx_serial_init): SCC3 support
17 2003-10-13 Gary Thomas <gary@mlbassoc.com>
19 * src/quicc_smc_serial.c: Add some I/O barriers to make sure that
20 operations happen in the correct order. Fixes BUG #90391
22 2003-10-08 Gary Thomas <gary@mlbassoc.com>
24 * src/quicc_smc_serial.c: Fix compile error for Adder-II (852T)
26 2003-09-08 Gary Thomas <gary@mlbassoc.com>
28 * src/quicc_smc_serial.h: Fix baud rate clock setup - was off by 1.
29 Reported by Tord Andersson <Tord.Andersson@combitechsystems.com>
31 2003-03-31 Gary Thomas <gary@mlbassoc.com>
33 * src/quicc_smc_serial.c (quicc_sxx_serial_init): Handle SCC3 on
34 various processors (signal routing differs).
36 2003-03-28 Gary Thomas <gary@mlbassoc.com>
38 * src/quicc_smc_serial.c: Change how buffers are allocated & aligned
39 to a cache line - previous attempt wasted a huge amount of space.
41 2003-03-23 Gary Thomas <gary@mlbassoc.com>
43 * src/quicc_smc_serial.h: Move common definitions to common
44 include file (in HAL).
46 * src/quicc_smc_serial.c:
47 * cdl/ser_quicc_smc.cdl: Remove options for baud rate generator
48 assignment - use more generic [automatic] support.
50 2003-03-17 Gary Thomas <gary@mlbassoc.com>
52 * src/quicc_smc_serial.h:
53 * src/quicc_smc_serial.c:
54 * cdl/ser_quicc_smc.cdl: Add support for SCC1/SCC2/SCC3. Inspired
55 by Paul Randall <prandall@delta-info.com>
57 2003-03-05 Gary Thomas <gary@mlbassoc.com>
59 * src/quicc_smc_serial.c: Use common routines to manage CPM/DPRAM
60 pointers - much nicer in a multi-driver environment.
62 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
64 * cdl/ser_quicc_smc.cdl: Remove irrelevant doc link.
66 2002-12-10 Gary Thomas <gthomas@ecoscentric.com>
68 * cdl/ser_quicc_smc.cdl: Only enable devices which exist - as described
69 by the HAL/CDL interfaces.
71 2001-11-30 Jonathan Larmour <jlarmour@redhat.com>
72 2001-11-29 Christoph Csebits <christoph.csebits@frequentis.com>
74 * src/quicc_smc_serial.c:
75 aligning buffer to cache lines,
76 flushing buffer in cache before flushing the device.
78 2001-09-10 Jonathan Larmour <jlarmour@redhat.com>
80 * cdl/ser_quicc_smc.cdl:
81 Fix 234000->230400 typo.
83 2000-12-22 Björn Stenberg <bjorn@haxx.se>
85 * src/quicc_smc_serial.c (quicc_smc_serial_init_info):
86 Set quicc going only after most of the other initialization is
87 complete - otherwise initializing too early causes some of the
88 parameters not to be initialized properly.
90 2000-12-13 Daniel Lind <daniel.lind@sth.frontec.se>
92 * src/quicc_smc_serial.c (quicc_smc_serial_flush):
93 Don't mark a buffer ready unless it has been fully serviced - in
94 particular, the interrupt bit must be clear.
95 [2000-12-13] committed by Gary Thomas <gthomas@redhat.com>
97 2000-12-06 Jonathan Larmour <jlarmour@redhat.com>
99 * src/quicc_smc_serial.c: Remove unread tx_enabled variable from
100 quicc_smc_serial_info
101 Ensure quicc serial interrupt is unmasked in general so that rx works!
102 (quicc_smc_serial_start_xmit): Protect better from DSR interruption
104 2000-10-24 Jonathan Larmour <jlarmour@redhat.com>
106 * src/quicc_smc_serial.c (quicc_smc_serial_ISR): Return with
107 CYG_ISR_HANDLED (reported by Daniel Lind)
109 2000-08-01 Jonathan Larmour <jlarmour@redhat.co.uk>
111 * src/quicc_smc_serial.c (quicc_smc_serial_set_config): Now use keys
112 to make more flexible.
114 2000-06-22 Hugo Tyson <hmt@cygnus.co.uk>
116 * cdl/<yournamehere>.cdl: Remove the comment on the empty
117 include_files directive; the tools now support this correctly.
118 This keeps internal include files internal.
120 2000-04-11 Hugo Tyson <hmt@cygnus.co.uk>
122 * cdl/ser_quicc_smc.cdl: Change the parent from CYGPKG_IO_SERIAL
123 (which is enabled most of the time) to CYGPKG_IO_SERIAL_DEVICES
124 (which is not...) thus allowing convenient control independent of
125 platform. Also enable all individual devices by default, now, so
126 that they can be enabled simply by enabling the above new parent.
128 2000-04-07 Hugo Tyson <hmt@cygnus.co.uk>
130 * ecos.db: Re-organize device packages. This is a massive change
131 involving deleting all the sources for serial and ethernet drivers
132 from where they used to live in
133 packages/io/serial/current/src/ARCH/PLATFORM.[ch]
134 packages/net/drivers/eth/PLATFORM/current/src/...
135 and reinstating them in
136 packages/devs/serial/ARCH/PLATFORM/current/src/...
137 packages/devs/eth/ARCH/PLATFORM/current/src/...
139 All these new packages are properly defined in ecos.db, and are
140 all of type "hardware" so that a "target" can grab them.
142 This directory layout is descriptive of the devices we have right
143 now, arch and platform are separate levels just to make it easier
144 to navigate in the filesystem and similar to the HAL structure in
147 It is *not* prescriptive of future work; for example, the mythical
148 common highly-portable 16550 serial driver which works on many
149 targets would be called "devs/serial/s16550/current", or a serial
150 device for a particular board (cogent springs to mind) that can
151 work with different CPUs fitted is "devs/serial/cogent/current".
153 Changelogs have been preserved and replicated over all the new
154 packages, so that no history is lost.
156 The contents of individual source files are unchanged; they build
157 in just the same emvironment except for a very few cases where the
158 config file name changed in this movement.
160 Targets in ecos.db have been redefined to bring in all relevant
161 hardware packages including net and serial drivers (but the newly
162 included packages are only active if their desired parent is
165 The names of CDL options (and their #defines of course) stay the
166 same for the serial drivers, for backward compatibility.
168 * templates/*/current.ect: these have had CYGPKG_IO_SERIAL added
169 rather than it being in (almost) all target definitions.
171 2000-04-05 Jonathan Larmour <jlarmour@redhat.co.uk>
173 * src/common/tty.c (tty_read): CRLF conversion should use \r\n not \n\r
174 (tty_write): Similarly
176 * include/ttyio.h: Update CYG_TTY_IN_FLAGS_CRLF and
177 CYG_TTY_IN_FLAGS_CRLF to match
179 2000-03-31 Jesper Skov <jskov@redhat.com>
181 * cdl/ser_sh_edk7708.cdl: Limit legal baud rate range.
182 * src/sh/sh_sci_serial.c: Use baud rate macro instead of hardwired
185 2000-03-28 John Dallaway <jld@cygnus.co.uk>
189 cdl/ser_arm_cma230.cdl,
190 cdl/ser_arm_edb7xxx.cdl,
193 cdl/ser_mips_jmr3904.cdl,
194 cdl/ser_mips_vrc4373.cdl,
196 cdl/ser_powerpc_cogent.cdl,
197 cdl/ser_quicc_smc.cdl,
198 cdl/ser_sh_edk7708.cdl,
199 cdl/ser_sparclite_sleb.cdl,
202 Adjust documentation URLs.
204 2000-03-07 Jesper Skov <jskov@redhat.com>
206 * cdl/ser_mips_jmr3904.cdl: Rename devices to match CDL naming.
208 2000-02-29 Jonathan Larmour <jlarmour@redhat.co.uk>
210 * include/serialio.h: Correct baud rate typo: 230400 rather than
211 234000. Thanks to Grant Edwards for the report.
213 2000-02-28 Gary Thomas <gthomas@cygnus.co.uk>
215 * src/powerpc/quicc_smc_serial.c: Use standard 'diag_dump_buf()'.
217 2000-02-28 Jesper Skov <jskov@redhat.com>
219 * tests/ser_test_protocol.inl: Allow 115200 baud on Cogent
220 again. Fixed interrupt problem.
222 2000-02-22 Jesper Skov <jskov@redhat.com>
224 * tests/ser_test_protocol.inl: Don't use 115200 baud on
225 Cogent. Our slower boards can't keep up.
227 2000-02-17 Gary Thomas <gthomas@cygnus.co.uk>
229 * cdl/ser_powerpc_cogent.cdl: Fix incorrect dependency.
231 2000-02-16 Nick Garnett <nickg@cygnus.co.uk>
233 * include/pkgconf/io_serial.h:
234 Added configury for PC serial device drivers.
236 * cdl/ser_i386_pc.cdl:
237 * src/i386/pc_serial.c:
238 * src/i386/pc_serial.h:
239 Added these files to implement PC serial line drivers.
242 Added CYGPKG_IO_SERIAL_I386_PC.
244 * tests/ser_test_protocol.inl:
245 Added support for PC serial line testing.
247 2000-02-11 Jesper Skov <jskov@redhat.com>
249 * src/sh/sh_sci_7708.inl (DEVTAB_ENTRY):
250 * src/sparclite/sleb_sdtr.c:
251 serial_devio => cyg_io_serial_devio
253 2000-02-10 Jonathan Larmour <jlarmour@redhat.co.uk>
255 * src/mn10300/mn10300_serial.c: Ensure all CYG_HAL_MN10300_*
256 preprocessor conditionals use the correct CYGPKG_HAL_MN10300_AM3* form
259 2000-02-03 Jesper Skov <jskov@redhat.com>
261 * src/powerpc/quicc_smc_serial.c: CYG_HAL_POWERPC_x->CYGPKG_...
263 2000-02-02 Jonathan Larmour <jlarmour@redhat.co.uk>
265 * src/arm/aeb_serial.h: Rename lower case register macros to REG_ upper
268 * src/arm/aeb_serial.c: Update to reflect above
270 2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk>
273 Adjust help URLs in line with new doc layout.
275 2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk>
278 Adjust help URLs in line with new doc layout.
280 2000-01-28 Gary Thomas <gthomas@cygnus.co.uk>
282 * src/common/tty.c (tty_read): Fix problem with backspace at start
283 of line (size must be 'signed' for compare to work).
285 2000-01-19 Hugo Tyson <hmt@cygnus.co.uk>
287 * cdl/*.cdl: Add descriptions to a number of options &c which were
288 lacking same, also tidied up other typos as noticed en passant.
290 2000-01-17 Gary Thomas <gthomas@cygnus.co.uk>
292 * src/common/tty.c (tty_read): Avoid echoing "backspace/erase" at
295 2000-01-05 Gary Thomas <gthomas@cygnus.co.uk>
297 * src/common/serial.c (serial_write): Avoid potential deadlock if
298 transmit start actually sends enough characters to signal cond wait.
300 2000-01-03 Gary Thomas <gthomas@cygnus.co.uk>
302 * include/serial.h: Fix namespace pollution -
303 serial_devio => cyg_io_serial_devio
304 serial_callbacks => cyg_io_serial_callbacks
306 * src/mips/tx3904_serial.c:
307 * src/mips/vrc4373_serial.c:
308 * src/mn10300/mn10300_serial.c:
309 * src/powerpc/quicc_smc_serial.c:
310 * src/powerpc/cogent_serial_with_ints.c:
311 * src/sparclite/sleb_sdtr.c:
312 * src/arm/aeb_serial.c:
313 * src/arm/pid_serial_with_ints.c:
314 * src/arm/edb7xxx_serial.c:
315 * src/arm/cma230_serial.c:
316 * src/arm/ebsa285_serial.c:
317 * src/common/haldiag.c:
318 * src/common/serial.c: Fix namespace pollution -
319 serial_devio => cyg_io_serial_devio
321 1999-12-06 Gary Thomas <gthomas@cygnus.co.uk>
323 * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Add loop to handle
324 case where an interrupt represents multiple events.
326 1999-11-19 Gary Thomas <gthomas@cygnus.co.uk>
328 * src/powerpc/quicc_smc_serial.c: Channel select for SMC2 was wrong.
330 1999-11-18 Gary Thomas <gthomas@cygnus.co.uk>
332 * include/pkgconf/io_serial.h: Remove mention of 7209/7212.
334 1999-11-03 John Dallaway <jld@cygnus.co.uk>
336 * cdl/io_serial.cdl: Define build options.
338 1999-10-26 Jesper Skov <jskov@cygnus.co.uk>
339 * tests/serial5.c (serial_test): Reduce speed in thumb mode.
341 * src/arm/pid_serial.h: Added BE support.
343 * src/PKGconf.mak: Use CYGPKG_<> instead of CYG_<> to control what
344 needs to be compiled.
346 1999-10-25 Gary Thomas <gthomas@cygnus.co.uk>
348 * src/arm/pid_serial.h (ISR_RxTO): Define - character received but
349 not handled "promptly".
351 * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Handle rcv interrupts
352 properly (can't ignore them even with TO bit set).
354 * src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Need to handle all
355 input (empty input FIFO) otherwise characters get dropped.
357 1999-10-15 Jesper Skov <jskov@cygnus.co.uk>
359 * tests/ser_test_protocol.inl: Removed AEB rev C change. Was bogus.
361 1999-10-11 Nick Garnett <nickg@cygnus.co.uk>
363 * tests/ser_test_protocol.inl: Added configury for VR4300 testing.
365 * src/mips/vrc4373_serial.c: Added Bi-endian support.
367 * include/pkgconf/io_serial.h: Adjusted default baud rates to
370 1999-10-06 Jesper Skov <jskov@cygnus.co.uk>
372 * tests/ser_test_protocol.inl: Run tests on AEB rev C as well.
374 1999-09-28 Hugo Tyson <hmt@cygnus.co.uk>
376 * src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): Correct
377 value supplied for interrupt priority - it may be unused, but it
378 is asserted for range. Initialize the diagnostic channel if on an
379 MBX and if NOT using SMC1 ourselves, to ensure that diag output
380 and built-in stubs work correctly; otherwise reset the quicc and
381 ignore SMC1 as before. Fix various warnings, mostly about
382 casting/arg-passing/assigning away volatile.
384 1999-08-31 Jesper Skov <jskov@cygnus.co.uk>
386 * tests/ser_test_protocol.inl: Define dummy crash ID.
388 1999-08-30 Jesper Skov <jskov@cygnus.co.uk>
390 * tests/ser_test_protocol.inl: Added crash information which
391 should help track down repeating errors.
393 1999-08-20 Jesper Skov <jskov@cygnus.co.uk>
395 * tests/README: Added.
397 1999-08-18 Jesper Skov <jskov@cygnus.co.uk>
407 Require kernel and kernel C API.
409 1999-08-17 Nick Garnett <nickg@cygnus.co.uk>
411 * src/mn10300/mn10300_serial.c: Added a simple implementation of a
412 receive FIFO to try and reduce the overhead of receiving bytes.
414 1999-08-16 Jonathan Larmour <jlarmour@cygnus.co.uk>
417 * src/mn10300/mn10300_serial.c:
418 * tests/ser_test_protocol.inl:
419 Rename all am32 -> am31
421 1999-08-12 Nick Garnett <nickg@cygnus.co.uk>
423 Imported following changes from development branch:
425 1999-08-11 Nick Garnett <nickg@cygnus.co.uk>
427 * tests/serial5.c: Modified config test for boards that need a lower
430 * tests/ser_test_protocol.inl: Removed 14400 baud tests for all
431 MN10300 variants. The MN10300 cannot currently do this speed.
433 * src/mn10300/mn10300_serial.c: Tidied up the transmit interrupt
434 enable/disable code to be variant specific.
436 * include/pkgconf/io_serial.h: Undid Jonathan's change, since the
437 same options are used for all MN10300 variants.
439 1999-08-10 Jonathan Larmour <jlarmour@cygnus.co.uk>
441 * include/pkgconf/io_serial.h:
442 Reparent CYGPKG_IO_SERIAL_MN10300 from under CYGPKG_HAL_MN10300 to
443 CYGPKG_HAL_MN10300_AM32_STDEVAL1 since it's stdeval1 specific
445 1999-08-04 Nick Garnett <nickg@cygnus.co.uk>
447 * tests/ser_test_protocol.inl:
448 Changed names of MN10300 defines tested. Added AM33 definitions.
450 * src/mn10300/mn10300_serial.c:
451 Modified driver to work on am33 too. This simply requires some
452 alternate definitions of things like register addresses and some
453 bits in them plus some extra parameterization of some register
457 Added am33 to list of architectures supporting serial lines.
459 1999-07-28 Gary Thomas <gthomas@cygnus.co.uk>
461 * include/pkgconf/io_serial.h: Update descriptions to be more
462 generic (CL7x11 instead of CL7211).
464 1999-07-28 Jonathan Larmour <jlarmour@cygnus.co.uk>
466 * include/pkgconf/io_serial.h: Correct typos in CDL description
467 for serial port 2 driver
469 1999-07-26 Hugo Tyson <hmt@cygnus.co.uk>
471 * src/arm/ebsa285_serial.c: New file: device driver for the serial
472 device of the Intel StrongARM EBSA-285 evaluation board.
474 * include/pkgconf/io_serial.h (CYGPKG_IO_SERIAL_ARM_EBSA285):
477 * src/PKGconf.mak (EXTRAS_COMPILE): Compile it.
479 * tests/ser_test_protocol.inl (TEST_SER_DEV): Enable testing of it.
481 1999-07-08 Jesper Skov <jskov@cygnus.co.uk>
483 * tests/ser_test_protocol.inl (change_config): Changed implementation.
485 1999-06-27 Gary Thomas <gthomas@cygnus.co.uk>
487 * src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): More robust
488 initialization, with data cache disabled. This seems to fix the
489 random failures described below.
491 * tests/ser_test_protocol.inl: Add configuration for QUICC/MBX860.
492 Added some delays in the configuration change code to make QUICC
493 happy [didn't help much although the manual says they are required].
495 * src/powerpc/quicc_smc_serial.h (UART_BITRATE): Rewrote macro to
496 match what the Linux driver uses - still doesn't work well, though.
498 * src/powerpc/quicc_smc_serial.c: Lots of changes trying to get the
499 serial driver working and robust. At this point it works quite well,
500 using the default buffer sizes. Changing from the defaults seem to
501 easily break it though, certainly on input. Also, changing the baud
502 rate seems to not work reliably.
504 * src/common/serial.c: Add some tracing/debug info to try and debug
505 problems with QUICC serial driver. These are hard disabled with
506 "XX_" prepended to "CYGDBG_DIAG_BUF". Enabling them gives information
507 about how/when data are delivered from the serial driver.
509 * include/pkgconf/io_serial.h: Adjust limits and defaults on number and
510 size of buffers with values that seem to work.
512 1999-06-21 Jesper Skov <jskov@cygnus.co.uk>
514 * src/sh/sh_sci_serial.c: Rearranged inclusion of .inl file a bit
515 to avoid compiler warnings.
517 1999-06-21 Gary Thomas <gthomas@cygnus.co.uk>
519 * include/pkgconf/io_serial.h: Fix CDL for number of buffers.
521 * src/powerpc/quicc_smc_serial.c: Force number of buffers = 1.
523 1999-06-20 Gary Thomas <gthomas@cygnus.co.uk>
525 * include/pkgconf/io_serial.h: Some clean up (removed commented
526 obsolete CDL parenting structure).
527 Add support for Motorola PowerPC QUICC/SMC.
529 * src/arm/cma230_serial.c:
530 * src/arm/cl7211_serial.c:
531 * src/arm/aeb_serial.c:
532 * src/arm/pid_serial_with_ints.c: Use #include to get 'diag_printf()'
535 1999-06-17 Gary Thomas <gthomas@cygnus.co.uk>
537 * src/arm/cl7211_serial.c (cl7211_serial_start_xmit): Fix race which
538 cause xmitter to get stuck.
540 1999-06-16 Jesper Skov <jskov@cygnus.co.uk>
542 * src/sh/sh_serial.c: [removed]
543 * src/sh/sh_sci_serial.c: [added]
544 * src/sh/sh_sci_7708.inl: [added]
545 * include/pkgconf/io_serial.h:
546 * src/PKGconf.mak (EXTRAS_COMPILE):
547 * tests/ser_test_protocol.inl:
548 Renamed CDL options and restructered driver.
551 1999-06-04 Jesper Skov <jskov@cygnus.co.uk>
553 * include/pkgconf/io_serial.h: Fixed CDL string for BAUD rate option.
555 1999-06-04 Gary Thomas <gthomas@cygnus.co.uk>
557 * tests/ser_test_protocol.inl: Disable testing at 115200
558 for Cogent CMA230 (ARM).
560 * src/arm/cma230_serial.c: Fix interrupt for port B.
562 1999-05-31 Jesper Skov <jskov@cygnus.co.uk>
564 * src/sh/sh_serial.c: Fixed receive interrupts and added handler for
567 1999-05-28 Jesper Skov <jskov@cygnus.co.uk>
569 * io/serial/current/src/PKGconf.mak:
570 * io/serial/current/tests/ser_test_protocol.inl:
571 * include/pkgconf/io_serial.h:
572 Renamed SH platform package to edk7708.
574 1999-05-27 Jesper Skov <jskov@cygnus.co.uk>
576 * tests/ser_test_protocol.inl: Added ability to change options in
579 1999-05-27 Jonathan Larmour <jlarmour@cygnus.co.uk>
581 * src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
582 Wait for the serial device to become acquiescent before disabling
583 it. This prevents cygmon's outgoing characters getting corrupted
584 due to transmission being disabled.
587 1999-05-26 Gary Thomas <gthomas@cygnus.co.uk>
589 * include/pkgconf/io_serial.h:
590 * tests/ser_test_protocol.inl: Add Cogent CMA230 setup.
592 * src/arm/cma230_serial.c: Make names compatible with Cogent
595 1999-05-26 Gary Thomas <gthomas@cygnus.co.uk>
597 * tests/ser_test_protocol.inl: Add Cirrus Logic CL7211 setup.
598 1999-05-26 Jesper Skov <jskov@cygnus.co.uk>
600 * src/sh/sh_serial.c: Added more baud rate values. Disabled
601 interrupt driven receive. Fixed config_port to enable proper
604 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
606 * tests/ser_test_protocol.inl:
607 Change all mentions of CYGPKG_HAL_TX39_JMR3904 to
608 CYGPKG_HAL_MIPS_TX39_JMR3904
610 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
612 * src/PKGconf.mak (EXTRAS_COMPILE): Change CYG_HAL_TX39 to
614 1999-05-25 Jesper Skov <jskov@cygnus.co.uk>
616 * tests/ser_test_protocol.inl: Added sh entry.
618 1999-05-24 Jesper Skov <jskov@cygnus.co.uk>
621 * include/pkgconf/io_serial.h:
622 * src/sh/sh_serial.c:
625 1999-05-18 Jesper Skov <jskov@cygnus.co.uk>
627 * src/sparclite/sleb_sdtr.c (sleb_sdtr_rx_DSR): Only read chan if
630 1999-05-18 Jesper Skov <jskov@cygnus.co.uk>
632 * src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Only read char
635 1999-05-16 Gary Thomas <gthomas@cygnus.co.uk>
637 * src/arm/cl7211_serial.c: Clean up, first working version.
639 1999-05-14 Jesper Skov <jskov@cygnus.co.uk>
641 * tests/ser_test_protocol.inl: Removed workaround for spurious
644 * src/arm/aeb_serial.c:
645 * src/arm/aeb_serial.h:
646 * src/arm/pid_serial_with_ints.c:
647 * src/arm/pid_serial.h:
648 * src/powerpc/cogent_serial.h:
649 * src/powerpc/cogent_serial_with_ints.c:
650 Check for receive interrupt before reading.
652 1999-05-13 Nick Garnett <nickg@cygnus.co.uk>
654 The follow changes were made in a branch an have now been merged:
656 1999-04-21 Gary Thomas <gthomas@cygnus.co.uk>
658 * src/mips/vrc4373_serial.c: Small changes to get working with
661 1999-04-20 John Dallaway <jld@cygnus.co.uk>
663 * include/pkgconf/io_serial.h: Fix CYGPKG_IO_SERIAL_TX39_JMR3904
666 1999-05-11 Gary Thomas <gthomas@cygnus.co.uk>
668 * src/arm/cl7211_serial.c: Fix compile problems from merged code.
670 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
672 * tests/ser_test_protocol.inl: Tidied up a bit and added
673 description of protocol.
675 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
677 * src/common/serial.c (serial_write, serial_read): Clear abort
680 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
682 * tests/serial4.c (serial_test): Handle config fails correctly.
684 * tests/ser_test_protocol.inl: Better change_config
685 handling. Simple recovery and negotiation isn't timing
688 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
690 * tests/timeout.inl: Updated with the below changes.
692 1999-05-05 Gary Thomas <gthomas@cygnus.co.uk>
694 * misc/timeout.inl (timeout): Timeouts are relative, but alarms
695 need absolute time values.
697 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
699 * tests/serial1.c (serial_test): Always PASS, regardless of
702 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
704 * tests/ser_test_protocol.inl: Reverse order of configurations -
705 run tests with slow baud rate first.
706 Only check CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT for SLEB on RAM startup.
708 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
709 * src/mn10300/mn10300_serial.c:
710 Use interrupt enable/disable feature of serial port2 to allow
711 coexistence with CygMon/hal_diag.
713 * tests/ser_test_protocol.inl: Use port2 for MN10300.
715 1999-04-28 Bart Veer <bartv@cygnus.co.uk>
717 * src/PKGconf.mak (EXTRAS_COMPILE):
718 Use the new rules for generating libextras.a
720 1999-04-26 Gary Thomas <gthomas@cygnus.co.uk>
722 * include/pkgconf/io_serial.h: Add support for Cirrus Logic CL7211.
725 1999-04-20 Gary Thomas <gthomas@cygnus.co.uk>
727 * src/arm/aeb_serial.c:
728 * src/arm/pid_serial_with_ints.c: Fix default baud rate if unbuffered.
729 1999-04-20 Jesper Skov <jskov@cygnus.co.uk>
731 * tests/ser_test_protocol.inl: Added some comments. Disabled 38400
732 for SLEB. Only run test on SLEB if CygMon isn't used for diag
735 1999-04-15 Jesper Skov <jskov@cygnus.co.uk>
739 Run these tests at a lower baud rate on ARM AEB.
741 1999-04-14 Jesper Skov <jskov@cygnus.co.uk>
743 * src/mn10300/mn10300_serial.c:
744 Fix compiler warnings.
746 1999-04-14 Bart Veer <bartv@cygnus.co.uk>
748 * include/pkgconf/io_serial.h:
749 Reparent the board-specific serial devices below the actual boards.
751 1999-04-13 Jesper Skov <jskov@cygnus.co.uk>
753 * tests/ser_test_protocol.inl:
754 NA when run from simulator.
756 1999-04-12 Jesper Skov <jskov@cygnus.co.uk>
758 * tests/ser_test_protocol.inl:
759 Disabled 115200 for MN10300.
760 Reclaim interrupt vectors from CygMon when testing on SLEB.
762 1999-04-09 Gary Thomas <gthomas@cygnus.co.uk>
764 * include/serial.h: Change SERIAL_CHANNEL setup so all channels
765 have serial callbacks, regardless of buffering.
767 1999-04-09 Jesper Skov <jskov@cygnus.co.uk>
770 * include/pkgconf/io_serial.h:
771 Added new ttydiag device layered on top of haldiag, so that tty0
772 can be layered on top of ser0.
774 1999-04-08 Jesper Skov <jskov@cygnus.co.uk>
776 * tests/tty1.c: [added]
777 * tests/tty2.c: [added]
779 * tests/ser_test_protocol.inl:
780 Added two simple TTY tests.
782 1999-04-07 Hugo Tyson <hmt@cygnus.co.uk>
784 * src/sparclite/sleb_sdtr.h: Include cyg/hal/hal_io.h for I/O
785 macros instead of hal_diag.h where they had evolved before.
787 1999-04-06 Jesper Skov <jskov@cygnus.co.uk>
789 * tests/serial4.c (serial_test):
790 * tests/serial3.c (serial_test):
793 1999-03-31 Jesper Skov <jskov@cygnus.co.uk>
795 * tests/ser_test_protocol.inl: Added remaining targets to the
798 1999-03-31 Gary Thomas <gthomas@cygnus.co.uk>
800 * src/sparclite/sleb_sdtr.c (sleb_sdtr_start_xmit): Fix timing race
801 when enabling xmit interrupts.
803 1999-03-26 Gary Thomas <gthomas@cygnus.co.uk>
805 * src/sparclite/sleb_sdtr.c: Change how the port is set up. The transmitter
806 is now always enabled, just the interrupts are masked/unmasked to control it.
807 This lets the serial driver cooperate with Cygmon on the port used for GDB.
808 Note that currently serial input does not work for CON1 since Cygmon is
809 taking all of the receive interrupts for itself.
810 (sleb_sdtr_tx_DSR): Need to keep track whether xmit interrupt should be
811 enabled - otherwise it can get enabled incorrectly and we get interrupted
814 1999-03-26 Jesper Skov <jskov@cygnus.co.uk>
816 * tests/ser_test_protocol.inl: Send a DONE message after a no-echo
819 1999-03-26 Hugo Tyson <hmt@cygnus.co.uk>
826 Make these build when no kernel present; include of testcase
827 was the wrong side of the ifdef.
829 1999-03-26 Jesper Skov <jskov@cygnus.co.uk>
836 Moved NOP check to ser_test_protocol open call.
838 * tests/ser_test_protocol.inl: Make sure the proper device is
839 selected for testing. Do NOP check in open call.
841 1999-03-25 Gary Thomas <gthomas@cygnus.co.uk>
843 * include/pkgconf/io_serial.h:
845 * src/arm/aeb_serial.c:
846 * src/arm/pid_serial_with_ints.c:
848 * src/mips/tx3904_serial.c:
849 * src/mn10300/mn10300_serial.c:
850 * src/powerpc/cogent_serial_with_ints.c:
851 * src/sparclite/sleb_sdtr.c: Update CDL to follow naming conventions.
853 * src/mips/tx3904_serial.c (tx3904_serial_config_port):
854 Make sure port is enabled (CDL) before using it.
856 * src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
857 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
858 * src/arm/aeb_serial.c (aeb_serial_config_port):
859 * src/arm/pid_serial_with_ints.c (pid_serial_config_port): Change so that
860 the physical port is not modified unless the provided configuration is valid.
862 * src/sparclite/sleb_sdtr.c (sleb_sdtr_config_port):
863 Using wrong config data.
865 * include/serialio.h: Add macros to support baud rate from CDL.
867 * include/pkgconf/io_serial.h:
868 * src/mn10300/mn10300_serial.c:
869 * src/mips/tx3904_serial.c (tx3904_serial_ISR):
870 * src/sparclite/sleb_sdtr.c:
871 * src/powerpc/cogent_serial_with_ints.c:
872 * src/arm/pid_serial_with_ints.c:
873 * src/arm/aeb_serial.c: Add configury for baud rate and buffer size.
875 1999-03-24 Nick Garnett <nickg@cygnus.co.uk>
877 * src/mips/tx3904_serial.c:
878 Now uses CYGHWR_HAL_MIPS_CPU_FREQ_ACTUAL to get CPU
879 frequency. This is a little more accurate than using
880 CYGHWR_HAL_MIPS_CPU_FREQ.
882 1999-03-24 Gary Thomas <gthomas@cygnus.co.uk>
884 * include/serialio.h (CYGNUM_SERIAL_BAUD_MIN/MAX): Add for completeness.
886 * src/arm/aeb_serial.c (aeb_serial_stop_xmit):
887 * src/arm/pid_serial_with_ints.c (pid_serial_stop_xmit): Fix typo in comment.
889 1999-03-24 Jesper Skov <jskov@cygnus.co.uk>
891 * tests/ser_test_protocol.inl: Weeded out configs TX39 doesn't
894 * src/powerpc/cogent_serial.h:
895 Added copyright header.
897 * tests/ser_test_protocol.inl:
903 Don't try to run tests when no IO device has been specified.
905 1999-03-23 Jesper Skov <jskov@cygnus.co.uk>
907 * misc/serial1.c, misc/serial2.c, misc/serial3.c, misc/serial4.c,
908 * misc/serial5.c, misc/ser_test_protocol.inl
911 1999-03-23 Jesper Skov <jskov@cygnus.co.uk>
921 * tests/ser_test_protocol.inl:
922 Moved the serial tests from the misc directory to the tests
925 1999-03-23 Nick Garnett <nickg@cygnus.co.uk>
927 * src/mn10300/mn10300_serial.c: Now initially mask TX interrupts
928 at initialization and unmask/remask in start/stop xmit
929 routines. This has no real effect on the hardware, but the
930 simulator does not implement the LCR_TXE bit properly, resulting
931 in spurious TX interrupts during diagnostic output.
932 This was the cause of the slow output reported in PR 19559.
934 1999-03-23 Gary Thomas <gthomas@cygnus.co.uk>
936 * include/pkgconf/io_serial.h: Fix "display" strings to have appropriate
937 case - mostly lower case.
939 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk>
948 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
949 CYGNUM_HAL_MINIMUM_STACK_SIZE.
951 1999-03-22 Gary Thomas <gthomas@cygnus.co.uk>
953 * src/mn10300/mn10300_serial.c:
954 * src/mips/tx3904_serial.c: Add CDL configury.
956 * include/pkgconf/io_serial.h: Update CDL to add device name
957 configurability for all devices.
959 * src/sparclite/sleb_sdtr.c:
960 * src/powerpc/cogent_serial_with_ints.c:
961 * src/arm/aeb_serial.c:
962 * src/arm/pid_serial_with_ints.c: Use CDL configured device names.
964 1999-03-22 Jesper Skov <jskov@lassi.cygnus.co.uk>
971 Requires kernel as well.
973 1999-03-22 Jesper Skov <jskov@cygnus.co.uk>
975 * src/sparclite/sleb_sdtr.c:
976 Moved include statement to avoid warnings.
978 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
980 * misc/ser_test_protocol.inl:
983 Replace complex and not very stable duplex test with a simpler
984 test that works better.
985 Added serial5 using that test.
987 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
992 Added API test and made serial2 do simple string output.
994 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
996 * src/powerpc/cogent_serial_with_ints.c: Changed ToDo comment.
998 1999-03-19 Jesper Skov <jskov@lassi.cygnus.co.uk>
1000 * src/powerpc/cogent_serial_with_ints.c:
1001 * src/arm/aeb_serial.c:
1002 * src/arm/pid_serial_with_ints.c:
1003 Moved include statement to avoid warnings.
1005 1999-03-19 Gary Thomas <gthomas@cygnus.co.uk>
1007 * include/pkgconf/io_serial.h: More CDL problems.
1009 1999-03-18 Gary Thomas <gthomas@cygnus.co.uk>
1011 * include/pkgconf/io_serial.h: Add CDL for SPARClite SLEB.
1013 * src/powerpc/cogent_serial_with_ints.c:
1014 * src/arm/pid_serial_with_ints.c:
1015 * src/arm/aeb_serial.c: Update device names to match CDL.
1017 * include/pkgconf/io_serial.h: Change names for serial ports to
1018 be CYGPKG_IO_SERIAL_<arch>_<platform>_<port>.
1020 1999-03-18 Jesper Skov <jskov@cygnus.co.uk>
1022 * misc/ser_test_protocol.inl:
1024 First stab at the duplex binary test. Still much fun to be had...
1026 1999-03-18 Jesper Skov <jskov@cygnus.co.uk>
1028 * misc/ser_test_protocol.inl: Added timeout for PING.
1030 1999-03-18 Gary Thomas <gthomas@cygnus.co.uk>
1032 * src/common/serial.c: Change ABORT functionality to be DSR safe.
1033 (serial_get_config): Fix typo!
1035 * include/pkgconf/io_serial.h: Small change in CDL to make serial
1036 devices tied to the platform and not the serial I/O package. This
1037 means that only the devices appropriate to a given platform can be
1040 * misc/serial.c: Better use of alarms - only trigger at the time of
1041 the next timeout. Moved timeout functions to new file "timeout.inl".
1043 * src/common/serial.c (serial_get_config): Add support for
1044 CYG_IO_GET_CONFIG_SERIAL_INPUT_FLUSH and CYG_IO_GET_CONFIG_SERIAL_ABORT.
1046 * misc/serial.c: Add simple timeout mechanisms.
1048 1999-03-17 Gary Thomas <gthomas@cygnus.co.uk>
1050 * src/powerpc/cogent_serial_with_ints.c:
1051 * src/arm/aeb_serial.c:
1052 * src/arm/pid_serial_with_ints.c: Conditionalize based on CDL.
1054 * include/pkgconf/io_serial.h: Add some CDL configury - not perfect
1055 because of current ~CDL limitations.
1057 1999-03-17 Jesper Skov <jskov@cygnus.co.uk>
1059 * misc/serial2.c: Cleaned up a bit. Used for hacking new tests.
1061 1999-03-17 Jesper Skov <jskov@cygnus.co.uk>
1064 * misc/ser_test_protocol.inl:
1068 Put testing protocol implementation in a separate file. Split the
1069 tests in serial2 into separate files.
1071 1999-03-16 Nick Garnett <nickg@cygnus.co.uk>
1073 * src/mn10300/mn10300_serial.c: Fixed some compiler warnings.
1075 1999-03-15 Gary Thomas <gthomas@cygnus.co.uk>
1077 * include/pkgconf/io_serial.h: Change default configurations.
1078 No serial drivers enabled for PID port A or AEB.
1080 * src/sparclite/sleb_sdtr.c:
1081 * src/powerpc/cogent_serial_with_ints.c:
1082 * src/arm/aeb_serial.c:
1083 * src/arm/pid_serial_with_ints.c:
1084 * src/common/haldiag.c:
1086 * src/common/serial.c: Add 'CYGDBG_IO_INIT' for control of init
1089 * src/powerpc/cogent_serial_with_ints.c:
1090 * src/sparclite/sleb_sdtr.c:
1091 * src/arm/aeb_serial.c:
1092 * src/arm/pid_serial_with_ints.c: Don't include <cyg/kernel/kapi.h>
1094 1999-03-15 Jesper Skov <jskov@cygnus.co.uk>
1096 * misc/serial2.c (serial_test): Fix use of strlen. Fix DONE part
1099 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1101 * misc/serial2.c: Play a bit with timing. Think I broke it :(
1102 Added DONE to BINARY packet.
1103 Proper call to DRAIN.
1105 1999-03-12 Nick Garnett <nickg@cygnus.co.uk>
1107 * src/mips/tx3904_serial.c: Tidied away some debugging code.
1109 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1111 * misc/serial2.c: Removed bogus config changes.
1113 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1115 * misc/serial2.c (serial_test): Check for ser_filter on host (PING
1118 1999-03-11 Jesper Skov <jskov@cygnus.co.uk>
1120 * src/powerpc/cogent_serial_with_ints.c: Added note.
1123 Added (almost) proper configuration handling.
1124 Run tests on varying configurations.
1126 1999-03-11 Nick Garnett <nickg@cygnus.co.uk>
1128 * src/mips/tx3904_serial.c:
1129 Many changes to get working.
1131 * misc/console.c (console_test): Fixed compiler warning.
1134 Added device name for TX39 testing.
1135 Fixed some bugs in Tcyg_io_write() macro.
1137 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1139 * misc/serial2.c: Added target specific test device name.
1141 1999-03-10 John Dallaway <jld@cygnus.co.uk>
1143 * include/pkgconf/io_serial.h: Correct CDL description spelling.
1145 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1147 * src/powerpc/cogent_serial_with_ints.c:
1149 Fixed compiler warnings.
1151 1999-03-10 Gary Thomas <gthomas@cygnus.co.uk>
1153 * include/pkgconf/io_serial.h: Improve CDL descriptions.
1155 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1157 * misc/serial2.c (serial_test): Do some more tests with changed
1160 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1162 * misc/serial2.c (serial_test): Added workaround for spurious byte
1163 problem. Added a few more tests to run.
1165 * src/powerpc/cogent_serial_with_ints.c
1166 (cogent_serial_config_port): Remove interrupt enabling.
1168 1999-03-09 Nick Garnett <nickg@cygnus.co.uk>
1171 * src/mips/tx3904_serial.c:
1172 Added initial version of TX39 device driver. Currently untested
1173 but eliminates PR19445.
1175 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1177 * misc/serial2.c: DRAIN function works now.
1179 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1181 * include/pkgconf/io_serial.h: Only enable one serial driver per
1184 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1186 * misc/serial2.c (serial_test): Be a bit more aggressive.
1188 * src/powerpc/cogent_serial_with_ints.c: Check that configuration
1191 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1193 * src/powerpc/cogent_serial_with_ints.c:
1194 Added support for both ports.
1196 * include/pkgconf/io_serial.h: Added simple defines for cogent
1197 serial ports. No CDL yet.
1199 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1201 * misc/serial.c: Removed PID references. Fixed compiler warnings.
1203 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1205 * src/powerpc/cogent_serial_with_ints.c: Cleaned up a
1206 bit. Actually works now.
1208 1999-03-08 Gary Thomas <gthomas@cygnus.co.uk>
1210 * src/common/serial.c: Change in cyg_drv_cond_wait() behaviour
1211 means DSR lock should be left alone.
1213 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1215 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_init): Set
1216 valid interrupt priority.
1218 1999-03-05 Nick Garnett <nickg@cygnus.co.uk>
1220 * src/mn10300/mn10300_serial.c (mn10300_serial_init):
1221 Added extra test to avoid initializing serial 2 when CYGMON is
1223 Include hal_intr.h explicitly for use in non-kernel
1226 * src/common/serial.c:
1227 Added extra test before calls to cyg_drv_cond_wait() to avoid race
1228 condition. This is not, however, a complete solution to this
1229 problem. A better solution will be forthcoming.
1232 Changed include files used to permit non-kernel configurations to
1235 1999-03-05 Jesper Skov <jskov@cygnus.co.uk>
1237 * src/common/haldiag.c: Removed diag_printf declaration.
1239 1999-03-05 Jonathan Larmour <jlarmour@cygnus.co.uk>
1241 * src/mn10300/mn10300_serial.c:
1242 Change CYG_VECTOR_* to CYGNUM_HAL_INTERRUPT_* to get it to compile!
1244 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
1246 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
1247 Fix renaming of interrupt vectors.
1249 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
1251 * src/arm/pid_serial_with_ints.c: Fix interrupt vectors.
1253 1999-03-03 Gary Thomas <gthomas@cygnus.co.uk>
1255 * serial/current/src/arm/pid_serial_with_ints.c:
1256 New [somewhat] configurable drivers for PID.
1258 //===========================================================================
1259 //####ECOSGPLCOPYRIGHTBEGIN####
1260 // -------------------------------------------
1261 // This file is part of eCos, the Embedded Configurable Operating System.
1262 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
1264 // eCos is free software; you can redistribute it and/or modify it under
1265 // the terms of the GNU General Public License as published by the Free
1266 // Software Foundation; either version 2 or (at your option) any later version.
1268 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
1269 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
1270 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1271 // for more details.
1273 // You should have received a copy of the GNU General Public License along
1274 // with eCos; if not, write to the Free Software Foundation, Inc.,
1275 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
1277 // As a special exception, if other files instantiate templates or use macros
1278 // or inline functions from this file, or you compile this file and link it
1279 // with other works to produce a work based on this file, this file does not
1280 // by itself cause the resulting work to be covered by the GNU General Public
1281 // License. However the source code for this file must still be made available
1282 // in accordance with section (3) of the GNU General Public License.
1284 // This exception does not invalidate any other reasons why a work based on
1285 // this file might be covered by the GNU General Public License.
1287 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
1288 // at http://sources.redhat.com/ecos/ecos-license/
1289 // -------------------------------------------
1290 //####ECOSGPLCOPYRIGHTEND####
1291 //===========================================================================