lkml.org 
[lkml]   [2011]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] pch_uart: Delete modem status interrupt enable code
> 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


\
 
 \ /
  Last update: 2011-11-02 12:03    [W:0.039 / U:32.180 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site