Re: [PATCH 4/5] tty/hw: move hardware drivers to drivers/tty/hw

Arnd Bergmann
2010-08-30T12:28:39Z

On Monday 30 August 2010, Alan Cox wrote:
> > My impression was that it should actually be converted into an hvc
> > driver as a cleanup and moved to drivers/tty/hvc. It can probably
> > get reduced to one third of its size if you do that.
>
> Not sure it makes sense - hvc seems the wrong abstraction.

It seems to be very similar to hvc_tile.c in purpose, which is
the most trivial driver we have. Why would that not work?

Most of bfin_jtag_comm is about interfacing with the tty layer
and providing a kernel thread to do the polling, which is exactly
what hvc_console.c does.

Arnd