patch-2.3.14 linux/drivers/isdn/avmb1/capidev.h

Next file: linux/drivers/isdn/avmb1/capidrv.c
Previous file: linux/drivers/isdn/avmb1/capi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/drivers/isdn/avmb1/capidev.h linux/drivers/isdn/avmb1/capidev.h
@@ -1,11 +1,33 @@
 /*
- * $Id: capidev.h,v 1.1 1997/03/04 21:50:30 calle Exp $
+ * $Id: capidev.h,v 1.4 1999/07/01 15:26:32 calle Exp $
  *
  * CAPI 2.0 Interface for Linux
  *
  * (c) Copyright 1996 by Carsten Paeth (calle@calle.in-berlin.de)
  *
  * $Log: capidev.h,v $
+ * 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:
+ *   - support other controllers with CAPI-2.0 (i.e. USB Controller)
+ *   - write a CAPI-2.0 for the passive cards
+ *   - support serial link CAPI-2.0 boxes.
+ * + wrote "capi_driver" for all supported cards.
+ * + "capi_driver" (supported cards) now have to be configured with
+ *   make menuconfig, in the past all supported cards where included
+ *   at once.
+ * + new and better informations in /proc/capi/
+ * + new ioctl to switch trace of capi messages per controller
+ *   using "avmcapictrl trace [contr] on|off|...."
+ * + complete testcircle with all supported cards and also the
+ *   PCMCIA cards (now patch for pcmcia-cs-3.0.13 needed) done.
+ *
+ * Revision 1.3  1999/07/01 08:22:58  keil
+ * compatibility macros now in <linux/isdn_compat.h>
+ *
+ * Revision 1.2  1999/06/21 15:24:13  calle
+ * extend information in /proc.
+ *
  * Revision 1.1  1997/03/04 21:50:30  calle
  * Frirst version in isdn4linux
  *
@@ -22,12 +44,18 @@
 	int is_registered;
 	__u16 applid;
 	struct sk_buff_head recv_queue;
-#if LINUX_VERSION_CODE < 131841
-	struct wait_queue *recv_wait;
-#else
+#ifdef COMPAT_HAS_NEW_WAITQ
 	wait_queue_head_t recv_wait;
+#else
+	struct wait_queue *recv_wait;
 #endif
 	__u16 errcode;
+	/* Statistic */
+	unsigned long nopen;
+	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)