sc->vbase[CD2400_CAR] = channel; sc->vbase[CD2400_IER] = 0xb;
sc->cl_reg->cl_car = channel; sc->cl_reg->cl_ier = sc->cl_reg->cl_ier | 0x3;
clstart(tp)	struct tty *tp;{	dev_t dev;	u_char cbuf;	struct clsoftc *sc;	int channel, unit, s, cnt;	dev = tp->t_dev;	channel = CL_CHANNEL(dev);/* hack to test output on non console only */#if 0	if (channel == 0) {		cloutput(tp);		return;	}#endif	unit = CL_UNIT(dev);	if (unit >= clcd.cd_ndevs || 	    (sc = (struct clsoftc *) clcd.cd_devs[unit]) == NULL) {		return;	}	if ((tp->t_state & TS_ISOPEN) == 0)		return;	s = spltty();#if 0	if (sc->sc_cl[channel].transmitting == 1) {		/* i'm busy, go away, I will get to it later. */		splx(s);		return;	}	cnt = q_to_b(&tp->t_outq, &cbuf, 1);	if (cnt != 0) {		sc->sc_cl[channel].transmitting = 1;		sc->vbase[CD2400_CAR] = channel;		sc->vbase[CD2400_TDR] = cbuf;	} else {		sc->sc_cl[channel].transmitting = 0;	}#else	if ((tp->t_state & (TS_TIMEOUT | TS_BUSY | TS_TTSTOP | TS_FLUSH)) == 0) {		tp->t_state |= TS_BUSY;		sc->vbase[CD2400_CAR] = channel;		sc->vbase[CD2400_IER] = 0xb;	}#endif	splx(s);}