/* Assabet uses COM_RTS and COM_DTR for both UART1 (com port) and UART3 (radio module). We only handle them for UART1 here.  */
static void assabet_set_mctrl(struct uart_port *port, u_int mctrl)
/* Assabet uses COM_RTS and COM_DTR for both UART1 (com port) and UART3 (radio module). We only handle them for UART1 here.  */
static void assabet_set_mctrl(struct uart_port *port, u_int mctrl)
{
	if (port->mapbase == _Ser1UTCR0) {
		u_int set = 0, clear = 0;
		if (mctrl & TIOCM_RTS)
			clear |= ASSABET_BCR_COM_RTS;
		else
			set |= ASSABET_BCR_COM_RTS;
		if (mctrl & TIOCM_DTR)
			clear |= ASSABET_BCR_COM_DTR;
		else
			set |= ASSABET_BCR_COM_DTR;
		ASSABET_BCR_clear(clear);
		ASSABET_BCR_set(set);
	}
}