summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/dev
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-05-31 12:25:54 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-05-31 12:25:54 +0000
commitc10fbbe1915fd40bb5ab1e2f15b6a3599c3922b8 (patch)
treeffc3418bb6e861a490790c13f44982d468f1d287 /sys/arch/mvme68k/dev
parentea88bb4219563580b4dbe46511f73b5cfee08abd (diff)
Fix definition of CL_FIFO_MAX to match what the hardware can do; this in
turn fixes a stack smash in cl_rxintr().
Diffstat (limited to 'sys/arch/mvme68k/dev')
-rw-r--r--sys/arch/mvme68k/dev/cl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/cl.c b/sys/arch/mvme68k/dev/cl.c
index 57b2baeeb36..d37562ae19c 100644
--- a/sys/arch/mvme68k/dev/cl.c
+++ b/sys/arch/mvme68k/dev/cl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cl.c,v 1.46 2009/03/15 20:40:25 miod Exp $ */
+/* $OpenBSD: cl.c,v 1.47 2009/05/31 12:25:52 miod Exp $ */
/*
* Copyright (c) 1995 Dale Rahn. All rights reserved.
@@ -61,7 +61,7 @@
/* min timeout 0xa, what is a good value */
#define CL_TIMEOUT 0x10
-#define CL_FIFO_MAX 0x10
+#define CL_FIFO_MAX 0x20
#define CL_FIFO_CNT 0xc
#define CL_RX_TIMEOUT 0x10