1 2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
3 * cdl/ser_mn10300.cdl: Remove irrelevant doc link.
5 2001-09-10 Jonathan Larmour <jlarmour@redhat.com>
8 Fix 234000->230400 typo.
10 2000-08-01 Jonathan Larmour <jlarmour@redhat.co.uk>
12 * src/mn10300_serial.c (mn10300_serial_set_config): Now use keys to make
15 2000-06-22 Hugo Tyson <hmt@cygnus.co.uk>
17 * cdl/<yournamehere>.cdl: Remove the comment on the empty
18 include_files directive; the tools now support this correctly.
19 This keeps internal include files internal.
21 2000-04-11 Hugo Tyson <hmt@cygnus.co.uk>
23 * cdl/ser_mn10300.cdl: Change the parent from CYGPKG_IO_SERIAL
24 (which is enabled most of the time) to CYGPKG_IO_SERIAL_DEVICES
25 (which is not...) thus allowing convenient control independent of
26 platform. Also enable all individual devices by default, now, so
27 that they can be enabled simply by enabling the above new parent.
29 2000-04-07 Hugo Tyson <hmt@cygnus.co.uk>
31 * ecos.db: Re-organize device packages. This is a massive change
32 involving deleting all the sources for serial and ethernet drivers
33 from where they used to live in
34 packages/io/serial/current/src/ARCH/PLATFORM.[ch]
35 packages/net/drivers/eth/PLATFORM/current/src/...
36 and reinstating them in
37 packages/devs/serial/ARCH/PLATFORM/current/src/...
38 packages/devs/eth/ARCH/PLATFORM/current/src/...
40 All these new packages are properly defined in ecos.db, and are
41 all of type "hardware" so that a "target" can grab them.
43 This directory layout is descriptive of the devices we have right
44 now, arch and platform are separate levels just to make it easier
45 to navigate in the filesystem and similar to the HAL structure in
48 It is *not* prescriptive of future work; for example, the mythical
49 common highly-portable 16550 serial driver which works on many
50 targets would be called "devs/serial/s16550/current", or a serial
51 device for a particular board (cogent springs to mind) that can
52 work with different CPUs fitted is "devs/serial/cogent/current".
54 Changelogs have been preserved and replicated over all the new
55 packages, so that no history is lost.
57 The contents of individual source files are unchanged; they build
58 in just the same emvironment except for a very few cases where the
59 config file name changed in this movement.
61 Targets in ecos.db have been redefined to bring in all relevant
62 hardware packages including net and serial drivers (but the newly
63 included packages are only active if their desired parent is
66 The names of CDL options (and their #defines of course) stay the
67 same for the serial drivers, for backward compatibility.
69 * templates/*/current.ect: these have had CYGPKG_IO_SERIAL added
70 rather than it being in (almost) all target definitions.
72 2000-04-05 Jonathan Larmour <jlarmour@redhat.co.uk>
74 * src/common/tty.c (tty_read): CRLF conversion should use \r\n not \n\r
75 (tty_write): Similarly
77 * include/ttyio.h: Update CYG_TTY_IN_FLAGS_CRLF and
78 CYG_TTY_IN_FLAGS_CRLF to match
80 2000-03-31 Jesper Skov <jskov@redhat.com>
82 * cdl/ser_sh_edk7708.cdl: Limit legal baud rate range.
83 * src/sh/sh_sci_serial.c: Use baud rate macro instead of hardwired
86 2000-03-28 John Dallaway <jld@cygnus.co.uk>
90 cdl/ser_arm_cma230.cdl,
91 cdl/ser_arm_edb7xxx.cdl,
94 cdl/ser_mips_jmr3904.cdl,
95 cdl/ser_mips_vrc4373.cdl,
97 cdl/ser_powerpc_cogent.cdl,
98 cdl/ser_quicc_smc.cdl,
99 cdl/ser_sh_edk7708.cdl,
100 cdl/ser_sparclite_sleb.cdl,
103 Adjust documentation URLs.
105 2000-03-07 Jesper Skov <jskov@redhat.com>
107 * cdl/ser_mips_jmr3904.cdl: Rename devices to match CDL naming.
109 2000-02-29 Jonathan Larmour <jlarmour@redhat.co.uk>
111 * include/serialio.h: Correct baud rate typo: 230400 rather than
112 234000. Thanks to Grant Edwards for the report.
114 2000-02-28 Gary Thomas <gthomas@cygnus.co.uk>
116 * src/powerpc/quicc_smc_serial.c: Use standard 'diag_dump_buf()'.
118 2000-02-28 Jesper Skov <jskov@redhat.com>
120 * tests/ser_test_protocol.inl: Allow 115200 baud on Cogent
121 again. Fixed interrupt problem.
123 2000-02-22 Jesper Skov <jskov@redhat.com>
125 * tests/ser_test_protocol.inl: Don't use 115200 baud on
126 Cogent. Our slower boards can't keep up.
128 2000-02-17 Gary Thomas <gthomas@cygnus.co.uk>
130 * cdl/ser_powerpc_cogent.cdl: Fix incorrect dependency.
132 2000-02-16 Nick Garnett <nickg@cygnus.co.uk>
134 * include/pkgconf/io_serial.h:
135 Added configury for PC serial device drivers.
137 * cdl/ser_i386_pc.cdl:
138 * src/i386/pc_serial.c:
139 * src/i386/pc_serial.h:
140 Added these files to implement PC serial line drivers.
143 Added CYGPKG_IO_SERIAL_I386_PC.
145 * tests/ser_test_protocol.inl:
146 Added support for PC serial line testing.
148 2000-02-11 Jesper Skov <jskov@redhat.com>
150 * src/sh/sh_sci_7708.inl (DEVTAB_ENTRY):
151 * src/sparclite/sleb_sdtr.c:
152 serial_devio => cyg_io_serial_devio
154 2000-02-10 Jonathan Larmour <jlarmour@redhat.co.uk>
156 * src/mn10300/mn10300_serial.c: Ensure all CYG_HAL_MN10300_*
157 preprocessor conditionals use the correct CYGPKG_HAL_MN10300_AM3* form
160 2000-02-03 Jesper Skov <jskov@redhat.com>
162 * src/powerpc/quicc_smc_serial.c: CYG_HAL_POWERPC_x->CYGPKG_...
164 2000-02-02 Jonathan Larmour <jlarmour@redhat.co.uk>
166 * src/arm/aeb_serial.h: Rename lower case register macros to REG_ upper
169 * src/arm/aeb_serial.c: Update to reflect above
171 2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk>
174 Adjust help URLs in line with new doc layout.
176 2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk>
179 Adjust help URLs in line with new doc layout.
181 2000-01-28 Gary Thomas <gthomas@cygnus.co.uk>
183 * src/common/tty.c (tty_read): Fix problem with backspace at start
184 of line (size must be 'signed' for compare to work).
186 2000-01-19 Hugo Tyson <hmt@cygnus.co.uk>
188 * cdl/*.cdl: Add descriptions to a number of options &c which were
189 lacking same, also tidied up other typos as noticed en passant.
191 2000-01-17 Gary Thomas <gthomas@cygnus.co.uk>
193 * src/common/tty.c (tty_read): Avoid echoing "backspace/erase" at
196 2000-01-05 Gary Thomas <gthomas@cygnus.co.uk>
198 * src/common/serial.c (serial_write): Avoid potential deadlock if
199 transmit start actually sends enough characters to signal cond wait.
201 2000-01-03 Gary Thomas <gthomas@cygnus.co.uk>
203 * include/serial.h: Fix namespace pollution -
204 serial_devio => cyg_io_serial_devio
205 serial_callbacks => cyg_io_serial_callbacks
207 * src/mips/tx3904_serial.c:
208 * src/mips/vrc4373_serial.c:
209 * src/mn10300/mn10300_serial.c:
210 * src/powerpc/quicc_smc_serial.c:
211 * src/powerpc/cogent_serial_with_ints.c:
212 * src/sparclite/sleb_sdtr.c:
213 * src/arm/aeb_serial.c:
214 * src/arm/pid_serial_with_ints.c:
215 * src/arm/edb7xxx_serial.c:
216 * src/arm/cma230_serial.c:
217 * src/arm/ebsa285_serial.c:
218 * src/common/haldiag.c:
219 * src/common/serial.c: Fix namespace pollution -
220 serial_devio => cyg_io_serial_devio
222 1999-12-06 Gary Thomas <gthomas@cygnus.co.uk>
224 * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Add loop to handle
225 case where an interrupt represents multiple events.
227 1999-11-19 Gary Thomas <gthomas@cygnus.co.uk>
229 * src/powerpc/quicc_smc_serial.c: Channel select for SMC2 was wrong.
231 1999-11-18 Gary Thomas <gthomas@cygnus.co.uk>
233 * include/pkgconf/io_serial.h: Remove mention of 7209/7212.
235 1999-11-03 John Dallaway <jld@cygnus.co.uk>
237 * cdl/io_serial.cdl: Define build options.
239 1999-10-26 Jesper Skov <jskov@cygnus.co.uk>
240 * tests/serial5.c (serial_test): Reduce speed in thumb mode.
242 * src/arm/pid_serial.h: Added BE support.
244 * src/PKGconf.mak: Use CYGPKG_<> instead of CYG_<> to control what
245 needs to be compiled.
247 1999-10-25 Gary Thomas <gthomas@cygnus.co.uk>
249 * src/arm/pid_serial.h (ISR_RxTO): Define - character received but
250 not handled "promptly".
252 * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Handle rcv interrupts
253 properly (can't ignore them even with TO bit set).
255 * src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Need to handle all
256 input (empty input FIFO) otherwise characters get dropped.
258 1999-10-15 Jesper Skov <jskov@cygnus.co.uk>
260 * tests/ser_test_protocol.inl: Removed AEB rev C change. Was bogus.
262 1999-10-11 Nick Garnett <nickg@cygnus.co.uk>
264 * tests/ser_test_protocol.inl: Added configury for VR4300 testing.
266 * src/mips/vrc4373_serial.c: Added Bi-endian support.
268 * include/pkgconf/io_serial.h: Adjusted default baud rates to
271 1999-10-06 Jesper Skov <jskov@cygnus.co.uk>
273 * tests/ser_test_protocol.inl: Run tests on AEB rev C as well.
275 1999-09-28 Hugo Tyson <hmt@cygnus.co.uk>
277 * src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): Correct
278 value supplied for interrupt priority - it may be unused, but it
279 is asserted for range. Initialize the diagnostic channel if on an
280 MBX and if NOT using SMC1 ourselves, to ensure that diag output
281 and built-in stubs work correctly; otherwise reset the quicc and
282 ignore SMC1 as before. Fix various warnings, mostly about
283 casting/arg-passing/assigning away volatile.
285 1999-08-31 Jesper Skov <jskov@cygnus.co.uk>
287 * tests/ser_test_protocol.inl: Define dummy crash ID.
289 1999-08-30 Jesper Skov <jskov@cygnus.co.uk>
291 * tests/ser_test_protocol.inl: Added crash information which
292 should help track down repeating errors.
294 1999-08-20 Jesper Skov <jskov@cygnus.co.uk>
296 * tests/README: Added.
298 1999-08-18 Jesper Skov <jskov@cygnus.co.uk>
308 Require kernel and kernel C API.
310 1999-08-17 Nick Garnett <nickg@cygnus.co.uk>
312 * src/mn10300/mn10300_serial.c: Added a simple implementation of a
313 receive FIFO to try and reduce the overhead of receiving bytes.
315 1999-08-16 Jonathan Larmour <jlarmour@cygnus.co.uk>
318 * src/mn10300/mn10300_serial.c:
319 * tests/ser_test_protocol.inl:
320 Rename all am32 -> am31
322 1999-08-12 Nick Garnett <nickg@cygnus.co.uk>
324 Imported following changes from development branch:
326 1999-08-11 Nick Garnett <nickg@cygnus.co.uk>
328 * tests/serial5.c: Modified config test for boards that need a lower
331 * tests/ser_test_protocol.inl: Removed 14400 baud tests for all
332 MN10300 variants. The MN10300 cannot currently do this speed.
334 * src/mn10300/mn10300_serial.c: Tidied up the transmit interrupt
335 enable/disable code to be variant specific.
337 * include/pkgconf/io_serial.h: Undid Jonathan's change, since the
338 same options are used for all MN10300 variants.
340 1999-08-10 Jonathan Larmour <jlarmour@cygnus.co.uk>
342 * include/pkgconf/io_serial.h:
343 Reparent CYGPKG_IO_SERIAL_MN10300 from under CYGPKG_HAL_MN10300 to
344 CYGPKG_HAL_MN10300_AM32_STDEVAL1 since it's stdeval1 specific
346 1999-08-04 Nick Garnett <nickg@cygnus.co.uk>
348 * tests/ser_test_protocol.inl:
349 Changed names of MN10300 defines tested. Added AM33 definitions.
351 * src/mn10300/mn10300_serial.c:
352 Modified driver to work on am33 too. This simply requires some
353 alternate definitions of things like register addresses and some
354 bits in them plus some extra parameterization of some register
358 Added am33 to list of architectures supporting serial lines.
360 1999-07-28 Gary Thomas <gthomas@cygnus.co.uk>
362 * include/pkgconf/io_serial.h: Update descriptions to be more
363 generic (CL7x11 instead of CL7211).
365 1999-07-28 Jonathan Larmour <jlarmour@cygnus.co.uk>
367 * include/pkgconf/io_serial.h: Correct typos in CDL description
368 for serial port 2 driver
370 1999-07-26 Hugo Tyson <hmt@cygnus.co.uk>
372 * src/arm/ebsa285_serial.c: New file: device driver for the serial
373 device of the Intel StrongARM EBSA-285 evaluation board.
375 * include/pkgconf/io_serial.h (CYGPKG_IO_SERIAL_ARM_EBSA285):
378 * src/PKGconf.mak (EXTRAS_COMPILE): Compile it.
380 * tests/ser_test_protocol.inl (TEST_SER_DEV): Enable testing of it.
382 1999-07-08 Jesper Skov <jskov@cygnus.co.uk>
384 * tests/ser_test_protocol.inl (change_config): Changed implementation.
386 1999-06-27 Gary Thomas <gthomas@cygnus.co.uk>
388 * src/powerpc/quicc_smc_serial.c (quicc_smc_serial_init): More robust
389 initialization, with data cache disabled. This seems to fix the
390 random failures described below.
392 * tests/ser_test_protocol.inl: Add configuration for QUICC/MBX860.
393 Added some delays in the configuration change code to make QUICC
394 happy [didn't help much although the manual says they are required].
396 * src/powerpc/quicc_smc_serial.h (UART_BITRATE): Rewrote macro to
397 match what the Linux driver uses - still doesn't work well, though.
399 * src/powerpc/quicc_smc_serial.c: Lots of changes trying to get the
400 serial driver working and robust. At this point it works quite well,
401 using the default buffer sizes. Changing from the defaults seem to
402 easily break it though, certainly on input. Also, changing the baud
403 rate seems to not work reliably.
405 * src/common/serial.c: Add some tracing/debug info to try and debug
406 problems with QUICC serial driver. These are hard disabled with
407 "XX_" prepended to "CYGDBG_DIAG_BUF". Enabling them gives information
408 about how/when data are delivered from the serial driver.
410 * include/pkgconf/io_serial.h: Adjust limits and defaults on number and
411 size of buffers with values that seem to work.
413 1999-06-21 Jesper Skov <jskov@cygnus.co.uk>
415 * src/sh/sh_sci_serial.c: Rearranged inclusion of .inl file a bit
416 to avoid compiler warnings.
418 1999-06-21 Gary Thomas <gthomas@cygnus.co.uk>
420 * include/pkgconf/io_serial.h: Fix CDL for number of buffers.
422 * src/powerpc/quicc_smc_serial.c: Force number of buffers = 1.
424 1999-06-20 Gary Thomas <gthomas@cygnus.co.uk>
426 * include/pkgconf/io_serial.h: Some clean up (removed commented
427 obsolete CDL parenting structure).
428 Add support for Motorola PowerPC QUICC/SMC.
430 * src/arm/cma230_serial.c:
431 * src/arm/cl7211_serial.c:
432 * src/arm/aeb_serial.c:
433 * src/arm/pid_serial_with_ints.c: Use #include to get 'diag_printf()'
436 1999-06-17 Gary Thomas <gthomas@cygnus.co.uk>
438 * src/arm/cl7211_serial.c (cl7211_serial_start_xmit): Fix race which
439 cause xmitter to get stuck.
441 1999-06-16 Jesper Skov <jskov@cygnus.co.uk>
443 * src/sh/sh_serial.c: [removed]
444 * src/sh/sh_sci_serial.c: [added]
445 * src/sh/sh_sci_7708.inl: [added]
446 * include/pkgconf/io_serial.h:
447 * src/PKGconf.mak (EXTRAS_COMPILE):
448 * tests/ser_test_protocol.inl:
449 Renamed CDL options and restructered driver.
452 1999-06-04 Jesper Skov <jskov@cygnus.co.uk>
454 * include/pkgconf/io_serial.h: Fixed CDL string for BAUD rate option.
456 1999-06-04 Gary Thomas <gthomas@cygnus.co.uk>
458 * tests/ser_test_protocol.inl: Disable testing at 115200
459 for Cogent CMA230 (ARM).
461 * src/arm/cma230_serial.c: Fix interrupt for port B.
463 1999-05-31 Jesper Skov <jskov@cygnus.co.uk>
465 * src/sh/sh_serial.c: Fixed receive interrupts and added handler for
468 1999-05-28 Jesper Skov <jskov@cygnus.co.uk>
470 * io/serial/current/src/PKGconf.mak:
471 * io/serial/current/tests/ser_test_protocol.inl:
472 * include/pkgconf/io_serial.h:
473 Renamed SH platform package to edk7708.
475 1999-05-27 Jesper Skov <jskov@cygnus.co.uk>
477 * tests/ser_test_protocol.inl: Added ability to change options in
480 1999-05-27 Jonathan Larmour <jlarmour@cygnus.co.uk>
482 * src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
483 Wait for the serial device to become acquiescent before disabling
484 it. This prevents cygmon's outgoing characters getting corrupted
485 due to transmission being disabled.
488 1999-05-26 Gary Thomas <gthomas@cygnus.co.uk>
490 * include/pkgconf/io_serial.h:
491 * tests/ser_test_protocol.inl: Add Cogent CMA230 setup.
493 * src/arm/cma230_serial.c: Make names compatible with Cogent
496 1999-05-26 Gary Thomas <gthomas@cygnus.co.uk>
498 * tests/ser_test_protocol.inl: Add Cirrus Logic CL7211 setup.
499 1999-05-26 Jesper Skov <jskov@cygnus.co.uk>
501 * src/sh/sh_serial.c: Added more baud rate values. Disabled
502 interrupt driven receive. Fixed config_port to enable proper
505 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
507 * tests/ser_test_protocol.inl:
508 Change all mentions of CYGPKG_HAL_TX39_JMR3904 to
509 CYGPKG_HAL_MIPS_TX39_JMR3904
511 1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk>
513 * src/PKGconf.mak (EXTRAS_COMPILE): Change CYG_HAL_TX39 to
515 1999-05-25 Jesper Skov <jskov@cygnus.co.uk>
517 * tests/ser_test_protocol.inl: Added sh entry.
519 1999-05-24 Jesper Skov <jskov@cygnus.co.uk>
522 * include/pkgconf/io_serial.h:
523 * src/sh/sh_serial.c:
526 1999-05-18 Jesper Skov <jskov@cygnus.co.uk>
528 * src/sparclite/sleb_sdtr.c (sleb_sdtr_rx_DSR): Only read chan if
531 1999-05-18 Jesper Skov <jskov@cygnus.co.uk>
533 * src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Only read char
536 1999-05-16 Gary Thomas <gthomas@cygnus.co.uk>
538 * src/arm/cl7211_serial.c: Clean up, first working version.
540 1999-05-14 Jesper Skov <jskov@cygnus.co.uk>
542 * tests/ser_test_protocol.inl: Removed workaround for spurious
545 * src/arm/aeb_serial.c:
546 * src/arm/aeb_serial.h:
547 * src/arm/pid_serial_with_ints.c:
548 * src/arm/pid_serial.h:
549 * src/powerpc/cogent_serial.h:
550 * src/powerpc/cogent_serial_with_ints.c:
551 Check for receive interrupt before reading.
553 1999-05-13 Nick Garnett <nickg@cygnus.co.uk>
555 The follow changes were made in a branch an have now been merged:
557 1999-04-21 Gary Thomas <gthomas@cygnus.co.uk>
559 * src/mips/vrc4373_serial.c: Small changes to get working with
562 1999-04-20 John Dallaway <jld@cygnus.co.uk>
564 * include/pkgconf/io_serial.h: Fix CYGPKG_IO_SERIAL_TX39_JMR3904
567 1999-05-11 Gary Thomas <gthomas@cygnus.co.uk>
569 * src/arm/cl7211_serial.c: Fix compile problems from merged code.
571 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
573 * tests/ser_test_protocol.inl: Tidied up a bit and added
574 description of protocol.
576 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
578 * src/common/serial.c (serial_write, serial_read): Clear abort
581 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
583 * tests/serial4.c (serial_test): Handle config fails correctly.
585 * tests/ser_test_protocol.inl: Better change_config
586 handling. Simple recovery and negotiation isn't timing
589 1999-05-05 Jesper Skov <jskov@cygnus.co.uk>
591 * tests/timeout.inl: Updated with the below changes.
593 1999-05-05 Gary Thomas <gthomas@cygnus.co.uk>
595 * misc/timeout.inl (timeout): Timeouts are relative, but alarms
596 need absolute time values.
598 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
600 * tests/serial1.c (serial_test): Always PASS, regardless of
603 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
605 * tests/ser_test_protocol.inl: Reverse order of configurations -
606 run tests with slow baud rate first.
607 Only check CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT for SLEB on RAM startup.
609 1999-05-04 Jesper Skov <jskov@cygnus.co.uk>
610 * src/mn10300/mn10300_serial.c:
611 Use interrupt enable/disable feature of serial port2 to allow
612 coexistence with CygMon/hal_diag.
614 * tests/ser_test_protocol.inl: Use port2 for MN10300.
616 1999-04-28 Bart Veer <bartv@cygnus.co.uk>
618 * src/PKGconf.mak (EXTRAS_COMPILE):
619 Use the new rules for generating libextras.a
621 1999-04-26 Gary Thomas <gthomas@cygnus.co.uk>
623 * include/pkgconf/io_serial.h: Add support for Cirrus Logic CL7211.
626 1999-04-20 Gary Thomas <gthomas@cygnus.co.uk>
628 * src/arm/aeb_serial.c:
629 * src/arm/pid_serial_with_ints.c: Fix default baud rate if unbuffered.
630 1999-04-20 Jesper Skov <jskov@cygnus.co.uk>
632 * tests/ser_test_protocol.inl: Added some comments. Disabled 38400
633 for SLEB. Only run test on SLEB if CygMon isn't used for diag
636 1999-04-15 Jesper Skov <jskov@cygnus.co.uk>
640 Run these tests at a lower baud rate on ARM AEB.
642 1999-04-14 Jesper Skov <jskov@cygnus.co.uk>
644 * src/mn10300/mn10300_serial.c:
645 Fix compiler warnings.
647 1999-04-14 Bart Veer <bartv@cygnus.co.uk>
649 * include/pkgconf/io_serial.h:
650 Reparent the board-specific serial devices below the actual boards.
652 1999-04-13 Jesper Skov <jskov@cygnus.co.uk>
654 * tests/ser_test_protocol.inl:
655 NA when run from simulator.
657 1999-04-12 Jesper Skov <jskov@cygnus.co.uk>
659 * tests/ser_test_protocol.inl:
660 Disabled 115200 for MN10300.
661 Reclaim interrupt vectors from CygMon when testing on SLEB.
663 1999-04-09 Gary Thomas <gthomas@cygnus.co.uk>
665 * include/serial.h: Change SERIAL_CHANNEL setup so all channels
666 have serial callbacks, regardless of buffering.
668 1999-04-09 Jesper Skov <jskov@cygnus.co.uk>
671 * include/pkgconf/io_serial.h:
672 Added new ttydiag device layered on top of haldiag, so that tty0
673 can be layered on top of ser0.
675 1999-04-08 Jesper Skov <jskov@cygnus.co.uk>
677 * tests/tty1.c: [added]
678 * tests/tty2.c: [added]
680 * tests/ser_test_protocol.inl:
681 Added two simple TTY tests.
683 1999-04-07 Hugo Tyson <hmt@cygnus.co.uk>
685 * src/sparclite/sleb_sdtr.h: Include cyg/hal/hal_io.h for I/O
686 macros instead of hal_diag.h where they had evolved before.
688 1999-04-06 Jesper Skov <jskov@cygnus.co.uk>
690 * tests/serial4.c (serial_test):
691 * tests/serial3.c (serial_test):
694 1999-03-31 Jesper Skov <jskov@cygnus.co.uk>
696 * tests/ser_test_protocol.inl: Added remaining targets to the
699 1999-03-31 Gary Thomas <gthomas@cygnus.co.uk>
701 * src/sparclite/sleb_sdtr.c (sleb_sdtr_start_xmit): Fix timing race
702 when enabling xmit interrupts.
704 1999-03-26 Gary Thomas <gthomas@cygnus.co.uk>
706 * src/sparclite/sleb_sdtr.c: Change how the port is set up. The transmitter
707 is now always enabled, just the interrupts are masked/unmasked to control it.
708 This lets the serial driver cooperate with Cygmon on the port used for GDB.
709 Note that currently serial input does not work for CON1 since Cygmon is
710 taking all of the receive interrupts for itself.
711 (sleb_sdtr_tx_DSR): Need to keep track whether xmit interrupt should be
712 enabled - otherwise it can get enabled incorrectly and we get interrupted
715 1999-03-26 Jesper Skov <jskov@cygnus.co.uk>
717 * tests/ser_test_protocol.inl: Send a DONE message after a no-echo
720 1999-03-26 Hugo Tyson <hmt@cygnus.co.uk>
727 Make these build when no kernel present; include of testcase
728 was the wrong side of the ifdef.
730 1999-03-26 Jesper Skov <jskov@cygnus.co.uk>
737 Moved NOP check to ser_test_protocol open call.
739 * tests/ser_test_protocol.inl: Make sure the proper device is
740 selected for testing. Do NOP check in open call.
742 1999-03-25 Gary Thomas <gthomas@cygnus.co.uk>
744 * include/pkgconf/io_serial.h:
746 * src/arm/aeb_serial.c:
747 * src/arm/pid_serial_with_ints.c:
749 * src/mips/tx3904_serial.c:
750 * src/mn10300/mn10300_serial.c:
751 * src/powerpc/cogent_serial_with_ints.c:
752 * src/sparclite/sleb_sdtr.c: Update CDL to follow naming conventions.
754 * src/mips/tx3904_serial.c (tx3904_serial_config_port):
755 Make sure port is enabled (CDL) before using it.
757 * src/mn10300/mn10300_serial.c (mn10300_serial_config_port):
758 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
759 * src/arm/aeb_serial.c (aeb_serial_config_port):
760 * src/arm/pid_serial_with_ints.c (pid_serial_config_port): Change so that
761 the physical port is not modified unless the provided configuration is valid.
763 * src/sparclite/sleb_sdtr.c (sleb_sdtr_config_port):
764 Using wrong config data.
766 * include/serialio.h: Add macros to support baud rate from CDL.
768 * include/pkgconf/io_serial.h:
769 * src/mn10300/mn10300_serial.c:
770 * src/mips/tx3904_serial.c (tx3904_serial_ISR):
771 * src/sparclite/sleb_sdtr.c:
772 * src/powerpc/cogent_serial_with_ints.c:
773 * src/arm/pid_serial_with_ints.c:
774 * src/arm/aeb_serial.c: Add configury for baud rate and buffer size.
776 1999-03-24 Nick Garnett <nickg@cygnus.co.uk>
778 * src/mips/tx3904_serial.c:
779 Now uses CYGHWR_HAL_MIPS_CPU_FREQ_ACTUAL to get CPU
780 frequency. This is a little more accurate than using
781 CYGHWR_HAL_MIPS_CPU_FREQ.
783 1999-03-24 Gary Thomas <gthomas@cygnus.co.uk>
785 * include/serialio.h (CYGNUM_SERIAL_BAUD_MIN/MAX): Add for completeness.
787 * src/arm/aeb_serial.c (aeb_serial_stop_xmit):
788 * src/arm/pid_serial_with_ints.c (pid_serial_stop_xmit): Fix typo in comment.
790 1999-03-24 Jesper Skov <jskov@cygnus.co.uk>
792 * tests/ser_test_protocol.inl: Weeded out configs TX39 doesn't
795 * src/powerpc/cogent_serial.h:
796 Added copyright header.
798 * tests/ser_test_protocol.inl:
804 Don't try to run tests when no IO device has been specified.
806 1999-03-23 Jesper Skov <jskov@cygnus.co.uk>
808 * misc/serial1.c, misc/serial2.c, misc/serial3.c, misc/serial4.c,
809 * misc/serial5.c, misc/ser_test_protocol.inl
812 1999-03-23 Jesper Skov <jskov@cygnus.co.uk>
822 * tests/ser_test_protocol.inl:
823 Moved the serial tests from the misc directory to the tests
826 1999-03-23 Nick Garnett <nickg@cygnus.co.uk>
828 * src/mn10300/mn10300_serial.c: Now initially mask TX interrupts
829 at initialization and unmask/remask in start/stop xmit
830 routines. This has no real effect on the hardware, but the
831 simulator does not implement the LCR_TXE bit properly, resulting
832 in spurious TX interrupts during diagnostic output.
833 This was the cause of the slow output reported in PR 19559.
835 1999-03-23 Gary Thomas <gthomas@cygnus.co.uk>
837 * include/pkgconf/io_serial.h: Fix "display" strings to have appropriate
838 case - mostly lower case.
840 1999-03-22 Hugo Tyson <hmt@cygnus.co.uk>
849 Use CYGNUM_HAL_STACK_SIZE_TYPICAL for the stack size instead of
850 CYGNUM_HAL_MINIMUM_STACK_SIZE.
852 1999-03-22 Gary Thomas <gthomas@cygnus.co.uk>
854 * src/mn10300/mn10300_serial.c:
855 * src/mips/tx3904_serial.c: Add CDL configury.
857 * include/pkgconf/io_serial.h: Update CDL to add device name
858 configurability for all devices.
860 * src/sparclite/sleb_sdtr.c:
861 * src/powerpc/cogent_serial_with_ints.c:
862 * src/arm/aeb_serial.c:
863 * src/arm/pid_serial_with_ints.c: Use CDL configured device names.
865 1999-03-22 Jesper Skov <jskov@lassi.cygnus.co.uk>
872 Requires kernel as well.
874 1999-03-22 Jesper Skov <jskov@cygnus.co.uk>
876 * src/sparclite/sleb_sdtr.c:
877 Moved include statement to avoid warnings.
879 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
881 * misc/ser_test_protocol.inl:
884 Replace complex and not very stable duplex test with a simpler
885 test that works better.
886 Added serial5 using that test.
888 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
893 Added API test and made serial2 do simple string output.
895 1999-03-19 Jesper Skov <jskov@cygnus.co.uk>
897 * src/powerpc/cogent_serial_with_ints.c: Changed ToDo comment.
899 1999-03-19 Jesper Skov <jskov@lassi.cygnus.co.uk>
901 * src/powerpc/cogent_serial_with_ints.c:
902 * src/arm/aeb_serial.c:
903 * src/arm/pid_serial_with_ints.c:
904 Moved include statement to avoid warnings.
906 1999-03-19 Gary Thomas <gthomas@cygnus.co.uk>
908 * include/pkgconf/io_serial.h: More CDL problems.
910 1999-03-18 Gary Thomas <gthomas@cygnus.co.uk>
912 * include/pkgconf/io_serial.h: Add CDL for SPARClite SLEB.
914 * src/powerpc/cogent_serial_with_ints.c:
915 * src/arm/pid_serial_with_ints.c:
916 * src/arm/aeb_serial.c: Update device names to match CDL.
918 * include/pkgconf/io_serial.h: Change names for serial ports to
919 be CYGPKG_IO_SERIAL_<arch>_<platform>_<port>.
921 1999-03-18 Jesper Skov <jskov@cygnus.co.uk>
923 * misc/ser_test_protocol.inl:
925 First stab at the duplex binary test. Still much fun to be had...
927 1999-03-18 Jesper Skov <jskov@cygnus.co.uk>
929 * misc/ser_test_protocol.inl: Added timeout for PING.
931 1999-03-18 Gary Thomas <gthomas@cygnus.co.uk>
933 * src/common/serial.c: Change ABORT functionality to be DSR safe.
934 (serial_get_config): Fix typo!
936 * include/pkgconf/io_serial.h: Small change in CDL to make serial
937 devices tied to the platform and not the serial I/O package. This
938 means that only the devices appropriate to a given platform can be
941 * misc/serial.c: Better use of alarms - only trigger at the time of
942 the next timeout. Moved timeout functions to new file "timeout.inl".
944 * src/common/serial.c (serial_get_config): Add support for
945 CYG_IO_GET_CONFIG_SERIAL_INPUT_FLUSH and CYG_IO_GET_CONFIG_SERIAL_ABORT.
947 * misc/serial.c: Add simple timeout mechanisms.
949 1999-03-17 Gary Thomas <gthomas@cygnus.co.uk>
951 * src/powerpc/cogent_serial_with_ints.c:
952 * src/arm/aeb_serial.c:
953 * src/arm/pid_serial_with_ints.c: Conditionalize based on CDL.
955 * include/pkgconf/io_serial.h: Add some CDL configury - not perfect
956 because of current ~CDL limitations.
958 1999-03-17 Jesper Skov <jskov@cygnus.co.uk>
960 * misc/serial2.c: Cleaned up a bit. Used for hacking new tests.
962 1999-03-17 Jesper Skov <jskov@cygnus.co.uk>
965 * misc/ser_test_protocol.inl:
969 Put testing protocol implementation in a separate file. Split the
970 tests in serial2 into separate files.
972 1999-03-16 Nick Garnett <nickg@cygnus.co.uk>
974 * src/mn10300/mn10300_serial.c: Fixed some compiler warnings.
976 1999-03-15 Gary Thomas <gthomas@cygnus.co.uk>
978 * include/pkgconf/io_serial.h: Change default configurations.
979 No serial drivers enabled for PID port A or AEB.
981 * src/sparclite/sleb_sdtr.c:
982 * src/powerpc/cogent_serial_with_ints.c:
983 * src/arm/aeb_serial.c:
984 * src/arm/pid_serial_with_ints.c:
985 * src/common/haldiag.c:
987 * src/common/serial.c: Add 'CYGDBG_IO_INIT' for control of init
990 * src/powerpc/cogent_serial_with_ints.c:
991 * src/sparclite/sleb_sdtr.c:
992 * src/arm/aeb_serial.c:
993 * src/arm/pid_serial_with_ints.c: Don't include <cyg/kernel/kapi.h>
995 1999-03-15 Jesper Skov <jskov@cygnus.co.uk>
997 * misc/serial2.c (serial_test): Fix use of strlen. Fix DONE part
1000 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1002 * misc/serial2.c: Play a bit with timing. Think I broke it :(
1003 Added DONE to BINARY packet.
1004 Proper call to DRAIN.
1006 1999-03-12 Nick Garnett <nickg@cygnus.co.uk>
1008 * src/mips/tx3904_serial.c: Tidied away some debugging code.
1010 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1012 * misc/serial2.c: Removed bogus config changes.
1014 1999-03-12 Jesper Skov <jskov@cygnus.co.uk>
1016 * misc/serial2.c (serial_test): Check for ser_filter on host (PING
1019 1999-03-11 Jesper Skov <jskov@cygnus.co.uk>
1021 * src/powerpc/cogent_serial_with_ints.c: Added note.
1024 Added (almost) proper configuration handling.
1025 Run tests on varying configurations.
1027 1999-03-11 Nick Garnett <nickg@cygnus.co.uk>
1029 * src/mips/tx3904_serial.c:
1030 Many changes to get working.
1032 * misc/console.c (console_test): Fixed compiler warning.
1035 Added device name for TX39 testing.
1036 Fixed some bugs in Tcyg_io_write() macro.
1038 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1040 * misc/serial2.c: Added target specific test device name.
1042 1999-03-10 John Dallaway <jld@cygnus.co.uk>
1044 * include/pkgconf/io_serial.h: Correct CDL description spelling.
1046 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1048 * src/powerpc/cogent_serial_with_ints.c:
1050 Fixed compiler warnings.
1052 1999-03-10 Gary Thomas <gthomas@cygnus.co.uk>
1054 * include/pkgconf/io_serial.h: Improve CDL descriptions.
1056 1999-03-10 Jesper Skov <jskov@cygnus.co.uk>
1058 * misc/serial2.c (serial_test): Do some more tests with changed
1061 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1063 * misc/serial2.c (serial_test): Added workaround for spurious byte
1064 problem. Added a few more tests to run.
1066 * src/powerpc/cogent_serial_with_ints.c
1067 (cogent_serial_config_port): Remove interrupt enabling.
1069 1999-03-09 Nick Garnett <nickg@cygnus.co.uk>
1072 * src/mips/tx3904_serial.c:
1073 Added initial version of TX39 device driver. Currently untested
1074 but eliminates PR19445.
1076 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1078 * misc/serial2.c: DRAIN function works now.
1080 1999-03-09 Jesper Skov <jskov@cygnus.co.uk>
1082 * include/pkgconf/io_serial.h: Only enable one serial driver per
1085 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1087 * misc/serial2.c (serial_test): Be a bit more aggressive.
1089 * src/powerpc/cogent_serial_with_ints.c: Check that configuration
1092 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1094 * src/powerpc/cogent_serial_with_ints.c:
1095 Added support for both ports.
1097 * include/pkgconf/io_serial.h: Added simple defines for cogent
1098 serial ports. No CDL yet.
1100 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1102 * misc/serial.c: Removed PID references. Fixed compiler warnings.
1104 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1106 * src/powerpc/cogent_serial_with_ints.c: Cleaned up a
1107 bit. Actually works now.
1109 1999-03-08 Gary Thomas <gthomas@cygnus.co.uk>
1111 * src/common/serial.c: Change in cyg_drv_cond_wait() behaviour
1112 means DSR lock should be left alone.
1114 1999-03-08 Jesper Skov <jskov@cygnus.co.uk>
1116 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_init): Set
1117 valid interrupt priority.
1119 1999-03-05 Nick Garnett <nickg@cygnus.co.uk>
1121 * src/mn10300/mn10300_serial.c (mn10300_serial_init):
1122 Added extra test to avoid initializing serial 2 when CYGMON is
1124 Include hal_intr.h explicitly for use in non-kernel
1127 * src/common/serial.c:
1128 Added extra test before calls to cyg_drv_cond_wait() to avoid race
1129 condition. This is not, however, a complete solution to this
1130 problem. A better solution will be forthcoming.
1133 Changed include files used to permit non-kernel configurations to
1136 1999-03-05 Jesper Skov <jskov@cygnus.co.uk>
1138 * src/common/haldiag.c: Removed diag_printf declaration.
1140 1999-03-05 Jonathan Larmour <jlarmour@cygnus.co.uk>
1142 * src/mn10300/mn10300_serial.c:
1143 Change CYG_VECTOR_* to CYGNUM_HAL_INTERRUPT_* to get it to compile!
1145 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
1147 * src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port):
1148 Fix renaming of interrupt vectors.
1150 1999-03-05 Gary Thomas <gthomas@cygnus.co.uk>
1152 * src/arm/pid_serial_with_ints.c: Fix interrupt vectors.
1154 1999-03-03 Gary Thomas <gthomas@cygnus.co.uk>
1156 * serial/current/src/arm/pid_serial_with_ints.c:
1157 New [somewhat] configurable drivers for PID.
1159 //===========================================================================
1160 //####ECOSGPLCOPYRIGHTBEGIN####
1161 // -------------------------------------------
1162 // This file is part of eCos, the Embedded Configurable Operating System.
1163 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
1165 // eCos is free software; you can redistribute it and/or modify it under
1166 // the terms of the GNU General Public License as published by the Free
1167 // Software Foundation; either version 2 or (at your option) any later version.
1169 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
1170 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
1171 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1172 // for more details.
1174 // You should have received a copy of the GNU General Public License along
1175 // with eCos; if not, write to the Free Software Foundation, Inc.,
1176 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
1178 // As a special exception, if other files instantiate templates or use macros
1179 // or inline functions from this file, or you compile this file and link it
1180 // with other works to produce a work based on this file, this file does not
1181 // by itself cause the resulting work to be covered by the GNU General Public
1182 // License. However the source code for this file must still be made available
1183 // in accordance with section (3) of the GNU General Public License.
1185 // This exception does not invalidate any other reasons why a work based on
1186 // this file might be covered by the GNU General Public License.
1188 // Alternative licenses for eCos may be arranged by contacting Red Hat, Inc.
1189 // at http://sources.redhat.com/ecos/ecos-license/
1190 // -------------------------------------------
1191 //####ECOSGPLCOPYRIGHTEND####
1192 //===========================================================================