summaryrefslogtreecommitdiff
path: root/sys/arch/aviion/dev/dart.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-06-28 14:13:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-06-28 14:13:37 +0000
commitdf4647207f6e0f0893a85469177623af4f68589d (patch)
treec68295fb4d614022365c0395896029d963f4abc3 /sys/arch/aviion/dev/dart.c
parenta315d252b85e1baec7c359b23ab4dcb169ea2b00 (diff)
Allow tty drivers to request larger buffers at attach time using a
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new situation. The larger buffers are required by the very high speed KDDI devices in Japan (CF com, or USB ucom) so those are the only two drivers which currently ask for a larger buffer size. ok yasuoka miod
Diffstat (limited to 'sys/arch/aviion/dev/dart.c')
-rw-r--r--sys/arch/aviion/dev/dart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/aviion/dev/dart.c b/sys/arch/aviion/dev/dart.c
index fe83d35661e..f2be4e0c7d3 100644
--- a/sys/arch/aviion/dev/dart.c
+++ b/sys/arch/aviion/dev/dart.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dart.c,v 1.9 2010/04/24 18:46:55 miod Exp $ */
+/* $OpenBSD: dart.c,v 1.10 2010/06/28 14:13:27 deraadt Exp $ */
/*
* Mach Operating System
@@ -605,7 +605,7 @@ dartopen(dev_t dev, int flag, int mode, struct proc *p)
if (dart->tty != NULL)
tp = dart->tty;
else
- tp = dart->tty = ttymalloc();
+ tp = dart->tty = ttymalloc(0);
tp->t_oproc = dartstart;
tp->t_param = dartparam;