/* This routine is called by tty_hangup() when a hangup is signaled.  */
static void mxser_hangup(struct tty_struct *tty)
/* This routine is called by tty_hangup() when a hangup is signaled.  */
static void mxser_hangup(struct tty_struct *tty)
{
	struct mxser_port *info = tty->driver_data;
	mxser_flush_buffer(tty);
	tty_port_hangup(&info->port);
}