public inbox for linux-serial@vger.kernel.org
 help / color / mirror / Atom feed
* Interface for setting half-duplex transmitter mode
@ 2008-08-06 19:25 Sergey Lapin
  2008-08-06 21:38 ` Grant Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Sergey Lapin @ 2008-08-06 19:25 UTC (permalink / raw)
  To: linux-serial

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.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-06 21:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-06 19:25 Interface for setting half-duplex transmitter mode Sergey Lapin
2008-08-06 21:38 ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox