msc.c (1.6) | msc.c (1.7) |
---|---|
1/* $NetBSD: msc.c,v 1.6 1996/04/21 21:12:15 veego Exp $ */ | 1/* $NetBSD: msc.c,v 1.7 1996/06/06 04:47:34 mhitch Exp $ */ |
2 3/* 4 * Copyright (c) 1993 Zik. 5 * Copyright (c) 1995 Jukka Marin <jmarin@teeri.jmp.fi>. 6 * Copyright (c) 1995 Timo Rossi <trossi@jyu.fi>. 7 * Copyright (c) 1995 Rob Healey <rhealey@kas.helios.mn.org>. 8 * Copyright (c) 1982, 1986, 1990 The Regents of the University of California. 9 * All rights reserved. --- 308 unchanged lines hidden (view full) --- 318 * RFH: WHY here? Put down by while like other serial drivers 319 * But if we do that it makes things bomb. 320 */ 321 s = spltty(); 322 323 if (!msc_tty[ttyn]) { 324 325 tp = ttymalloc(); | 2 3/* 4 * Copyright (c) 1993 Zik. 5 * Copyright (c) 1995 Jukka Marin <jmarin@teeri.jmp.fi>. 6 * Copyright (c) 1995 Timo Rossi <trossi@jyu.fi>. 7 * Copyright (c) 1995 Rob Healey <rhealey@kas.helios.mn.org>. 8 * Copyright (c) 1982, 1986, 1990 The Regents of the University of California. 9 * All rights reserved. --- 308 unchanged lines hidden (view full) --- 318 * RFH: WHY here? Put down by while like other serial drivers 319 * But if we do that it makes things bomb. 320 */ 321 s = spltty(); 322 323 if (!msc_tty[ttyn]) { 324 325 tp = ttymalloc(); |
326 tty_attach(tp); |
|
326 msc_tty[ttyn] = tp; 327 msc_tty[ttyn+1] = (struct tty *)NULL; 328 329#if 0 330 /* default values are not optimal for this device, increase buffers. */ 331 clfree(&tp->t_rawq); 332 clfree(&tp->t_canq); 333 clfree(&tp->t_outq); --- 989 unchanged lines hidden --- | 327 msc_tty[ttyn] = tp; 328 msc_tty[ttyn+1] = (struct tty *)NULL; 329 330#if 0 331 /* default values are not optimal for this device, increase buffers. */ 332 clfree(&tp->t_rawq); 333 clfree(&tp->t_canq); 334 clfree(&tp->t_outq); --- 989 unchanged lines hidden --- |