Interface for setting half-duplex transmitter mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, all!

Is there any interface API for userspace, which I could use
to set RS-485 mode on UART (which suports it via hardware, by setting 1
bit in configuration), which means half-duplex mode with RTS line
toggling. Now I have it hard-coded for appropriate UART,
and seen patch which sets this from platform data, but
is there some API to do it dynamically?

I know I could implement this by ioctl mechanism, but
I need some non-standard ioctl number for that. Is there
some sane way to accomplish my goals? I mean one which be accepted to
mainline?

Thanks a lot,
S.

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux