Re: [PATCH 2/2] pch_uart: Delete modem status interrupt enable code

From: Alan Cox
Date: Wed Nov 02 2011 - 07:01:12 EST


> Called ".get_mctrl" function, other software can know incoming carrier
> detection.
> Or you mean a uart driver must detect incoming carrier with interrupt ?

If a user opens a tty port which has no carrier signal then the open is
supposed to block until the carrier is raised unless either clocal
termios or O_NDELAY open flags are set.

That usually means you need to take the carrier raise interrupt in order
to wake out of open in this case.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/