/* This routines are called before setting or resetting tty->stopped.  */
static void rs_stop(struct tty_struct *tty)
/* This routines are called before setting or resetting tty->stopped.  */
static void rs_stop(struct tty_struct *tty)
{
	struct m68k_serial *info = (struct m68k_serial *)tty->driver_data;
	m68328_uart *uart = &uart_addr[info->line];
	unsigned long flags;
	if (serial_paranoia_check(info, tty->name, "rs_stop"))
		return;
	local_irq_save(flags);
	uart->ustcnt &= ~USTCNT_TXEN;
	local_irq_restore(flags);
}