patch-2.2.16 linux/drivers/char/ip2/i2lib.h

Next file: linux/drivers/char/ip2/ip2mkdev.c
Previous file: linux/drivers/char/ip2/i2lib.c
Back to the patch index
Back to the overall index

diff -urN v2.2.15/linux/drivers/char/ip2/i2lib.h linux/drivers/char/ip2/i2lib.h
@@ -67,8 +67,8 @@
 //
 #define MAX_CBUF_BLOCK  6	// Maximum total length of a bypass command block
 
-#define IBUF_SIZE       500	// character capacity of input buffer per channel
-#define OBUF_SIZE       2048// character capacity of output buffer per channel
+#define IBUF_SIZE       512	// character capacity of input buffer per channel
+#define OBUF_SIZE       1024// character capacity of output buffer per channel
 #define CBUF_SIZE       10	// character capacity of output bypass buffer
 
 typedef struct _i2ChanStr
@@ -97,6 +97,7 @@
 	PWAITQ   open_wait;     // Pointer for OS sleep function.
 	PWAITQ   close_wait;    // Pointer for OS sleep function.
 	PWAITQ   delta_msr_wait;// Pointer for OS sleep function.
+	PWAITQ   dss_now_wait;	// Pointer for OS sleep function.
 
 	struct timer_list  BookmarkTimer;   // Used by i2DrainOutput
 	struct wait_queue *pBookmarkWait;   // Used by i2DrainOutput
@@ -215,7 +216,6 @@
 
 	void (*trace)(unsigned short,unsigned char,unsigned char,unsigned long,...);
 
-#ifdef __KERNEL__
 	/*
 	 * Kernel counters for the 4 input interrupts 
 	 */
@@ -227,7 +227,6 @@
 	struct tq_struct	tqueue_input;
 	struct tq_struct	tqueue_status;
 	struct tq_struct	tqueue_hangup;
-#endif 
 
 	spinlock_t Ibuf_spinlock;
 	spinlock_t Obuf_spinlock;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)