if (msvr & 0x20)
} if( msvr & 0x20) {
int clmctl(dev, bits, how)	dev_t dev;	int bits;	int how;{	struct clsoftc *sc = (struct clsoftc *)clcd.cd_devs[CL_UNIT(dev)];	int s;	/* settings are currently ignored */	s = spltty();	switch (how) {	case DMSET:		if (bits & TIOCM_RTS) {			sc->vbase[CD2400_MSVR_RTS] = 0x01;		} else {			sc->vbase[CD2400_MSVR_RTS] = 0x00;		}		if (bits & TIOCM_DTR) {			sc->vbase[CD2400_MSVR_DTR] = 0x02;		} else {			sc->vbase[CD2400_MSVR_DTR] = 0x00;		}		break;	case DMBIC:		if (bits & TIOCM_RTS) {			sc->vbase[CD2400_MSVR_RTS] = 0x00;		}		if (bits & TIOCM_DTR) {			sc->vbase[CD2400_MSVR_DTR] = 0x00;		}		break;	case DMBIS:		if (bits & TIOCM_RTS) {			sc->vbase[CD2400_MSVR_RTS] = 0x01;		}		if (bits & TIOCM_DTR) {			sc->vbase[CD2400_MSVR_DTR] = 0x02;		}		break;	case DMGET:		bits = 0;		{			u_char msvr = sc->vbase[CD2400_MSVR_RTS];			if (msvr & 0x80)				bits |= TIOCM_DSR;			if (msvr & 0x40)				bits |= TIOCM_CD;			if (msvr & 0x20)				bits |= TIOCM_CTS;			if (msvr & 0x10)				bits |= TIOCM_DTR;			if (msvr & 0x02)				bits |= TIOCM_DTR;			if (msvr & 0x01)				bits |= TIOCM_RTS;		}		break;	}	(void)splx(s);#if 0	bits = 0;	/* proper defaults? */	bits |= TIOCM_DTR;	bits |= TIOCM_RTS;	bits |= TIOCM_CTS;	bits |= TIOCM_CD;	/*	bits |= TIOCM_RI; */	bits |= TIOCM_DSR;#endif	/*	printf("retbits %x\n", bits);	*/	return (bits);}