📄 changelog
字号:
2006-08-31 Ilija Koco <ilijak@siva.com.mk>
Andrew Lunn <andrew.lunn@ascom.ch>
* cdl/termios.cdl:
src/common/termiostty.c: added Termios TTY channel #3
* cdl/tty.cdl:
src/common/tty.c: added TTY mode channel #3
2006-08-22 Peter Csordas <csordas@mit.bme.hu>
* include/serialio.h (cyg_serial_baud_rate_t): Adding baud rate
defines for 460800 and 921600 baud.
2006-08-25 Gary Thomas <gary@mlbassoc.com>
* cdl/io_serial.cdl: Set parent for more intuitive ConfigTool layout.
2006-05-09 Andrew Lunn <andrew.lunn@ascom.ch>
* src/common/tty.c (tty_init): Fix compiler warning with
diag_printf() arguments.
2005-09-02 Sebastien Couret <sebastien.couret@elios-informatique.fr>
* src/common/termiostty.c and
* tests/serial_echo.c : Fix compiler warning on a signedness
argument
2005-07-22 Andrew Lunn <andrew.lunn@ascom.ch>
* src/common/tty.c (tty_write):
* src/common/haldiag.c (haldiag_getc): Fixed pointer signness to
avoid compiler warnings.
* tests/*.c msglen should by an unsigned int to avoid compiler
warnings.
2005-07-21 Andrew Lunn <andrew.lunn@ascom.ch>
* src/common/termiostty.c: Removed errbuf from priv. It was never
being used after being allocated and never freed.
2005-06-27 Andrew Lunn <andrew.lunn@ascom.ch>
* src/common/serial.c (serial_select): Swap the DSR locks and
mutex locks around to avoid deadlocks with the rest of the code
which uses this order.
2005-06-17 Andreas Gaer <andreas.gaer@baslerweb.com>
* src/common/serial.c (serial_select): Lock DSRs inside
serial_select() as the serial DSR calls functions manipulating the
cbuf structs, leading to a race condition. Also use the mutex to
avoid races between different threads.
2005-05-13 Peter Korsgaard <jacmet@sunsite.dk>
* src/common/serial.c (serial_init): Fix compiler warnings about
formats strings for diag_printf.
2004-11-30 Jani Monoses <jani@iv.ro>
* cdl/io_serial.cdl : CYGPKG_IO_SERIAL_SELECT_SUPPORT requires
CYGFUN_IO_FILEIO_SELECT specifically not just CYGPKG_FILEIO. The
latter provides select support only in kernel configurations.
2004-04-22 Jani Monoses <jani@iv.ro>
* cdl/io_serial.cdl :
Invoke tail with stricter syntax that works in latest coreutils.
2004-01-12 Dan Jakubiec <djakubiec@yahoo.com>
* src/common/serial.c: serial_write() was returning an incorrect
result code in non-blocking mode when output was blocked. The
previous code would return ENOERR with 0 bytes written. This
was fixed to return EAGAIN.
2003-08-18 Jay Foster <jay@systech.com>
* src/common/serial.c: Fixed bug for XON/XOFF flow control that
would cause multiple XON (or XOFF) characters to be sent for a
single flow control state transition.
Fixed bug in serial_write() that would cause output data to be
discarded if using polled mode with flow control, and output
was blocked due to flow control.
Fixed bug in serial_data_xmt_req() that would not stop sending
data when output was flow controlled off (hardware flow control).
2003-09-02 Eric Doenges <Eric.Doenges@DynaPel.com>
* src/common/tty.c: Make tty_select prototype match implementation.
* src/common/termiostty.c: Make termios_select prototype match
implementation.
2003-09-02 Jonathan Larmour <jifl@eCosCentric.com>
* src/common/serial.c: Make serial_select prototype match
implementation.
2003-06-09 Nick Garnett <nickg@balti.calivar.com>
* src/common/serial.c: Changed all calls to cyg_drv_cond_signal()
to cyg_drv_cond_broadcast(). Removed comment asking whether this
matters: it does.
* include/serialio.h: Added includes of pkgconf files so that the
ifdefs in this file work properly.
* include/serial.h: Added include of devtab.h to fix compile
error.
2003-05-21 Gary Thomas <gary@mlbassoc.com>
* src/common/serial.c (serial_get_config): Restart receiver
after input queue flush if it had been throttled. Inspired
by David Marqvar <DAM@tt.dk>
2003-03-25 Jonathan Larmour <jifl@eCosCentric.com>
* src/common/serial.c (serial_get_config): For both INPUT_FLUSH
and OUTPUT_FLUSH keys, pass down to the hardware driver as well
to allow it to flush FIFOs.
Based on patch from Roland Cassebohm.
2003-03-20 Gary Thomas <gary@mlbassoc.com>
* src/common/serial.c: Only return -EAGAIN if no data moved.
2003-03-11 Gary Thomas <gary@mlbassoc.com>
* src/common/termiostty.c (termios_read): VMIN handling still wasn't
quite correct. When VMIN > 0, at least VMIN characters should be
read.
2003-02-24 Jonathan Larmour <jifl@eCosCentric.com>
* cdl/io_serial.cdl: Fix doc link.
2003-02-14 Jonathan Larmour <jifl@eCosCentric.com>
* src/common/termiostty.c: Support VMIN > 0 properly.
2002-12-10 Gary Thomas <gthomas@ecoscentric.com>
* src/common/tty.c (tty_write): Only return number of characters
in original string which were written - don't include any CR/LF
expansion characters.
2002-04-23 Jesper Skov <jskov@redhat.com>
* tests/serial3.c (serial_test): Use 19200 baud rate when board
cannot handle 38400.
* tests/serial5.c (serial_test): Same.
2002-02-19 Jesper Skov <jskov@redhat.com>
* cdl/io_serial.cdl: Removed termiostty.c build rule.
* cdl/termios.cdl: Make termiostty.c building depending on actual
requirements for its content.
2002-02-15 Jesper Skov <jskov@redhat.com>
* tests/flow1.c: Also try DSR/DTR flow control (presently
unsupported by Linux though).
* tests/flow2.c: Same.
2002-01-11 Jonathan Larmour <jlarmour@redhat.com>
* src/common/termiostty.c (termios_read): Don't return after VMIN,
this was a stupid thing to do and decreases performance a lot.
2001-08-15 Gary Thomas <gthomas@redhat.com>
* tests/ser_test_protocol.inl: Change NONE in 'cyg_verbosity_level_t'
to be _NONE [unused] to avoid name clash with <kernel/kapi.h>.
2000-12-08 Jonathan Larmour <jlarmour@redhat.com>
* src/common/serial.c: Fix CYGOPT_IO_SERIAL_FLOW_CONTROL_HW ->
CYGOPT_IO_SERIAL_SUPPORT_LINE_STATUS typo when declaring callbacks
Thanks to Brian Danilko for reporting.
2000-11-22 Jesper Skov <jskov@redhat.com>
* src/common/serial.c: Changed #ifdef to #if used on an interface
option.
2000-11-06 Jonathan Larmour <jlarmour@redhat.com>
* src/common/tty.c (tty_write): Check buffer size appropriately
since when doing \r\n expansion "size" may have been double
incremented as a result.
Thanks to Alex Mathews of Crosstor for the fix.
2000-10-20 Jonathan Larmour <jlarmour@redhat.com>
* src/common/serial.c: Include cyg/infra/cyg_ass.h for assertion
support since we have assertions here!
2000-10-12 Jesper Skov <jskov@redhat.com>
* tests/ser_test_protocol.inl: Moved most testing parameters into
device driver CDL.
* cdl/io_serial.cdl: Added comment.
2000-10-06 Jesper Skov <jskov@redhat.com>
* src/common/serial.c (serial_rcv_char): Register overruns.
* src/common/serial.c: Made block request functions return cause
of failure. Necessary for the device driver to be able to
fall-back to other transfer method efficiently.
* include/serial.h: Added enum with failure types.
2000-10-03 Jesper Skov <jskov@redhat.co.uk>
* tests/ser_test_protocol.inl: Moved testing parameters to device
driver CDL for SH targets.
2000-09-29 Jesper Skov <jskov@redhat.com>
* include/serialio.h: Fix compiler warning and errors due to
non-default flow control config.
2000-09-27 Jesper Skov <jskov@redhat.com>
* src/common/serial.c (serial_data_rcv_done,
serial_data_xmt_done): Buffer pointers updated in _done instead of
in _req to avoid race in xmt. Same change in rcv for consistency.
* include/serial.h: Changed prototype accordingly.
2000-09-18 Jesper Skov <jskov@redhat.com>
* cdl/io_serial.cdl: Added interfaces to allow test tweaking.
* tests/ser_test_protocol.inl: Use interfaces. Moved PID details
to PID serial package.
2000-09-15 Jesper Skov <jskov@redhat.com>
* tests/ser_test_protocol.inl: Allow drivers to define testing
parameters via CDL.
2000-09-13 Jesper Skov <jskov@redhat.com>
* include/serial.h (SERIAL_CALLBACKS): Fix typo.
2000-09-06 Jesper Skov <jskov@redhat.com>
* tests/ser_test_protocol.inl: Renamed some option names due to SH
serial driver reorg.
2000-08-09 Jonathan Larmour <jlarmour@redhat.co.uk>
* src/common/serial.c (serial_indicate_status): Treat flow control
case conditionally
2000-08-08 Jonathan Larmour <jlarmour@redhat.co.uk>
* src/common/serial.c (serial_data_rcv_req): Adjust nb in correct
direction
2000-08-04 Jonathan Larmour <jlarmour@redhat.co.uk>
* cdl/io_serial.cdl: Default software flow control to on (but keep
flow control overall default off)
* tests/flow1.c (cyg_start): Fix N_A_MSG -> NA_MSG typo
* tests/flow2.c (cyg_start): Ditto
2000-08-03 Jonathan Larmour <jlarmour@redhat.co.uk>
* cdl/io_serial.cdl: Should default flow control to off
* src/common/serial.c (serial_data_xmt_req): Update cbuf->nb
(serial_data_rcv_req): Update cbuf->nb
2000-08-01 Jonathan Larmour <jlarmour@redhat.co.uk>
* cdl/io_serial.cdl: Add support for line status queries,
software flow control, hardware flow control and POSIX termios
* include/serial.h: Likewise. Also change prototype for set_config
hardware operations to use keys to be more flexible.
* include/serialio.h: Add lots of types and constants to support
new line status and flow control config key queries
* src/common/haldiag.c (haldiag_set_config): Use keys to be more
flexible.
* src/common/serial.c: Many changes to support software/hardware
flow control (with low and high water points), line status and
fix some omissions with select. Also fix bugs in block transfer
functions resulting from EL/IX merge.
* tests/flow1.c, tests/flow2.c: New tests for flow control
* cdl/termios.cdl: Add to configure termios
* src/termios.c: Add new POSIX Termios API
* src/termiostty.c: Add POSIX Termios tty driver
* tests/ser_test_protocol.inl (change_config): Add support for
hardware and software flow control testing, indicated to the
host by an extra CONFIG argument.
* tests/serial3.c: Add flow control config
* tests/serial5.c: Add flow control config
2000-07-31 Nick Garnett <nickg@cygnus.co.uk>
* src/common/serial.c: Changed BLOCKING control definitions to
generic versions.
2000-07-03 Jesper Skov <jskov@redhat.com>
* src/common/serial.c (serial_data_rcv_req): Fix off-by-1 bug.
2000-06-23 Jesper Skov <jskov@redhat.com>
* tests/ser_test_protocol.inl: Added cq7708 definitions.
2000-06-19 Nick Garnett <nickg@cygnus.co.uk>
* include/serial.h:
* src/common/serial.c:
Added nb field to cbuf_t structure. This keeps track of the number of
bytes currently in the buffer. Without this counter, there is no
way to distinguish a totally full buffer from one that is totally
empty, since in both cases put==get.
2000-06-15 Nick Garnett <nickg@cygnus.co.uk>
* include/serial.h: Added selinfo field to cbuf structure when
select support is enabled.
* src/common/serial.c:
* src/common/tty.c:
Added select support.
* cdl/io_serial.cdl: Added CYGPKG_IO_SERIAL_SELECT_SUPPORT to
enable select() support. Defaults to on.
Also added component for loopback driver.
* tests/ser_test_protocol.inl: Added test setup for loopback
driver.
2000-05-28 Gary Thomas <gthomas@redhat.com>
* tests/ser_test_protocol.inl: Rename NEC V85x drivers.
2000-05-25 Jesper Skov <jskov@redhat.com>
* tests/ser_test_protocol.inl: Added rules for REF4955.
2000-05-08 Jesper Skov <jskov@redhat.com>
* cdl/io_serial.cdl: active_if CYGPKG_IO
2000-05-05 Jonathan Larmour <jlarmour@redhat.co.uk>
* src/common/serial.c (serial_get_config): Tidy below change a little
2000-05-05 Grant Edwards <grante@visi.com>
* src/common/serial.c (serial_get_config): Support
CYG_IO_GET_CONFIG_SERIAL_BUFFER_INFO key to get buffer information
* include/serialio.h: Add cyg_serial_buf_info_t
2000-05-04 Jesper Skov <jskov@redhat.com>
* cdl/io_serial.cdl: Only build tests when drivers enabled.
2000-05-02 Jesper Skov <jskov@redhat.com>
* src/common/serial.c (serial_set_config): Set proper parity for
blocking options.
(serial_get_config): Fix copy'n'paste buglet.
2000-05-01 Jesper Skov <jskov@redhat.com>
* src/common/serial.c: Added non-blocking config and operation for
read/write calls.
Added block transfer rcv/xmt callbacks.
Added (disabled for now) check for rcv overflow. [need to add
handling]
* include/serial.h: Added non-blocking callbacks.
* cdl/io_serial.cdl: Added non-blocking option. Added block
transfer interface.
2000-04-17 Hugo Tyson <hmt@cygnus.co.uk>
* src/PKGconf.mak: remove; it's obsolete.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -