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

2016-09-16 Thread Ran Shalit
On Thu, Sep 15, 2016 at 11:50 PM, wrote: > On Thu, 15 Sep 2016 23:19:51 +0300, Ran Shalit said: > >> Isn't writing to console, the same as outputing chars to serial ? > > No. For instance, consider any laptop where "console" is an LCD screen, > and if it's recent hardware, there isn't a UART any

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

2016-09-15 Thread Greg KH
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

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

2016-09-15 Thread Valdis . Kletnieks
On Thu, 15 Sep 2016 23:19:51 +0300, Ran Shalit said: > Isn't writing to console, the same as outputing chars to serial ? No. For instance, consider any laptop where "console" is an LCD screen, and if it's recent hardware, there isn't a UART anywhere in the device, nor is there a serial port to c