Re: [RFC 0/5] tty: move stuff around

Arnd Bergmann
2010-08-30T21:33:34Z

On Monday 30 August 2010 20:47:37 Greg KH wrote:
> On Sun, Aug 29, 2010 at 11:06:30PM +0200, Arnd Bergmann wrote:
> > Hi Greg,
> >
> > After fighting with the BKL removal in tty, I realized that the
> > files in drivers/char could use a reorganization to split the
> > tty files from those drivers that have nothing to do with ttys.
>
> <snip>
>
> I like the idea, and after you've worked out with Alan which ones should
> be "deleted" and others moved around, I'll be glad to apply these types
> of patches.
>
> Oh, we shouldn't just delete the drivers, we can move them to
> drivers/staging/ where they will then be removed after 2 kernel releases
> if no one steps up to fix/maintain them. That's the "proper" way to
> depreciate a driver.

Ok, I was already wondering if this would be the right way.

With the feedback I have so far, I think we have

drivers/char/tty_* -> tty/*
drivers/char/{vt stuff} -> tty/vt/
drivers/char/hvc_* -> drivers/tty/hvc/hvc_*
drivers/serial/* -> drivers/tty/serial/*
drivers/usb/serial -> drivers/usb/serial

cyclades,moxa,mxser -> drivers/tty/hw/

stallion,istallion,
epca,specialix,ip2,
riscom,isicom -> drivers/staging/tty/*

generic_serial,vme_scc,
ser_a2232,sx,rio -> drivers/staging/generic_serial/*

amiserial,nozomi,
serial167,synclink -> drivers/tty/hw (?)

bfin_jtag_comm -> drivers/tty/hvc/hvc_bfin_jtag (?)

rocket,ipwireless -> drivers/staging/tty/* (?)

I'll wait a few days for other suggestions and then prepare
a new patch series.

Arnd