Greg --
Some further cleanup after Oliver's patch to update the tty
buffering. The input buffer is not used at all anymore, so
I removed it.
This applies to 2.6.22-rc2 _after_ Oliver's patch, "Digi
AccelePort adapted to new tty buffering".
-- Al
Signed-off-by: Al Borchers <[EMAIL PROTECTED]>
diff -ur linux-2.6.22-rc2.tmp/drivers/usb/serial/digi_acceleport.c
linux-2.6.22-rc2/drivers/usb/serial/digi_acceleport.c
--- linux-2.6.22-rc2.tmp/drivers/usb/serial/digi_acceleport.c 2007-05-23
11:02:58.000000000 -0700
+++ linux-2.6.22-rc2/drivers/usb/serial/digi_acceleport.c 2007-05-23
11:54:44.000000000 -0700
@@ -416,9 +416,6 @@
int dp_port_num;
int dp_out_buf_len;
unsigned char dp_out_buf[DIGI_OUT_BUF_SIZE];
- int dp_in_buf_len;
- unsigned char dp_in_buf[DIGI_IN_BUF_SIZE];
- unsigned char dp_in_flag_buf[DIGI_IN_BUF_SIZE];
int dp_write_urb_in_use;
unsigned int dp_modem_signals;
wait_queue_head_t dp_modem_change_wait;
@@ -920,7 +917,6 @@
spin_lock_irqsave( &priv->dp_port_lock, flags );
priv->dp_throttled = 1;
priv->dp_throttle_restart = 0;
- priv->dp_in_buf_len = 0;
spin_unlock_irqrestore( &priv->dp_port_lock, flags );
}
@@ -939,7 +935,6 @@
/* turn throttle off */
priv->dp_throttled = 0;
- priv->dp_in_buf_len = 0;
priv->dp_throttle_restart = 0;
/* restart read chain */
@@ -1676,7 +1671,6 @@
spin_lock_init( &priv->dp_port_lock );
priv->dp_port_num = i;
priv->dp_out_buf_len = 0;
- priv->dp_in_buf_len = 0;
priv->dp_write_urb_in_use = 0;
priv->dp_modem_signals = 0;
init_waitqueue_head( &priv->dp_modem_change_wait );
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel