]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/include/constants.h
The first enhanced version of Linux CAN-bus driver for OCERA project
[lincan.git] / lincan / include / constants.h
index f662a9828b200092a73fa7f68f256ac731d69caf..10af2ce52bdfa146170d2dacfc898e349623a2a7 100644 (file)
@@ -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)