summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2006-07-26 00:38:39 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2006-07-26 00:38:39 +0000
commitb7205a0d0c7d06bada09e008d5cc9b282ba3cd94 (patch)
tree939473ff64c77312195a630ba3b51effeda11fcf /sys/dev
parent18714f8a7b3ff37ea2c79d98f63cdaa23f920a81 (diff)
Crank buffer sizes to the 1024 limit imposed by ttymalloc()
which should allow high speed devices to work better. tested by fkr@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/umodem.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/usb/umodem.c b/sys/dev/usb/umodem.c
index 38421362b55..a5bc9ab9f65 100644
--- a/sys/dev/usb/umodem.c
+++ b/sys/dev/usb/umodem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umodem.c,v 1.21 2006/06/23 06:27:12 miod Exp $ */
+/* $OpenBSD: umodem.c,v 1.22 2006/07/26 00:38:38 jsg Exp $ */
/* $NetBSD: umodem.c,v 1.45 2002/09/23 05:51:23 simonb Exp $ */
/*
@@ -85,11 +85,11 @@ int umodemdebug = 0;
/*
* These are the maximum number of bytes transferred per frame.
- * If some really high speed devices should use this driver they
- * may need to be increased, but this is good enough for normal modems.
+ * Buffers are this large to deal with high speed wireless devices.
+ * Capped at 1024 as ttymalloc() is limited to this amount.
*/
-#define UMODEMIBUFSIZE 64
-#define UMODEMOBUFSIZE 256
+#define UMODEMIBUFSIZE 1024
+#define UMODEMOBUFSIZE 1024
struct umodem_softc {
USBBASEDEVICE sc_dev; /* base device */