summaryrefslogtreecommitdiffstats
path: root/sys/dev/twe
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-10-12 01:43:40 +0000
committermsmith <msmith@FreeBSD.org>2000-10-12 01:43:40 +0000
commitcdc161839cb8c24e2a23ab3a09522b3af0f07150 (patch)
treebf8c0a80550e1375cc7d7586e74f5a837a90643a /sys/dev/twe
parentccda206592d95217443edd052af90172c8f9974c (diff)
downloadFreeBSD-src-cdc161839cb8c24e2a23ab3a09522b3af0f07150.zip
FreeBSD-src-cdc161839cb8c24e2a23ab3a09522b3af0f07150.tar.gz
Reduce the number of outstanding commands we will send to the controller
to 50. This has been reported to avoid the problems that many users have been experiencing with crashing the card firmware during rebuilds.
Diffstat (limited to 'sys/dev/twe')
-rw-r--r--sys/dev/twe/twereg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/twe/twereg.h b/sys/dev/twe/twereg.h
index 9344280..db9a4f8 100644
--- a/sys/dev/twe/twereg.h
+++ b/sys/dev/twe/twereg.h
@@ -125,7 +125,7 @@
#define TWE_INIT_MESSAGE_CREDITS 0x100
#define TWE_INIT_COMMAND_PACKET_SIZE 0x3
#define TWE_MAX_SGL_LENGTH 62
-#define TWE_Q_LENGTH 256
+#define TWE_Q_LENGTH 50
#define TWE_Q_START 0
#define TWE_MAX_RESET_TRIES 3
#define TWE_UNIT_INFORMATION_TABLE_BASE 0x300
OpenPOWER on IntegriCloud