📄 changelog
字号:
* tests/ser_test_protocol.inl: Add configuration for QUICC/MBX860. Added some delays in the configuration change code to make QUICC happy [didn't help much although the manual says they are required]. * src/powerpc/quicc_smc_serial.h (UART_BITRATE): Rewrote macro to match what the Linux driver uses - still doesn't work well, though. * src/powerpc/quicc_smc_serial.c: Lots of changes trying to get the serial driver working and robust. At this point it works quite well, using the default buffer sizes. Changing from the defaults seem to easily break it though, certainly on input. Also, changing the baud rate seems to not work reliably. * src/common/serial.c: Add some tracing/debug info to try and debug problems with QUICC serial driver. These are hard disabled with "XX_" prepended to "CYGDBG_DIAG_BUF". Enabling them gives information about how/when data are delivered from the serial driver. * include/pkgconf/io_serial.h: Adjust limits and defaults on number and size of buffers with values that seem to work.1999-06-21 Jesper Skov <jskov@cygnus.co.uk> * src/sh/sh_sci_serial.c: Rearranged inclusion of .inl file a bit to avoid compiler warnings.1999-06-21 Gary Thomas <gthomas@cygnus.co.uk> * include/pkgconf/io_serial.h: Fix CDL for number of buffers. * src/powerpc/quicc_smc_serial.c: Force number of buffers = 1.1999-06-20 Gary Thomas <gthomas@cygnus.co.uk> * include/pkgconf/io_serial.h: Some clean up (removed commented obsolete CDL parenting structure). Add support for Motorola PowerPC QUICC/SMC. * src/arm/cma230_serial.c: * src/arm/cl7211_serial.c: * src/arm/aeb_serial.c: * src/arm/pid_serial_with_ints.c: Use #include to get 'diag_printf()' prototypes.1999-06-17 Gary Thomas <gthomas@cygnus.co.uk> * src/arm/cl7211_serial.c (cl7211_serial_start_xmit): Fix race which cause xmitter to get stuck.1999-06-16 Jesper Skov <jskov@cygnus.co.uk> * src/sh/sh_serial.c: [removed] * src/sh/sh_sci_serial.c: [added] * src/sh/sh_sci_7708.inl: [added] * include/pkgconf/io_serial.h: * src/PKGconf.mak (EXTRAS_COMPILE): * tests/ser_test_protocol.inl: Renamed CDL options and restructered driver. Fixed CDL typo. 1999-06-04 Jesper Skov <jskov@cygnus.co.uk> * include/pkgconf/io_serial.h: Fixed CDL string for BAUD rate option.1999-06-04 Gary Thomas <gthomas@cygnus.co.uk> * tests/ser_test_protocol.inl: Disable testing at 115200 for Cogent CMA230 (ARM). * src/arm/cma230_serial.c: Fix interrupt for port B.1999-05-31 Jesper Skov <jskov@cygnus.co.uk> * src/sh/sh_serial.c: Fixed receive interrupts and added handler for error interrupts.1999-05-28 Jesper Skov <jskov@cygnus.co.uk> * io/serial/current/src/PKGconf.mak: * io/serial/current/tests/ser_test_protocol.inl: * include/pkgconf/io_serial.h: Renamed SH platform package to edk7708.1999-05-27 Jesper Skov <jskov@cygnus.co.uk> * tests/ser_test_protocol.inl: Added ability to change options in host software.1999-05-27 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/mn10300/mn10300_serial.c (mn10300_serial_config_port): Wait for the serial device to become acquiescent before disabling it. This prevents cygmon's outgoing characters getting corrupted due to transmission being disabled. Fix for PR 20047 1999-05-26 Gary Thomas <gthomas@cygnus.co.uk> * include/pkgconf/io_serial.h: * tests/ser_test_protocol.inl: Add Cogent CMA230 setup. * src/arm/cma230_serial.c: Make names compatible with Cogent PowerPC board.1999-05-26 Gary Thomas <gthomas@cygnus.co.uk> * tests/ser_test_protocol.inl: Add Cirrus Logic CL7211 setup.1999-05-26 Jesper Skov <jskov@cygnus.co.uk> * src/sh/sh_serial.c: Added more baud rate values. Disabled interrupt driven receive. Fixed config_port to enable proper interrupt flags.1999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk> * tests/ser_test_protocol.inl: Change all mentions of CYGPKG_HAL_TX39_JMR3904 to CYGPKG_HAL_MIPS_TX39_JMR39041999-05-25 Jonathan Larmour <jlarmour@cygnus.co.uk> * src/PKGconf.mak (EXTRAS_COMPILE): Change CYG_HAL_TX39 to CYG_HAL_MIPS_TX391999-05-25 Jesper Skov <jskov@cygnus.co.uk> * tests/ser_test_protocol.inl: Added sh entry.1999-05-24 Jesper Skov <jskov@cygnus.co.uk> * src/PKGconf.mak: * include/pkgconf/io_serial.h: * src/sh/sh_serial.c: Added sh driver.1999-05-18 Jesper Skov <jskov@cygnus.co.uk> PR 19926 * src/sparclite/sleb_sdtr.c (sleb_sdtr_rx_DSR): Only read chan if there is one.1999-05-18 Jesper Skov <jskov@cygnus.co.uk> PR 19926 * src/arm/cl7211_serial.c (cl7211_serial_rx_DSR): Only read char if there is one.1999-05-16 Gary Thomas <gthomas@cygnus.co.uk> * src/arm/cl7211_serial.c: Clean up, first working version.1999-05-14 Jesper Skov <jskov@cygnus.co.uk> * tests/ser_test_protocol.inl: Removed workaround for spurious Cogent reads. * src/arm/aeb_serial.c: * src/arm/aeb_serial.h: * src/arm/pid_serial_with_ints.c: * src/arm/pid_serial.h: * src/powerpc/cogent_serial.h: * src/powerpc/cogent_serial_with_ints.c: Check for receive interrupt before reading.1999-05-13 Nick Garnett <nickg@cygnus.co.uk> The follow changes were made in a branch an have now been merged: 1999-04-21 Gary Thomas <gthomas@cygnus.co.uk> * src/mips/vrc4373_serial.c: Small changes to get working with interrupts. 1999-04-20 John Dallaway <jld@cygnus.co.uk> * include/pkgconf/io_serial.h: Fix CYGPKG_IO_SERIAL_TX39_JMR3904 parent attribute.1999-05-11 Gary Thomas <gthomas@cygnus.co.uk> * src/arm/cl7211_serial.c: Fix compile problems from merged code.1999-05-05 Jesper Skov <jskov@cygnus.co.uk> * tests/ser_test_protocol.inl: Tidied up a bit and added description of protocol.1999-05-05 Jesper Skov <jskov@cygnus.co.uk> * src/common/serial.c (serial_write, serial_read): Clear abort flag at entry.1999-05-05 Jesper Skov <jskov@cygnus.co.uk> * tests/serial4.c (serial_test): Handle config fails correctly. * tests/ser_test_protocol.inl: Better change_config handling. Simple recovery and negotiation isn't timing dependant. 1999-05-05 Jesper Skov <jskov@cygnus.co.uk> * tests/timeout.inl: Updated with the below changes.1999-05-05 Gary Thomas <gthomas@cygnus.co.uk> * misc/timeout.inl (timeout): Timeouts are relative, but alarms need absolute time values.1999-05-04 Jesper Skov <jskov@cygnus.co.uk> PR 20018 * tests/serial1.c (serial_test): Always PASS, regardless of configuration.1999-05-04 Jesper Skov <jskov@cygnus.co.uk> * tests/ser_test_protocol.inl: Reverse order of configurations - run tests with slow baud rate first. Only check CYG_KERNEL_DIAG_GDB_SERIAL_DIRECT for SLEB on RAM startup.1999-05-04 Jesper Skov <jskov@cygnus.co.uk> * src/mn10300/mn10300_serial.c: Use interrupt enable/disable feature of serial port2 to allow coexistence with CygMon/hal_diag. * tests/ser_test_protocol.inl: Use port2 for MN10300.1999-04-28 Bart Veer <bartv@cygnus.co.uk> * src/PKGconf.mak (EXTRAS_COMPILE): Use the new rules for generating libextras.a1999-04-26 Gary Thomas <gthomas@cygnus.co.uk> * include/pkgconf/io_serial.h: Add support for Cirrus Logic CL7211.1999-04-20 Gary Thomas <gthomas@cygnus.co.uk> * src/arm/aeb_serial.c: * src/arm/pid_serial_with_ints.c: Fix default baud rate if unbuffered.1999-04-20 Jesper Skov <jskov@cygnus.co.uk> * tests/ser_test_protocol.inl: Added some comments. Disabled 38400 for SLEB. Only run test on SLEB if CygMon isn't used for diag output. 1999-04-15 Jesper Skov <jskov@cygnus.co.uk> PR 19752 * tests/serial3.c: * tests/serial5.c: Run these tests at a lower baud rate on ARM AEB. 1999-04-14 Jesper Skov <jskov@cygnus.co.uk> PR 19839 * src/mn10300/mn10300_serial.c: Fix compiler warnings.1999-04-14 Bart Veer <bartv@cygnus.co.uk> * include/pkgconf/io_serial.h: Reparent the board-specific serial devices below the actual boards. 1999-04-13 Jesper Skov <jskov@cygnus.co.uk> * tests/ser_test_protocol.inl: NA when run from simulator.1999-04-12 Jesper Skov <jskov@cygnus.co.uk> * tests/ser_test_protocol.inl: Disabled 115200 for MN10300. Reclaim interrupt vectors from CygMon when testing on SLEB.1999-04-09 Gary Thomas <gthomas@cygnus.co.uk> * include/serial.h: Change SERIAL_CHANNEL setup so all channels have serial callbacks, regardless of buffering.1999-04-09 Jesper Skov <jskov@cygnus.co.uk> * src/common/tty.c: * include/pkgconf/io_serial.h: Added new ttydiag device layered on top of haldiag, so that tty0 can be layered on top of ser0.1999-04-08 Jesper Skov <jskov@cygnus.co.uk> * tests/tty1.c: [added] * tests/tty2.c: [added] * tests/PKGconf.mak: * tests/ser_test_protocol.inl: Added two simple TTY tests.1999-04-07 Hugo Tyson <hmt@cygnus.co.uk> * src/sparclite/sleb_sdtr.h: Include cyg/hal/hal_io.h for I/O macros instead of hal_diag.h where they had evolved before.1999-04-06 Jesper Skov <jskov@cygnus.co.uk> * tests/serial4.c (serial_test): * tests/serial3.c (serial_test): Reduce packet sizes.1999-03-31 Jesper Skov <jskov@cygnus.co.uk> * tests/ser_test_protocol.inl: Added remaining targets to the test.1999-03-31 Gary Thomas <gthomas@cygnus.co.uk> * src/sparclite/sleb_sdtr.c (sleb_sdtr_start_xmit): Fix timing race when enabling xmit interrupts.1999-03-26 Gary Thomas <gthomas@cygnus.co.uk> * src/sparclite/sleb_sdtr.c: Change how the port is set up. The transmitter is now always enabled, just the interrupts are masked/unmasked to control it. This lets the serial driver cooperate with Cygmon on the port used for GDB. Note that currently serial input does not work for CON1 since Cygmon is taking all of the receive interrupts for itself. (sleb_sdtr_tx_DSR): Need to keep track whether xmit interrupt should be enabled - otherwise it can get enabled incorrectly and we get interrupted to death!1999-03-26 Jesper Skov <jskov@cygnus.co.uk> * tests/ser_test_protocol.inl: Send a DONE message after a no-echo binary packet.1999-03-26 Hugo Tyson <hmt@cygnus.co.uk> * tests/serial5.c: * tests/serial4.c: * tests/serial3.c: * tests/serial2.c: * tests/serial1.c: Make these build when no kernel present; include of testcase was the wrong side of the ifdef.1999-03-26 Jesper Skov <jskov@cygnus.co.uk> * tests/serial5.c: * tests/serial4.c: * tests/serial3.c: * tests/serial2.c: * tests/serial1.c: Moved NOP check to ser_test_protocol open call. * tests/ser_test_protocol.inl: Make sure the proper device is selected for testing. Do NOP check in open call.1999-03-25 Gary Thomas <gthomas@cygnus.co.uk> * include/pkgconf/io_serial.h: * misc/console.c: * src/arm/aeb_serial.c: * src/arm/pid_serial_with_ints.c: * src/common/tty.c: * src/mips/tx3904_serial.c: * src/mn10300/mn10300_serial.c: * src/powerpc/cogent_serial_with_ints.c: * src/sparclite/sleb_sdtr.c: Update CDL to follow naming conventions. * src/mips/tx3904_serial.c (tx3904_serial_config_port): Make sure port is enabled (CDL) before using it. * src/mn10300/mn10300_serial.c (mn10300_serial_config_port): * src/powerpc/cogent_serial_with_ints.c (cogent_serial_config_port): * src/arm/aeb_serial.c (aeb_serial_config_port): * src/arm/pid_serial_with_ints.c (pid_serial_config_port): Change so that the physical port is not modified unless the provided configuration is valid. * src/sparclite/sleb_sdtr.c (sleb_sdtr_config_port): Using wrong config data. * include/serialio.h: Add macros to support baud rate from CDL. * include/pkgconf/io_serial.h: * src/mn10300/mn10300_serial.c: * src/mips/tx3904_serial.c (tx3904_serial_ISR): * src/sparclite/sleb_sdtr.c: * src/powerpc/cogent_serial_with_ints.c: * src/arm/pid_serial_with_ints.c: * src/arm/aeb_serial.c: Add configury for baud rate and buffer size.1999-03-24 Nick Garnett <nickg@cygnus.co.uk> * src/mips/tx3904_serial.c: Now uses CYGHWR_HAL_MIPS_CPU_FREQ_ACTUAL to get CPU frequency. This is a little more accurate than using CYGHWR_HAL_MIPS_CPU_FREQ.1999-03-24 Gary Thomas <gthomas@cygnus.co.uk> * include/serialio.h (CYGNUM_SERIAL_BAUD_MIN/MAX): Add for completeness. * src/arm/aeb_serial.c (aeb_serial_stop_xmit): * src/arm/pid_serial_with_ints.c (pid_serial_stop_xmit): Fix typo in comment.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -