mir = sc->vbase[CD2400_MIR]; if ((mir & 0x40) == 0x0) {
if(((mir = sc->cl_reg->cl_mir) & 0x40) == 0x0) {
cl_mintr(sc)	struct clsoftc *sc;{	u_char mir, misr, msvr;	int channel;	struct tty *tp;	mir = sc->vbase[CD2400_MIR];	if ((mir & 0x40) == 0x0) {		/* only if intr is not shared? */		printf("cl_mintr extra intr\n");		return (0);	}	sc->sc_mxintrcnt.ev_count++;	channel = mir & 0x03;	misr = sc->vbase[CD2400_MISR];	msvr = sc->vbase[CD2400_MSVR_RTS];	if (misr & 0x01) {		/* timers are not currently used?? */		printf("cl_mintr: channel %x timer 1 unexpected\n", channel);	}	if (misr & 0x02) {		/* timers are not currently used?? */		printf("cl_mintr: channel %x timer 2 unexpected\n", channel);	}	if (misr & 0x20) {		printf("cl_mintr: channel %x cts %x\n", channel, 		    (msvr & 0x20) != 0x0);	}	if (misr & 0x40) {		struct tty *tp = sc->sc_cl[channel].tty;		printf("cl_mintr: channel %x cd %x\n", channel,		    (msvr & 0x40) != 0x0);		ttymodem(tp, (msvr & 0x40) != 0x0);	}	if (misr & 0x80) {		printf("cl_mintr: channel %x dsr %x\n", channel,		    (msvr & 0x80) != 0x0);	}	sc->vbase[CD2400_MEOIR] = 0x00;	return (1);}