Re: Q: what is the need for console write callback if there is serial tx (start_tx) ?

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

 



On Thu, Sep 15, 2016 at 11:19:51PM +0300, Ran Shalit wrote:
> Hello,
> 
> I am writing a driver with serial tx/rx.

Great!  For what type of hardware?

> I am not sure what is the need console routines, when there is
> serial/uart tx/rx.
> 
> Isn't writing to console, the same as outputing chars to serial ?
> 
> I've tried to find information on this, but found none.

Just follow the "normal" tty api and your driver should be fine and work
with all sorts of consoles and programs and line disciplines.

good luck!

greg k-h
--
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