releasenotes

来自「一个通讯程序源码」· 代码 · 共 523 行 · 第 1/2 页

TXT
523 行
字号
     There are some new modes for hardware flow control, for instance     HO_CTS_ON_DSR. This means that CTS is only looked at if DSR is on.     If DSR is off output is possible regardless of CTS. The underlying     assumption here is that we can expect proper handshake handling     only from devices that are in the ready state (indicated by DSR).     As a spin-off the problem with the hanging getty on lines with     turned-off terminals (mentioned in earlier releases) should be     gone if you use this new mode.     If the XCLUDE-Flag is availabe (SYSV 3.2 because of Xenix     compatibility) exclusive open of a device is possible.     The default size of the input ring buffer is now 5000 bytes.     This makes streaming input more likely even on loaded systems.     Bug Fixes:          The task state busy flag wasn't reset in some rare cases.          This could cause processes to become immortal while waiting          for the busy flag.          Under some special conditions an ioctl call with a TCSETA?          command could corrupt the last character in the transmitter          shift register. This is fixed now.          More fixing of the busy flag handling was necessary.          Co-ordinating several delayed tasks controlling this flag          is kind of tricky.          After a TCSETA* ioctl command we disable the transmitter          for 2 sec (measured from the last transmitted character)          if the character format and/or speed has changed. This          gives the receiving side some time to do the same changes.          This is kind of experimental. There may be applications that          suffer from this delay. You may change the #define ADAPT_TIME          in `fas.h' to a smaller value.     ------------------------------------------------------------               release 2.06 Fri Mar 16, 1990     This should have been patch #3 for release 2.05, but there are     so many changes now that I decided to make it a new release.     Therefor some of the changes are described in the 2.05 release     notes above but were never released to the public.     New Features:          There is a transmitter ring buffer now to make the output          less system load dependent. This really speeds things up          because the transmitter FIFO gets filled with more characters          at once. The buffer size depends on the actual baud rate to          prevent long output buffer drains at low speeds.          There are also bigger input buffers to make FAS more competitive          against "intelligent" cards.          Lots of speed improvements and many small changes.     Bug Fixes:          Fixed input/output buffer flush on carrier loss while close          is waiting for the output to drain.     ------------------------------------------------------------               release 2.07 Tue Sep 18, 1990     This is a major redesign of the previous release. I put most of the     time consuming tasks in one function that is invoked asynchronously     by timeout calls. Inside this function most of the code runs at     a lower system priority level (spl5) than the interrupts. That     means that during character processing tty interrupts are allowed.     This is the main key to operation at 38400 bps on multiple ports     at the same time which is possible now with this release.     New Features:          FAS supports the VP/ix DOS emulator!          Now you can throw out the vendor's original driver even          if you like to have a serial mouse or modem access in DOS.          Read the paragraph about VP/ix in the README file.          The Intel i82510 port chip is supported. It has separate          4-character FIFOs for input and output. Although the          NS16550A is much better this chip is your second choice          if you can't get your hands on the National chips.          Thanks to Christian Seyb (cs@gold.UUCP) for sending me          patches and the necessary documentation for the Intel          chips.          There is an init sequence in `space.c'. You can put any          number of address-data pairs in a null terminated array          to program your serial card or other hardware before          FAS makes the first access to the ports. AST 4-port cards,          for instance, have an additional port that needs to be          written to with a certain bit pattern to allow shared          interrupts. If you need to read a port to achieve the          setting or resetting of flags as a side effect, this          is possible, too.          ESIX is officially supported now.          SCO UNIX is officially supported, too. FAS needs to be          compiled with the command line flag `-DSCO'. The makefile          for SCO takes care of that. Thanks to Walter Mecky          (walter@mecky.systemware.de) and Frank Simon          (terra@sol.north.de) for helping me in making the necessary          changes for SCO UNIX.          SCO Xenix 386 is also officially supported. FAS needs to be          compiled with the command line flag `-DXENIX'. The makefile          for SCO Xenix takes care of that. Thanks to Andreas          Steinmetzler (andreas@oil.UUCP) for doing the port.          If you have the RTSFLOW and CTSFLOW termio(7) flags,          hardware handshake can be controlled by them.          Note that enabling handware flow control via the          minor device number overrides these flags. If you          like to use them you need to create tty device nodes          with minor device numbers in which the bit for hardware          handshake is set to 0. Look at the description in the          README file for more details.          Note also that if you choose to use RTSFLOW and CTSFLOW          all your programs that do initial access to tty devices          (getty, uucico, cu, SLIP dialup program etc.) need to know          about these flags or hardware handshake will not be used.          The `O_EXCL' flag for the open(2) call is honored now.          This allowes exclusive access to an FAS device without          suffering from race conditions which could occure with          the termio(7) XCLUDE flag method.          The `fas_test_device' function returns a digit now that          indicates at which phase the test exited due to an error.          This error digit is displayed in the boot message. Thanks          to Brian Beattie (beattie@visenix.UUCP) for sending me          the necessary patches.     Bug Fixes:          Automatic input FIFO flush after unblocking the getty          open by the carrier or the unblock signal. This makes sure          that there is no chance that there are characters in the          FIFO that were received before the open got unblocked.          The sdevice entry for the AST 4-port card had a wrong          I/O address range (`s_fas-mux4'). This didn't affect FAS          but is checked by the kernel config program.          The gcc (GNU cc) support was removed because gcc's object          file wants to link in some "helpful" functions that aren't          contained in the kernel. But anyway, FAS is tuned so carefully          and depends on the optimization behaviour of the AT&T          standard C compiler that gcc won't have any advantages.          I changed the method with which the `fas_test_device' function          waits for certain events. The `delay' function was used          for that purpose but it turned out that with some flavors          of UNIX it is prohibited to use this function during the          xxinit phase of the boot process. Now a simple timeout loop          is used instead.          Removed the ADAPT_TIME mechanismn introduced in release 2.05.          The open() call now returns an `EBUSY' error number if the          device is already open and can't be opened in the desired          mode at this time.          The handling of the RING signal needed fixing. Unlike the other          three modem status lines RING generates an interrupt only at          the trailing edge.          No SIGHUP signal is sent any more if an ioctl call clears          the CLOCAL termio(7) flag while there is no carrier present.          SIGHUP is only sent if the actual DCD modem line drops.          The files *-mux4 were renamed to *-ast4 because this type of          card was originally developed by AST (AST 4-port card).     ------------------------------------------------------------               release 2.08 Sun Jan 13, 1991     New Features:          Bell Tech/Intel UNIX 3.2 is supported.          SCO Xenix 286 is also supported now. Thanks to Nickolay Saukh          (nms@saukh.rd.jvd.su) for providing the patches.          The Bell Tech HUB-6 card can be used with FAS. Thanks to          Keith Walker (kew@cims2.UUCP) for the patches.          For AT&T derived flavors of UNIX there is a line automatically          added to the kernel description file that makes the adding          and removing of FAS possible via the `kconfig' program. Thanks          to John Adams (johna@grumpy.boston.ma.us) for this idea.          There is a mechanismn now that prevents excessive modem status          interrupts caused by crosstalking between wires or by a loose          cable.          You can disable the FIFOs in a UART by "oring" the macro          `NO_FIFO' to the base port address of this device. This is          useful for mouse devices where you need immediate response          to the mouse movement.          The meaning of the bit mapped part of the minor device          numbers has changed. Some rather useless functions were          removed in favor of more control over the hardware handshake          modes. Even systems where the SCO RTSFLOW/CTSFLOW termio(7)          flags are not available can now use half duplex hardware          flow control (selected via the minor device number).          The assignment of RS232C lines to certain FAS functions          is even more flexible now. This allows to connect two          UNIX systems (with FAS) via a null modem cable, running          a getty at both ends. For more details, read the paragraph          about CABLING in the README file.          A special handling of the NS16550A input FIFO was introduced.          This causes multiple receiver interrupts (on the same IRQ          line) to be synchronized so that only one interrupt is          necessary to process all receiving ports. This reduces the          interrupt handling overhead and therefor results in lower          CPU load for concurrent serial input at high speeds.          The `fas_event' function processes all scheduled events          for all units with one single call. Previously, every unit          launched its own timeout() call if there was work to          do. This could lead to up to 16 timeouts at the same time,          resulting in some timeout handling overhead. This overhead          is minimized now.     Bug Fixes:          There were two bugs that could cause a port to lock up,          resulting in an immortal process.          Almost any kernel sleep is killable now (at least with one or          two `kill -9'). Therefor, there should be no more immortal          processes. Even killing a process that is hanging in a          close-on-exit call is possible.          The meaning of the RTSFLOW/CTSFLOW termio(7) flags was converted          to what SCO had in mind (half duplex flow control). This is for          compatibility reasons. Full duplex RTS/CTS hardware flow control          is still possible via the minor device number method. Thanks to          Dmitry V. Volodin (dvv@hq.demos.su) for providing me with the          necessary knowledge.          If a process is already sleeping in a getty open it will only          unblock on DCD low->high. In particular, if in the meantime          the device was open for dialout and DCD is still present if          the getty open takes over again this won't unblock the getty          open any more.          And there were, as usual, a number of other small bug fixes.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?