kernels/linux-2.4.0/drivers/s390/char/con3215.c
/*
 * Enable writing to a 3215 tty
 */
Enable writing to a 3215 tty
Enable writing to a 3215 tty
static void tty3215_start(struct tty_struct *tty)
{
	raw3215_info *raw;
	unsigned long flags;
	raw = (raw3215_info *) tty->driver_data;
	if (raw->flags & RAW3215_STOPPED) {
		s390irq_spin_lock_irqsave(raw->irq, flags);
		raw->flags &= ~RAW3215_STOPPED;
		raw3215_try_io(raw);
		s390irq_spin_unlock_irqrestore(raw->irq, flags);
	}
}
static void tty3215_start ( struct tty_struct * tty ) { raw3215_info * raw ; unsigned long flags ; raw = ( raw3215_info * ) tty -> driver_data ; if ( raw -> flags & RAW3215_STOPPED ) { s390irq_spin_lock_irqsave ( raw -> irq , flags ) ; raw -> flags &= ~ RAW3215_STOPPED ; raw3215_try_io ( raw ) ; s390irq_spin_unlock_irqrestore ( raw -> irq , flags ) ; } }
Enable writing to a 3215 tty
Enable writing to a 3215 tty