NetBSD Problem Report #432

From gnats  Mon Aug 22 12:16:18 1994
Received: from localhost (root@cis-ts3-slip4.cis.brown.edu [128.148.19.58]) by sun-lamp.cs.berkeley.edu (8.6.9/8.6.9) with ESMTP id MAA00480 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 22 Aug 1994 12:16:00 -0700
Message-Id: <199408220513.BAA01953@cis-ts3-slip4.cis.brown.edu>
Date: Mon, 22 Aug 1994 01:13:20 -0400
From: Mark Weaver <mhw@cs.brown.edu>
Reply-To: mhw@cs.brown.edu
To: gnats-bugs@sun-lamp.cs.berkeley.edu
Subject: i386 com.c: FIFO_TRIGGER_1 should be used at low baud rates
X-Send-Pr-Version: 3.2

>Number:         432
>Category:       port-i386
>Synopsis:       i386 com.c: FIFO_TRIGGER_1 should be used at low baud rates
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          closed
>Class:          change-request
>Submitter-Id:   mhw
>Arrival-Date:   Mon Aug 22 12:20:06 +0000 1994
>Closed-Date:    Wed Aug 24 20:37:17 +0000 1994
>Last-Modified:  Fri Aug 13 13:28:09 +0000 2004
>Originator:     Mark Weaver
>Release:        NetBSD 1.0_BETA (21-July-1994)
>Organization:
--------------------------------------------------------------------
Email: Mark_Weaver@brown.edu           | Brown University
PGP Key: finger mhw@cs.brown.edu       | Dept of Computer Science
>Environment:

System: NetBSD cis-ts3-slip4.cis.brown.edu 1.0_BETA NetBSD 1.0_BETA (EXCELSIOR) #2: Mon Aug 22 00:02:40 EDT 1994 mhw@excelsior.cis.brown.edu:/usr/src/sys/arch/i386/compile/EXCELSIOR i386

>Description:
	It would be nice is FIFO_TRIGGER_1 was used at low baud rates,
	because the pointer in X is very jerky when using a serial mouse.
	The included patch uses FIFO_TRIGGER_1 when slower than 2400 baud,
	otherwise it uses FIFO_TRIGGER_8.  I've tested it and it seems to
	work fine.

>How-To-Repeat:
>Fix:
*** src/sys/arch/i386/isa/com.c.mhw1	Tue Aug  9 06:28:01 1994
--- src/sys/arch/i386/isa/com.c	Mon Aug 22 00:01:41 1994
***************
*** 297,306 ****

  		iobase = sc->sc_iobase;
  		/* flush any pending I/O */
- 		if (sc->sc_hwflags & COM_HW_FIFO)
- 			outb(iobase + com_fifo,
- 			    FIFO_ENABLE | FIFO_RCV_RST | FIFO_XMT_RST |
- 			    FIFO_TRIGGER_8);
  		(void) inb(iobase + com_lsr);
  		(void) inb(iobase + com_data);
  		/* you turn me on, baby */
--- 297,302 ----
***************
*** 579,584 ****
--- 575,586 ----
  				outb(iobase + com_mcr, sc->sc_mcr &= ~MCR_RTS);
  		}
  	}
