patch-2.2.19 linux/drivers/isdn/avmb1/capidev.h
Next file: linux/drivers/isdn/avmb1/capidrv.c
Previous file: linux/drivers/isdn/avmb1/capicmd.h
Back to the patch index
Back to the overall index
- Lines: 58
- Date:
Sun Mar 25 11:37:32 2001
- Orig file:
v2.2.18/drivers/isdn/avmb1/capidev.h
- Orig date:
Sun Mar 25 11:13:07 2001
diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.18/drivers/isdn/avmb1/capidev.h linux/drivers/isdn/avmb1/capidev.h
@@ -1,11 +1,25 @@
/*
- * $Id: capidev.h,v 1.4 1999/07/01 15:26:32 calle Exp $
+ * $Id: capidev.h,v 1.6 2000/11/25 17:00:59 kai Exp $
*
* CAPI 2.0 Interface for Linux
*
* (c) Copyright 1996 by Carsten Paeth (calle@calle.in-berlin.de)
*
* $Log: capidev.h,v $
+ * Revision 1.6 2000/11/25 17:00:59 kai
+ * compatibility cleanup - final part for the time being
+ *
+ * Revision 1.5 2000/03/03 15:50:42 calle
+ * - kernel CAPI:
+ * - Changed parameter "param" in capi_signal from __u32 to void *.
+ * - rewrote notifier handling in kcapi.c
+ * - new notifier NCCI_UP and NCCI_DOWN
+ * - User CAPI:
+ * - /dev/capi20 is now a cloning device.
+ * - middleware extentions prepared.
+ * - capidrv.c
+ * - locking of list operations and module count updates.
+ *
* Revision 1.4 1999/07/01 15:26:32 calle
* complete new version (I love it):
* + new hardware independed "capi_driver" interface that will make it easy to:
@@ -40,18 +54,18 @@
*/
struct capidev {
- int is_open;
- int is_registered;
- __u16 applid;
+ struct capidev *next;
+ struct file *file;
+ __u16 applid;
+ __u16 errcode;
+ unsigned int minor;
+
struct sk_buff_head recv_queue;
- struct wait_queue *recv_wait;
- __u16 errcode;
+ wait_queue_head_t recv_wait;
+
/* Statistic */
- unsigned long nopen;
- unsigned long nrecvctlpkt;
- unsigned long nrecvdatapkt;
- unsigned long nsentctlpkt;
- unsigned long nsentdatapkt;
+ unsigned long nrecvctlpkt;
+ unsigned long nrecvdatapkt;
+ unsigned long nsentctlpkt;
+ unsigned long nsentdatapkt;
};
-
-#define CAPI_MAXMINOR CAPI_MAXAPPL
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)