kernels/linux-2.4.0/drivers/s390/char/con3215.c
/*
 * tty3215_close()
 *
 * This routine is called when the 3215 tty is closed. We wait
 * for the remaining request to be completed. Then we clean up.
 */
tty3215_close()
This routine is called when the 3215 tty is closed. We wait
for the remaining request to be completed. Then we clean up.
tty3215_close () This routine is called when the 3215 tty is closed . We wait for the remaining request to be completed . Then we clean up .
static void tty3215_close(struct tty_struct *tty, struct file * filp)
{
	raw3215_info *raw;
	raw = (raw3215_info *) tty->driver_data;
	if (raw == NULL || tty->count > 1)
		return;
	tty->closing = 1;
	raw3215_shutdown(raw);
	tty->closing = 0;
	raw->tty = NULL;
}
static void tty3215_close ( struct tty_struct * tty , struct file * filp ) { raw3215_info * raw ; raw = ( raw3215_info * ) tty -> driver_data ; if ( raw == NULL || tty -> count > 1 ) return ; tty -> closing = 1 ; raw3215_shutdown ( raw ) ; tty -> closing = 0 ; raw -> tty = NULL ; }
tty3215_close()
 This routine is called when the 3215 tty is closed.
tty3215_close () This routine is called when the 3215 tty is closed .
/* Shutdown the terminal */