From 1f3a7fe8c2fe4f78d207ed4414ce9d1d4da7beef Mon Sep 17 00:00:00 2001 From: ppisa Date: Wed, 1 Jun 2005 15:46:04 +0000 Subject: [PATCH 1/1] The MAX_MSGOBJS limit increased to 32 due to requirements of C_CAN chip. This wastes 68-124 bytes for other chips. Some better solution should be considered. --- lincan/include/constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lincan/include/constants.h b/lincan/include/constants.h index dc2bb40..2643d0d 100644 --- a/lincan/include/constants.h +++ b/lincan/include/constants.h @@ -35,7 +35,7 @@ #define MAX_TOT_CHIPS (MAX_HW_CHIPS*MAX_HW_CARDS) #define MAX_TOT_CHIPS_STR 32 /* must be explicit for MODULE_PARM */ #define MAX_IRQ 32 -#define MAX_MSGOBJS 15 +#define MAX_MSGOBJS 32 #define MAX_TOT_MSGOBJS (MAX_TOT_CHIPS*MAX_MSGOBJS) #define MAX_BUF_LENGTH 64 //#define MAX_BUF_LENGTH 4 -- 2.39.2