summaryrefslogtreecommitdiff
path: root/sys/arch/vax/qbus/dl.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/vax/qbus/dl.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/vax/qbus/dl.c')
-rw-r--r--sys/arch/vax/qbus/dl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/qbus/dl.c b/sys/arch/vax/qbus/dl.c
index b0e07c19fe3..f337ce38329 100644
--- a/sys/arch/vax/qbus/dl.c
+++ b/sys/arch/vax/qbus/dl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dl.c,v 1.10 2010/04/12 12:57:52 tedu Exp $ */
+/* $OpenBSD: dl.c,v 1.11 2010/06/28 14:13:31 deraadt Exp $ */
/* $NetBSD: dl.c,v 1.11 2000/01/24 02:40:29 matt Exp $ */
/*-
@@ -206,7 +206,7 @@ dl_attach (parent, self, aux)
/* Initialize our softc structure. Should be done in open? */
- sc->sc_tty = ttymalloc();
+ sc->sc_tty = ttymalloc(0);
/* Now register the TX & RX interrupt handlers */
uba_intr_establish(ua->ua_icookie, ua->ua_cvec , dlxint, sc);