Re: SERIAL_IMX in RS485 mode - EOT, read back

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

 




1) Since RS485 is half-duplex, it is necessary to share transmission time with other devices. I think that for reasons of flexibility the preferred solution would be to control that from application, not from the driver. But to do that properly, the information that the TX buffer is empty would be welcome (note: not that TX buffer can accept more bytes, but that there are no more left for sending out). Is it available somewhere already?

Probably the way to go is tcdrain(). Does it really wait until hardware completes the transmission, or some "intermediate" buffer becomes empty?

Best regards,
Adam




[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