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

Arnd Bergmann
2010-08-30T08:55:54Z

On Sunday 29 August 2010, Mike Frysinger wrote:
> > MAINTAINERS | 22 +-
> > drivers/char/Kconfig | 287 +------------------
> > drivers/char/Makefile | 28 +--
> > drivers/char/pcmcia/Kconfig | 22 --
> > drivers/char/pcmcia/Makefile | 3 -
> > drivers/tty/Makefile | 1 +
> > drivers/tty/hw/Kconfig | 308 ++++++++++++++++++++
> > drivers/tty/hw/Makefile | 27 ++
> > drivers/{char => tty/hw}/amiserial.c | 0
>
> does it need to be in tty/hw/ ? seems like there's so little in tty/
> to not bother with a further hw/ ...

Well, the idea here was to split the stuff that is commonly used
from the obsolete drivers.

BTW, the bfin_jtag_comm.c looks less obsolete than the rest of those
drivers, so I wasn't completely sure whether or not to move it into
the same place as the others.
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.

Arnd