#if 0'd evil dynamic fifo trigger level adjustment; it just bit me and

a couple of other people again.
This commit is contained in:
David Greenman 1994-09-21 19:39:25 +00:00
parent 354c733261
commit 36317691a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2954
3 changed files with 9 additions and 3 deletions

View file

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id: sio.c,v 1.51 1994/08/25 10:15:28 bde Exp $
* $Id: sio.c,v 1.52 1994/09/13 03:30:31 phk Exp $
*/
#include "sio.h"
@ -1449,6 +1449,7 @@ siopoll()
"sio%d: %u more %s%s (total %lu)\n",
unit, delta, error_desc[errnum],
delta == 1 ? "" : "s", total);
#if 0
if (errnum == CE_OVERRUN && com->hasfifo
&& com->ftl > FIFO_TRIGGER_1) {
static u_char ftl_in_bytes[] =
@ -1466,6 +1467,7 @@ siopoll()
ftl_in_bytes[com->ftl
/ FIFO_TRIGGER_DELTA]);
}
#endif
}
}
if (com->state & CS_ODONE) {

View file

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id: sio.c,v 1.51 1994/08/25 10:15:28 bde Exp $
* $Id: sio.c,v 1.52 1994/09/13 03:30:31 phk Exp $
*/
#include "sio.h"
@ -1449,6 +1449,7 @@ siopoll()
"sio%d: %u more %s%s (total %lu)\n",
unit, delta, error_desc[errnum],
delta == 1 ? "" : "s", total);
#if 0
if (errnum == CE_OVERRUN && com->hasfifo
&& com->ftl > FIFO_TRIGGER_1) {
static u_char ftl_in_bytes[] =
@ -1466,6 +1467,7 @@ siopoll()
ftl_in_bytes[com->ftl
/ FIFO_TRIGGER_DELTA]);
}
#endif
}
}
if (com->state & CS_ODONE) {

View file

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)com.c 7.5 (Berkeley) 5/16/91
* $Id: sio.c,v 1.51 1994/08/25 10:15:28 bde Exp $
* $Id: sio.c,v 1.52 1994/09/13 03:30:31 phk Exp $
*/
#include "sio.h"
@ -1449,6 +1449,7 @@ siopoll()
"sio%d: %u more %s%s (total %lu)\n",
unit, delta, error_desc[errnum],
delta == 1 ? "" : "s", total);
#if 0
if (errnum == CE_OVERRUN && com->hasfifo
&& com->ftl > FIFO_TRIGGER_1) {
static u_char ftl_in_bytes[] =
@ -1466,6 +1467,7 @@ siopoll()
ftl_in_bytes[com->ftl
/ FIFO_TRIGGER_DELTA]);
}
#endif
}
}
if (com->state & CS_ODONE) {