📄 changelog
字号:
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 conditionally2000-08-08 Jonathan Larmour <jlarmour@redhat.co.uk> * src/common/serial.c (serial_data_rcv_req): Adjust nb in correct direction2000-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): Ditto2000-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->nb2000-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 config2000-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_IO2000-05-05 Jonathan Larmour <jlarmour@redhat.co.uk> * src/common/serial.c (serial_get_config): Tidy below change a little2000-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_t2000-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. The contents of individual source files are unchanged; they build in just the same emvironment except for a very few cases where the config file name changed in this movement. Targets in ecos.db have been redefined to bring in all relevant hardware packages including net and serial drivers (but the newly included packages are only active if their desired parent is available.) The names of CDL options (and their #defines of course) stay the same for the serial drivers, for backward compatibility. * templates/*/current.ect: these have had CYGPKG_IO_SERIAL added rather than it being in (almost) all target definitions. 2000-04-07 Jonathan Larmour <jlarmour@redhat.co.uk> * src/common/tty.c (tty_read): Correct handling of modes with newlines2000-04-05 Jonathan Larmour <jlarmour@redhat.co.uk> * src/common/tty.c (tty_read): CRLF conversion should use \r\n not \n\r (tty_write): Similarly * include/ttyio.h: Update CYG_TTY_IN_FLAGS_CRLF and CYG_TTY_IN_FLAGS_CRLF to match2000-03-31 Jesper Skov <jskov@redhat.com> * cdl/ser_sh_edk7708.cdl: Limit legal baud rate range. * src/sh/sh_sci_serial.c: Use baud rate macro instead of hardwired constants.2000-03-28 John Dallaway <jld@cygnus.co.uk> * cdl/io_serial.cdl, cdl/ser_arm_aeb.cdl, cdl/ser_arm_cma230.cdl, cdl/ser_arm_edb7xxx.cdl, cdl/ser_arm_pid.cdl, cdl/ser_i386_pc.cdl, cdl/ser_mips_jmr3904.cdl, cdl/ser_mips_vrc4373.cdl, cdl/ser_mn10300.cdl, cdl/ser_powerpc_cogent.cdl, cdl/ser_quicc_smc.cdl, cdl/ser_sh_edk7708.cdl, cdl/ser_sparclite_sleb.cdl, cdl/tty.cdl: Adjust documentation URLs.2000-03-07 Jesper Skov <jskov@redhat.com> * cdl/ser_mips_jmr3904.cdl: Rename devices to match CDL naming.2000-02-29 Jonathan Larmour <jlarmour@redhat.co.uk> * include/serialio.h: Correct baud rate typo: 230400 rather than 234000. Thanks to Grant Edwards for the report.2000-02-28 Gary Thomas <gthomas@cygnus.co.uk> * src/powerpc/quicc_smc_serial.c: Use standard 'diag_dump_buf()'.2000-02-28 Jesper Skov <jskov@redhat.com> * tests/ser_test_protocol.inl: Allow 115200 baud on Cogent again. Fixed interrupt problem.2000-02-22 Jesper Skov <jskov@redhat.com> * tests/ser_test_protocol.inl: Don't use 115200 baud on Cogent. Our slower boards can't keep up.2000-02-17 Gary Thomas <gthomas@cygnus.co.uk> * cdl/ser_powerpc_cogent.cdl: Fix incorrect dependency.2000-02-16 Nick Garnett <nickg@cygnus.co.uk> * include/pkgconf/io_serial.h: Added configury for PC serial device drivers. * cdl/ser_i386_pc.cdl: * src/i386/pc_serial.c: * src/i386/pc_serial.h: Added these files to implement PC serial line drivers. * cdl/io_serial.cdl: Added CYGPKG_IO_SERIAL_I386_PC. * tests/ser_test_protocol.inl: Added support for PC serial line testing. 2000-02-11 Jesper Skov <jskov@redhat.com> * src/sh/sh_sci_7708.inl (DEVTAB_ENTRY): * src/sparclite/sleb_sdtr.c: serial_devio => cyg_io_serial_devio2000-02-10 Jonathan Larmour <jlarmour@redhat.co.uk> * src/mn10300/mn10300_serial.c: Ensure all CYG_HAL_MN10300_* preprocessor conditionals use the correct CYGPKG_HAL_MN10300_AM3* form now. 2000-02-03 Jesper Skov <jskov@redhat.com> * src/powerpc/quicc_smc_serial.c: CYG_HAL_POWERPC_x->CYGPKG_...2000-02-02 Jonathan Larmour <jlarmour@redhat.co.uk> * src/arm/aeb_serial.h: Rename lower case register macros to REG_ upper case macros * src/arm/aeb_serial.c: Update to reflect above2000-01-31 Simon FitzMaurice <sdf@cygnus.co.uk> * cdl/*.cdl: Adjust help URLs in line with new doc layout. 2000-01-28 Simon FitzMaurice <sdf@cygnus.co.uk> * cdl/*.cdl: Adjust help URLs in line with new doc layout. 2000-01-28 Gary Thomas <gthomas@cygnus.co.uk> * src/common/tty.c (tty_read): Fix problem with backspace at start of line (size must be 'signed' for compare to work).2000-01-19 Hugo Tyson <hmt@cygnus.co.uk> * cdl/*.cdl: Add descriptions to a number of options &c which were lacking same, also tidied up other typos as noticed en passant.2000-01-17 Gary Thomas <gthomas@cygnus.co.uk> * src/common/tty.c (tty_read): Avoid echoing "backspace/erase" at start of line.2000-01-05 Gary Thomas <gthomas@cygnus.co.uk> * src/common/serial.c (serial_write): Avoid potential deadlock if transmit start actually sends enough characters to signal cond wait.2000-01-03 Gary Thomas <gthomas@cygnus.co.uk> * include/serial.h: Fix namespace pollution - serial_devio => cyg_io_serial_devio serial_callbacks => cyg_io_serial_callbacks * src/mips/tx3904_serial.c: * src/mips/vrc4373_serial.c: * src/mn10300/mn10300_serial.c: * src/powerpc/quicc_smc_serial.c: * src/powerpc/cogent_serial_with_ints.c: * src/sparclite/sleb_sdtr.c: * src/arm/aeb_serial.c: * src/arm/pid_serial_with_ints.c: * src/arm/edb7xxx_serial.c: * src/arm/cma230_serial.c: * src/arm/ebsa285_serial.c: * src/common/haldiag.c: * src/common/serial.c: Fix namespace pollution - serial_devio => cyg_io_serial_devio1999-12-06 Gary Thomas <gthomas@cygnus.co.uk> * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Add loop to handle case where an interrupt represents multiple events.1999-11-19 Gary Thomas <gthomas@cygnus.co.uk> * src/powerpc/quicc_smc_serial.c: Channel select for SMC2 was wrong.1999-11-18 Gary Thomas <gthomas@cygnus.co.uk> * include/pkgconf/io_serial.h: Remove mention of 7209/7212.1999-11-03 John Dallaway <jld@cygnus.co.uk> * cdl/io_serial.cdl: Define build options.1999-10-26 Jesper Skov <jskov@cygnus.co.uk> * tests/serial5.c (serial_test): Reduce speed in thumb mode. * src/arm/pid_serial.h: Added BE support. * src/PKGconf.mak: Use CYGPKG_<> instead of CYG_<> to control what needs to be compiled.1999-10-25 Gary Thomas <gthomas@cygnus.co.uk> * src/arm/pid_serial.h (ISR_RxTO): Define - character received but not handled "promptly". * src/arm/pid_serial_with_ints.c (pid_serial_DSR): Handle rcv interrupts properly (can't ignore them even with TO bit set).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -