diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-06-28 14:13:37 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-06-28 14:13:37 +0000 |
commit | df4647207f6e0f0893a85469177623af4f68589d (patch) | |
tree | c68295fb4d614022365c0395896029d963f4abc3 /sys/dev/wscons | |
parent | a315d252b85e1baec7c359b23ab4dcb169ea2b00 (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/dev/wscons')
-rw-r--r-- | sys/dev/wscons/wsdisplay.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c index 62663eea3e9..4682d8aaa1e 100644 --- a/sys/dev/wscons/wsdisplay.c +++ b/sys/dev/wscons/wsdisplay.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wsdisplay.c,v 1.99 2010/04/12 12:57:52 tedu Exp $ */ +/* $OpenBSD: wsdisplay.c,v 1.100 2010/06/28 14:13:35 deraadt Exp $ */ /* $NetBSD: wsdisplay.c,v 1.82 2005/02/27 00:27:52 perry Exp $ */ /* @@ -310,7 +310,7 @@ wsscreen_attach(struct wsdisplay_softc *sc, int console, const char *emul, } scr->scr_dconf = dconf; - scr->scr_tty = ttymalloc(); + scr->scr_tty = ttymalloc(0); scr->sc = sc; return (scr); |