X-Git-Url: http://rtime.felk.cvut.cz/gitweb/lincan.git/blobdiff_plain/4cf24de229090b1ab6279570a564d224e13dd706..786c7d54e8d820e89997e507c29ea716c0d55fd9:/lincan/include/constants.h diff --git a/lincan/include/constants.h b/lincan/include/constants.h index f662a98..10af2ce 100644 --- a/lincan/include/constants.h +++ b/lincan/include/constants.h @@ -26,6 +26,7 @@ #define MAX_HW_CARDS 8 #define MAX_HW_CHIPS 4 #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_TOT_MSGOBJS (MAX_TOT_CHIPS*MAX_MSGOBJS) @@ -39,6 +40,7 @@ /* These flags can be used for the msgobj_t structure flags data entry */ #define OPENED (1<<0) +#define BUFFERS_ALLOCATED (1<<1) /* These flags can be used for the chip_t structure flags data entry */ #define CONFIGURED (1<<0)