On July 8, 2008 11:53:32 am Chris Doré wrote:
> I'd probably just add an IOCTL allowing the feature to be enabled/disabled
> by an app.  You may have to worry about other code touching that register
> and wiping out your RTSTX bit, depending on if that code blindly writes
> values to the reg or if it caches/read-writes it.

That is the exact correct way to do it.  I did not do it quite so nicely.  :-)

in transmit_chars() of mcfserial.c, I hack it in thusly:

        if (info->x_char) {
// ABK: assert RTS, transmitter should turn it off automatically when !CRTSCTS
                uartp[MCFUART_UOP1] = MCFUART_UOP_RTS;

-A.
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to