+ 
+ 	/* If the speed changed, we might need to change the fifo trigger */
+ 	if (sc->sc_hwflags & COM_HW_FIFO)
+ 		outb(iobase + com_fifo,
+ 		    FIFO_ENABLE | FIFO_RCV_RST | FIFO_XMT_RST |
+ 		    (t->c_ispeed < 2400 ? FIFO_TRIGGER_1 : FIFO_TRIGGER_8));

  	/*
  	 * If CTS is off and CRTSCTS is changed, we must toggle TS_TTSTOP.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: mycroft 
State-Changed-When: Wed Aug 24 13:37:17 PDT 1994 
State-Changed-Why:  
Done. 

From: Thomas Klausner <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/432 CVS commit: pkgsrc/devel/automake
Date: Fri, 13 Aug 2004 13:27:06 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Fri Aug 13 13:27:06 UTC 2004

 Modified Files:
 	pkgsrc/devel/automake: Makefile PLIST distinfo

 Log Message:
 Update to 1.9.1:

 Bugs fixed in 1.9.1:

 This release fixes three longstanding bugs.

 * Adjust #line directives in `parser.h' (when ylwrap is not used).
   (PR/432)

 * Fix definition of YLWRAP when ylwrap is installed in a default
   aux directory found in a parent package.

 * Properly recognize AC_CANONICAL_BUILD and AC_CANONICAL_TARGET.

 New in 1.9:

 * Makefile.in bloat reduction:

   - Inference rules are used to compile sources in subdirectories when
     the `subdir-objects' option is used and no per-target flags are
     used.  This should reduce the size of some projects a lot, because
     Automake used to output an explicit rule for each such object in
     the past.

   - Automake no longer outputs three rules (.o, .obj, .lo) for each
     object that must be built with explicit rules.  It just outputs
     the rules required to build the kind of object considered: either
     the two .o and .obj rules for usual objects, or the .lo rule for
     libtool objects.

 * Change to Libtool support:

   - Libtool tags are used with libtool versions that support them.
     (I.e., with Libtool 1.5 or greater.)

   - Automake is now able to handle setups where a libtool library is
     conditionally installed in different directories, as in

       if COND
         lib_LTLIBRARIES = liba.la
       else
         pkglib_LTLIBRARIES = liba.la
       endif
       liba_la_SOURCES = ...

 * Changes to aclocal:

   - aclocal now ensures that AC_DEFUNs and AU_DEFUNs it discovers are
     really evaluated, before it decides to include them in aclocal.m4.
     This solves nasty problems with conditional redefinitions of
     Autoconf macros in /usr/share/aclocal/*.m4 files causing extraneous
     *.m4 files to be included in any project using these macros.
     (Calls to AC_PROG_EGREP causing libtool.m4 to be included is the
     most famous instance of this bug.)

   - Do not complain about missing conditionally AC_REQUIREd macros
     that are not actually used.  In 1.8.x aclocal would correctly
     determine which of these macros were really needed (and include
     only these in the package); unfortunately it would also require
     all of them to be present in order to run.  This created
     situations were aclocal would not work on a tarball distributing
     all the macros it uses.  For instance running aclocal on a project
     containing only the subset of the Gettext macros in use by the
     project did not work, because gettext conditionally requires other
     macros.

 * Portability improvements:

   - Tar format can be chosen with the new options tar-v7, tar-ustar, and
     tar-pax.  The new option filename-length-max=99 helps diagnosing
     filenames that are too long for tar-v7.  (PR/414)

   - Variables aumented with `+=' are now automatically flattened (i.e.,
     trailing backslashes removed) and then wrapped around 80 colummns
     (adding trailing backslashes).  In previous versions, a long series
     of
       VAR += value1
       VAR += value2
       VAR += value3
       ...
     would result in a single-line definition of VAR that could possibly
     exceed the maximum line length of some make implementations.

     Non-augmented variables are still output as they are defined in
     the Makefile.am.

 * Miscellaneous:

   - Support Fortran 90/95 with the new "fc" and "ppfc" languages.
     Works the same as the old Fortran 77 implementation; just replace
     F77 with FC everywhere (exception: FFLAGS becomes FCFLAGS).
     Requires a version of autoconf which provides AC_PROG_FC (>=2.59).

   - Support for conditional _LISP.

   - Support for conditional -hook and -local rules (PR/428).

   - Diagnose AC_CONFIG_AUX_DIR calls following AM_INIT_AUTOMAKE. (PR/49)

   - Automake will not write any Makefile.ins after the first error it
     encounters.  The previous Makefile.ins (if any) will be left in
     place.  (Warnings will not prevent output, but remember they can
     be turned into errors with -Werror.)

   - The restriction that SUBDIRS must contain direct children is gone.
     Do not abuse.

   - The manual tells more about SUBDIRS vs. DIST_SUBDIRS.
     It also gives an example of nested packages using AC_CONFIG_SUBDIRS.


 To generate a diff of this commit:
 cvs rdiff -r1.54 -r1.55 pkgsrc/devel/automake/Makefile
 cvs rdiff -r1.9 -r1.10 pkgsrc/devel/automake/PLIST
 cvs rdiff -r1.19 -r1.20 pkgsrc/devel/automake/distinfo

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.