Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jun 1995 22:28:17 +1000 (EST)
From:      michael butler <imb@scgt.oz.au>
To:        bde@zeta.org.au (Bruce Evans)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: silo overflows
Message-ID:  <199506071228.WAA05991@asstdc.scgt.oz.au>
In-Reply-To: <199506070736.RAA06651@godzilla.zeta.org.au> from "Bruce Evans" at Jun 7, 95 05:36:26 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Bruce Evans writes:

> >Is the current solution to change the FIFO_TRIGGER_14
> >value in sioreg.h to something lower ?
 
> No, FIFO_TRIGGER_14 is a constant, not an option.  Change the one
> place in sio.c where it is used to initialize com->ftl_init.  Use
> FIFO_TRIGGER_8 instead.

Could this be "externalised", please. I have a mix of machines from 386DX/40
through 486DX2/66 working from the same (-current) source set and a line in
the machine-dependent config file would be more appropriate and convenient
than having to edit the O/S sources each time I sup an update. 

options	"FIFO_TRIGGER=FIFO_TRIGGER_8"

 .. and ..

#ifndef FIFO_TRIGGER
#define FIFO_TRIGGER FIFO_TRIGGER_14
#endif

	:

com->ftl_init = FIFO_TRIGGER;

 .. is all that's necessary. If at all possible, site-dependent "hacks"
should be kept out of the kernel sources.

	michael



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506071228.WAA05991>