diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-05-31 12:25:54 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-05-31 12:25:54 +0000 |
commit | c10fbbe1915fd40bb5ab1e2f15b6a3599c3922b8 (patch) | |
tree | ffc3418bb6e861a490790c13f44982d468f1d287 /sys/arch | |
parent | ea88bb4219563580b4dbe46511f73b5cfee08abd (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')
-rw-r--r-- | sys/arch/mvme68k/dev/cl.c | 4 | ||||
-rw-r--r-- | sys/arch/mvme88k/dev/cl.c | 4 |
2 files changed, 4 insertions, 4 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 diff --git a/sys/arch/mvme88k/dev/cl.c b/sys/arch/mvme88k/dev/cl.c index 397995ca714..e5b3b2a568a 100644 --- a/sys/arch/mvme88k/dev/cl.c +++ b/sys/arch/mvme88k/dev/cl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cl.c,v 1.53 2008/01/23 16:37:57 jsing Exp $ */ +/* $OpenBSD: cl.c,v 1.54 2009/05/31 12:25:53 miod Exp $ */ /* * Copyright (c) 1995 Dale Rahn. All rights reserved. @@ -55,7 +55,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 |