📄 changelog
字号:
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.
2000-04-13 Gary Thomas <gthomas@redhat.com>
* src/common/serial.c (serial_write): Make safer - only call
'start_xmit' with DSRs disabled.
2000-04-11 Hugo Tyson <hmt@cygnus.co.uk>
* cdl/io_serial.cdl (CYGPKG_IO_SERIAL_DEVICES): New package which
is a container and control for the real device drivers.
2000-04-11 Jesper Skov <jskov@redhat.com>
* cdl/io_serial.cdl: Bad hack to build separate test.
* tests/serial_echo.c: Added.
2000-04-11 Hugo Tyson <hmt@cygnus.co.uk>
* cdl/ser_.... (driver-specific cdl files):
Remove all these; they are no longer needed following the change
below. They do exist in devs/serial/ARCH/PLATFORM/VERSION/cdl/
directories various instead.
2000-04-07 Hugo Tyson <hmt@cygnus.co.uk>
* ecos.db: Re-organize device packages. This is a massive change
involving deleting all the sources for serial and ethernet drivers
from where they used to live in
packages/io/serial/current/src/ARCH/PLATFORM.[ch]
packages/net/drivers/eth/PLATFORM/current/src/...
and reinstating them in
packages/devs/serial/ARCH/PLATFORM/current/src/...
packages/devs/eth/ARCH/PLATFORM/current/src/...
All these new packages are properly defined in ecos.db, and are
all of type "hardware" so that a "target" can grab them.
This directory layout is descriptive of the devices we have right
now, arch and platform are separate levels just to make it easier
to navigate in the filesystem and similar to the HAL structure in
the filesystem.
It is *not* prescriptive of future work; for example, the mythical
common highly-portable 16550 serial driver which works on many
targets would be called "devs/serial/s16550/current", or a serial
device for a particular board (cogent springs to mind) that can
work with different CPUs fitted is "devs/serial/cogent/current".
Changelogs have been preserved and replicated over all the new
packages, so that no history is lost.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -