CLOCAL and TIOCMIWAIT

Ivan Passos (lists@cyclades.com)
Mon, 26 Feb 2001 16:56:38 -0800 (PST)


Hello,

A customer has just brought to my attention that when you try to use the
TIOCMIWAIT ioctl with our boards and CLOCAL is enabled, you can't check
changes in the DCD signal. He also mentioned that that is possible with
the regular serial ports.

As I understood, CLOCAL meant disabling DCD sensitivity, so if CLOCAL is
disabled, no changes in DCD will be passed from hardware driver to the
kernel or userspace. The way the serial driver is implemented, this is not
true (i.e. even with CLOCAL enabled, you can still see DCD changes through
the TIOCMIWAIT command).

My question is: what's the correct interpretation of CLOCAL?? If the
serial driver's interpretation is the correct one, I'll be more than happy
to change the Cyclades' driver to comply with that, I just want to make
sure that this is the expected behavior before I patch the driver.

Thanks in advance for your comments.

Later,
Ivan

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