summaryrefslogtreecommitdiff
path: root/include/linux/kernelcapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/kernelcapi.h')
-rw-r--r--include/linux/kernelcapi.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/include/linux/kernelcapi.h b/include/linux/kernelcapi.h
index b982d5b77ae9..1d4b1b15d0b8 100644
--- a/include/linux/kernelcapi.h
+++ b/include/linux/kernelcapi.h
@@ -10,10 +10,8 @@
#ifndef __KERNELCAPI_H__
#define __KERNELCAPI_H__
-#include <linux/list.h>
-
-#define CAPI_MAXAPPL 128 /* maximum number of applications */
-#define CAPI_MAXCONTR 16 /* maximum number of controller */
+#define CAPI_MAXAPPL 240 /* maximum number of applications */
+#define CAPI_MAXCONTR 32 /* maximum number of controller */
#define CAPI_MAXDATAWINDOW 8
@@ -47,6 +45,7 @@ typedef struct kcapi_carddef {
#ifdef __KERNEL__
+#include <linux/list.h>
#include <linux/skbuff.h>
#define KCI_CONTRUP 0 /* arg: struct capi_profile */
@@ -63,6 +62,10 @@ struct capi20_appl {
unsigned long nrecvdatapkt;
unsigned long nsentctlpkt;
unsigned long nsentdatapkt;
+ struct semaphore recv_sem;
+ struct sk_buff_head recv_queue;
+ struct work_struct recv_work;
+ int release_in_progress;
/* ugly hack to allow for notification of added/removed
* controllers. The Right Way (tm) is known. XXX