patch-2.0.1 linux/drivers/isdn/icn/icn.h

Next file: linux/drivers/isdn/isdn_common.c
Previous file: linux/drivers/isdn/icn/icn.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.0/linux/drivers/isdn/icn/icn.h linux/drivers/isdn/icn/icn.h
@@ -1,4 +1,4 @@
-/* $Id: icn.h,v 1.19 1996/06/06 13:58:35 fritz Exp $
+/* $Id: icn.h,v 1.20 1996/06/24 17:20:37 fritz Exp $
  *
  * ISDN lowlevel-module for the ICN active ISDN-Card.
  *
@@ -19,6 +19,13 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
  *
  * $Log: icn.h,v $
+ * Revision 1.20  1996/06/24 17:20:37  fritz
+ * Bugfixes in pollbchan_send():
+ *   - Using lock field of skbuff breaks networking.
+ *   - Added channel locking
+ *   - changed dequeuing scheme.
+ * Eliminated misc. compiler warnings.
+ *
  * Revision 1.19  1996/06/06 13:58:35  fritz
  * Changed code to be architecture independent
  *
@@ -155,7 +162,7 @@
 #define ICN_CODE_STAGE1 4096     /* Size of bootcode                        */
 #define ICN_CODE_STAGE2 65536    /* Size of protocol-code                   */
 
-#define ICN_MAX_SQUEUE 65536     /* Max. outstanding send-data              */
+#define ICN_MAX_SQUEUE 8000      /* Max. outstanding send-data (2* hw-buf.) */
 #define ICN_FRAGSIZE (250)       /* Max. size of send-fragments             */
 #define ICN_BCH 2                /* Number of supported channels per card   */
 
@@ -240,6 +247,7 @@
         struct sk_buff_head
                 spqueue[ICN_BCH];     /* Sendqueue                        */
         char regname[35];             /* Name used for request_region     */
+        u_char xmit_lock[ICN_BCH];    /* Semaphore for pollbchan_send()   */
 } icn_card;
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov