summaryrefslogtreecommitdiff
path: root/sys/arch/hppa64
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/hppa64
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/hppa64')
-rw-r--r--sys/arch/hppa64/dev/pdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa64/dev/pdc.c b/sys/arch/hppa64/dev/pdc.c
index df735089543..6716b95c027 100644
--- a/sys/arch/hppa64/dev/pdc.c
+++ b/sys/arch/hppa64/dev/pdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdc.c,v 1.8 2010/06/26 23:24:43 guenther Exp $ */
+/* $OpenBSD: pdc.c,v 1.9 2010/06/28 14:13:28 deraadt Exp $ */
/*
* Copyright (c) 2005 Michael Shalayeff
@@ -197,7 +197,7 @@ pdcopen(dev, flag, mode, p)
if (sc->sc_tty)
tp = sc->sc_tty;
else {
- tp = sc->sc_tty = ttymalloc();
+ tp = sc->sc_tty = ttymalloc(0);
}
tp->t_oproc = pdcstart;