TL16C752B DUART: MCR_OUT2 disables interrupts

From: Shaun Jackman
Date: Tue Jun 20 2006 - 16:06:13 EST


The datasheet I have for the TL16C752B labels the MCR_OUT1 bit as
`FIFO Rdy enable' and the MCR_OUT2 bit as `IRQ enable'. The latter bit
concerns me. The 8250.c driver sets MCR_OUT2 by default; however, if
the user space clears MCR_OUT2 (through an ioctl TIOCMSET operation or
similar), it seems to me that interrupts for that UART will stop
working. Can someone confirm my suspicion?

I'd expect that clearing/setting the OUT1 and OUT2 pins from user
space should be an innocuous operation. Disabling interrupts is a
fairly nasty side effect.

Please cc me in your reply. Cheers,
Shaun
-
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/