diff options
| author | 2010-06-28 14:13:25 +0000 | |
|---|---|---|
| committer | 2010-06-28 14:13:25 +0000 | |
| commit | 197ff252a2d579f1ae582e0b28a0b2a56ec2bb2f (patch) | |
| tree | 7d82278be3c3971df59a1e951eb4c69f0a374898 /sys/arch/sparc/dev/magma.c | |
| parent | remove a lonely remnant from some debug code that snuck in. (diff) | |
| download | wireguard-openbsd-197ff252a2d579f1ae582e0b28a0b2a56ec2bb2f.tar.xz wireguard-openbsd-197ff252a2d579f1ae582e0b28a0b2a56ec2bb2f.zip | |
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/sparc/dev/magma.c')
| -rw-r--r-- | sys/arch/sparc/dev/magma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/magma.c b/sys/arch/sparc/dev/magma.c index 38413d86e58..3209d16bb23 100644 --- a/sys/arch/sparc/dev/magma.c +++ b/sys/arch/sparc/dev/magma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: magma.c,v 1.25 2010/04/12 12:57:52 tedu Exp $ */ +/* $OpenBSD: magma.c,v 1.26 2010/06/28 14:13:30 deraadt Exp $ */ /*- * Copyright (c) 1998 Iain Hibbert @@ -861,7 +861,7 @@ mtty_attach(parent, dev, args) chan = 1; /* skip channel 0 if parmode */ mp->mp_channel = chan; - tp = ttymalloc(); + tp = ttymalloc(0); tp->t_oproc = mtty_start; tp->t_param = mtty_param; |
