Work around a fatal firmware bug on some boards. From msmith@freebsd.org.

This commit is contained in:
ad 2000-10-26 14:43:50 +00:00
parent 1bb1a44a90
commit 528e314143
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: twe.4,v 1.2 2000/10/20 15:14:25 ad Exp $
.\" $NetBSD: twe.4,v 1.3 2000/10/26 14:46:34 ad Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
.\" All rights reserved.
@ -62,7 +62,7 @@ Set the maximum queued command count to
.Ar n
commands.
The default value is 128.
The maximum value that the underlying hardware can support is 256.
The maximum value that the underlying hardware can support is 255.
.It Cd options TWE_MAX_PI_QUEUECNT=n
Set the maximum per-unit queued command count to
.Ar n

View File

@ -1,4 +1,4 @@
/* $NetBSD: twereg.h,v 1.1 2000/10/19 14:11:31 ad Exp $ */
/* $NetBSD: twereg.h,v 1.2 2000/10/26 14:43:50 ad Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -139,7 +139,7 @@
#define TWE_INIT_MESSAGE_CREDITS 0x100
#define TWE_INIT_CMD_PACKET_SIZE 0x3
#define TWE_SG_SIZE 62
#define TWE_MAX_CMDS 256
#define TWE_MAX_CMDS 255
#define TWE_Q_START 0
#define TWE_UNIT_INFORMATION_TABLE_BASE 0x300
#define TWE_IOCTL 0x80