aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTilman Schmidt <tilman@imap.cc>2010-07-05 10:18:37 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-07 19:57:51 -0400
commitb3251d8045f87eec5d565603345d262cee134fa6 (patch)
tree14421766043e846d91585007eeaf5d06eb82dca0
parent597e608a8492d662736c9bc6aa507dbf1cadc17d (diff)
isdn/gigaset: adjust usb_gigaset tty write buffer limit
The usb_gigaset driver's write buffer limit was different from those of the others for no good reason. Set it to the same value, derived from the Siemens documentation. Impact: cosmetic Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/isdn/gigaset/usb-gigaset.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/isdn/gigaset/usb-gigaset.c b/drivers/isdn/gigaset/usb-gigaset.c
index 76dbb20f3065..f65cf7db216b 100644
--- a/drivers/isdn/gigaset/usb-gigaset.c
+++ b/drivers/isdn/gigaset/usb-gigaset.c
@@ -39,7 +39,8 @@ MODULE_PARM_DESC(cidmode, "Call-ID mode");
39#define GIGASET_MODULENAME "usb_gigaset" 39#define GIGASET_MODULENAME "usb_gigaset"
40#define GIGASET_DEVNAME "ttyGU" 40#define GIGASET_DEVNAME "ttyGU"
41 41
42#define IF_WRITEBUF 2000 /* arbitrary limit */ 42/* length limit according to Siemens 3070usb-protokoll.doc ch. 2.1 */
43#define IF_WRITEBUF 264
43 44
44/* Values for the Gigaset M105 Data */ 45/* Values for the Gigaset M105 Data */
45#define USB_M105_VENDOR_ID 0x0681 46#define USB_M105_VENDOR_ID 0x0681