/* Called by the upper tty layer when the tty buffers are almost full. The driver should stop send more data.  */
static void ntty_throttle(struct tty_struct *tty)
/* Called by the upper tty layer when the tty buffers are almost full. The driver should stop send more data.  */
static void ntty_throttle(struct tty_struct *tty)
{
	struct nozomi *dc = get_dc_by_tty(tty);
	unsigned long flags;
	DBG1("THROTTLE");
	spin_lock_irqsave(&dc->spin_mutex, flags);
	set_rts(tty, 0);
	spin_unlock_irqrestore(&dc->spin_mutex, flags);
}