tty: move obsolete and broken generic_serial drivers to drivers/staging/generic_serial/
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Feb 2011 01:09:33 +0000 (17:09 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Feb 2011 01:09:33 +0000 (17:09 -0800)
As planned by Arnd Bergmann, this moves the following drivers to the
drivers/staging/generic_serial directory where they will be removed
after 2.6.41 if no one steps up to claim them.
generic_serial
rio
ser_a2232
sx
vme_scc

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
56 files changed:
drivers/char/Kconfig
drivers/char/Makefile
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/generic_serial/Kconfig [new file with mode: 0644]
drivers/staging/generic_serial/Makefile [new file with mode: 0644]
drivers/staging/generic_serial/TODO [new file with mode: 0644]
drivers/staging/generic_serial/generic_serial.c [moved from drivers/char/generic_serial.c with 100% similarity]
drivers/staging/generic_serial/rio/Makefile [moved from drivers/char/rio/Makefile with 100% similarity]
drivers/staging/generic_serial/rio/board.h [moved from drivers/char/rio/board.h with 100% similarity]
drivers/staging/generic_serial/rio/cirrus.h [moved from drivers/char/rio/cirrus.h with 100% similarity]
drivers/staging/generic_serial/rio/cmdblk.h [moved from drivers/char/rio/cmdblk.h with 100% similarity]
drivers/staging/generic_serial/rio/cmdpkt.h [moved from drivers/char/rio/cmdpkt.h with 100% similarity]
drivers/staging/generic_serial/rio/daemon.h [moved from drivers/char/rio/daemon.h with 100% similarity]
drivers/staging/generic_serial/rio/errors.h [moved from drivers/char/rio/errors.h with 100% similarity]
drivers/staging/generic_serial/rio/func.h [moved from drivers/char/rio/func.h with 100% similarity]
drivers/staging/generic_serial/rio/host.h [moved from drivers/char/rio/host.h with 100% similarity]
drivers/staging/generic_serial/rio/link.h [moved from drivers/char/rio/link.h with 100% similarity]
drivers/staging/generic_serial/rio/linux_compat.h [moved from drivers/char/rio/linux_compat.h with 100% similarity]
drivers/staging/generic_serial/rio/map.h [moved from drivers/char/rio/map.h with 100% similarity]
drivers/staging/generic_serial/rio/param.h [moved from drivers/char/rio/param.h with 100% similarity]
drivers/staging/generic_serial/rio/parmmap.h [moved from drivers/char/rio/parmmap.h with 100% similarity]
drivers/staging/generic_serial/rio/pci.h [moved from drivers/char/rio/pci.h with 100% similarity]
drivers/staging/generic_serial/rio/phb.h [moved from drivers/char/rio/phb.h with 100% similarity]
drivers/staging/generic_serial/rio/pkt.h [moved from drivers/char/rio/pkt.h with 100% similarity]
drivers/staging/generic_serial/rio/port.h [moved from drivers/char/rio/port.h with 100% similarity]
drivers/staging/generic_serial/rio/protsts.h [moved from drivers/char/rio/protsts.h with 100% similarity]
drivers/staging/generic_serial/rio/rio.h [moved from drivers/char/rio/rio.h with 100% similarity]
drivers/staging/generic_serial/rio/rio_linux.c [moved from drivers/char/rio/rio_linux.c with 100% similarity]
drivers/staging/generic_serial/rio/rio_linux.h [moved from drivers/char/rio/rio_linux.h with 100% similarity]
drivers/staging/generic_serial/rio/rioboard.h [moved from drivers/char/rio/rioboard.h with 100% similarity]
drivers/staging/generic_serial/rio/rioboot.c [moved from drivers/char/rio/rioboot.c with 100% similarity]
drivers/staging/generic_serial/rio/riocmd.c [moved from drivers/char/rio/riocmd.c with 100% similarity]
drivers/staging/generic_serial/rio/rioctrl.c [moved from drivers/char/rio/rioctrl.c with 100% similarity]
drivers/staging/generic_serial/rio/riodrvr.h [moved from drivers/char/rio/riodrvr.h with 100% similarity]
drivers/staging/generic_serial/rio/rioinfo.h [moved from drivers/char/rio/rioinfo.h with 100% similarity]
drivers/staging/generic_serial/rio/rioinit.c [moved from drivers/char/rio/rioinit.c with 100% similarity]
drivers/staging/generic_serial/rio/riointr.c [moved from drivers/char/rio/riointr.c with 100% similarity]
drivers/staging/generic_serial/rio/rioioctl.h [moved from drivers/char/rio/rioioctl.h with 100% similarity]
drivers/staging/generic_serial/rio/rioparam.c [moved from drivers/char/rio/rioparam.c with 100% similarity]
drivers/staging/generic_serial/rio/rioroute.c [moved from drivers/char/rio/rioroute.c with 100% similarity]
drivers/staging/generic_serial/rio/riospace.h [moved from drivers/char/rio/riospace.h with 100% similarity]
drivers/staging/generic_serial/rio/riotable.c [moved from drivers/char/rio/riotable.c with 100% similarity]
drivers/staging/generic_serial/rio/riotty.c [moved from drivers/char/rio/riotty.c with 100% similarity]
drivers/staging/generic_serial/rio/route.h [moved from drivers/char/rio/route.h with 100% similarity]
drivers/staging/generic_serial/rio/rup.h [moved from drivers/char/rio/rup.h with 100% similarity]
drivers/staging/generic_serial/rio/unixrup.h [moved from drivers/char/rio/unixrup.h with 100% similarity]
drivers/staging/generic_serial/ser_a2232.c [moved from drivers/char/ser_a2232.c with 100% similarity]
drivers/staging/generic_serial/ser_a2232.h [moved from drivers/char/ser_a2232.h with 100% similarity]
drivers/staging/generic_serial/ser_a2232fw.ax [moved from drivers/char/ser_a2232fw.ax with 100% similarity]
drivers/staging/generic_serial/ser_a2232fw.h [moved from drivers/char/ser_a2232fw.h with 100% similarity]
drivers/staging/generic_serial/sx.c [moved from drivers/char/sx.c with 100% similarity]
drivers/staging/generic_serial/sx.h [moved from drivers/char/sx.h with 100% similarity]
drivers/staging/generic_serial/sxboards.h [moved from drivers/char/sxboards.h with 100% similarity]
drivers/staging/generic_serial/sxwindow.h [moved from drivers/char/sxwindow.h with 100% similarity]
drivers/staging/generic_serial/vme_scc.c [moved from drivers/char/vme_scc.c with 100% similarity]

index 7b8cf02..04f8b2d 100644 (file)
@@ -15,34 +15,6 @@ config DEVKMEM
          kind of kernel debugging operations.
          When in doubt, say "N".
 
-config SX
-       tristate "Specialix SX (and SI) card support"
-       depends on SERIAL_NONSTANDARD && (PCI || EISA || ISA) && BROKEN
-       help
-         This is a driver for the SX and SI multiport serial cards.
-         Please read the file <file:Documentation/serial/sx.txt> for details.
-
-         This driver can only be built as a module ( = code which can be
-         inserted in and removed from the running kernel whenever you want).
-         The module will be called sx. If you want to do that, say M here.
-
-config RIO
-       tristate "Specialix RIO system support"
-       depends on SERIAL_NONSTANDARD && BROKEN
-       help
-         This is a driver for the Specialix RIO, a smart serial card which
-         drives an outboard box that can support up to 128 ports.  Product
-         information is at <http://www.perle.com/support/documentation.html#multiport>.
-         There are both ISA and PCI versions.
-
-config RIO_OLDPCI
-       bool "Support really old RIO/PCI cards"
-       depends on RIO
-       help
-         Older RIO PCI cards need some initialization-time configuration to
-         determine the IRQ and some control addresses.  If you have a RIO and
-         this doesn't seem to work, try setting this to Y.
-
 config STALDRV
        bool "Stallion multiport serial support"
        depends on SERIAL_NONSTANDARD
@@ -55,22 +27,6 @@ config STALDRV
          in this case.  If you have never heard about all this, it's safe to
          say N.
 
-config A2232
-       tristate "Commodore A2232 serial support (EXPERIMENTAL)"
-       depends on EXPERIMENTAL && ZORRO && BROKEN
-       ---help---
-         This option supports the 2232 7-port serial card shipped with the
-         Amiga 2000 and other Zorro-bus machines, dating from 1989.  At
-         a max of 19,200 bps, the ports are served by a 6551 ACIA UART chip
-         each, plus a 8520 CIA, and a master 6502 CPU and buffer as well. The
-         ports were connected with 8 pin DIN connectors on the card bracket,
-         for which 8 pin to DB25 adapters were supplied. The card also had
-         jumpers internally to toggle various pinning configurations.
-
-         This driver can be built as a module; but then "generic_serial"
-         will also be built as a module. This has to be loaded before
-         "ser_a2232". If you want to do this, answer M here.
-
 config SGI_SNSC
        bool "SGI Altix system controller communication support"
        depends on (IA64_SGI_SN2 || IA64_GENERIC)
index 48bb8ac..3ca1f62 100644 (file)
@@ -5,13 +5,7 @@
 obj-y                          += mem.o random.o
 obj-$(CONFIG_TTY_PRINTK)       += ttyprintk.o
 obj-y                          += misc.o
-obj-$(CONFIG_MVME147_SCC)      += generic_serial.o vme_scc.o
-obj-$(CONFIG_MVME162_SCC)      += generic_serial.o vme_scc.o
-obj-$(CONFIG_BVME6000_SCC)     += generic_serial.o vme_scc.o
-obj-$(CONFIG_A2232)            += ser_a2232.o generic_serial.o
 obj-$(CONFIG_ATARI_DSP56K)     += dsp56k.o
-obj-$(CONFIG_SX)               += sx.o generic_serial.o
-obj-$(CONFIG_RIO)              += rio/ generic_serial.o
 obj-$(CONFIG_RAW_DRIVER)       += raw.o
 obj-$(CONFIG_SGI_SNSC)         += snsc.o snsc_event.o
 obj-$(CONFIG_MSPEC)            += mspec.o
index fb1fc4e..58e4a8e 100644 (file)
@@ -43,6 +43,8 @@ if !STAGING_EXCLUDE_BUILD
 
 source "drivers/staging/tty/Kconfig"
 
+source "drivers/staging/generic_serial/Kconfig"
+
 source "drivers/staging/et131x/Kconfig"
 
 source "drivers/staging/slicoss/Kconfig"
index f498e34..ff7372d 100644 (file)
@@ -4,6 +4,7 @@
 obj-$(CONFIG_STAGING)          += staging.o
 
 obj-y += tty/
+obj-y += generic_serial/
 obj-$(CONFIG_ET131X)           += et131x/
 obj-$(CONFIG_SLICOSS)          += slicoss/
 obj-$(CONFIG_VIDEO_GO7007)     += go7007/
diff --git a/drivers/staging/generic_serial/Kconfig b/drivers/staging/generic_serial/Kconfig
new file mode 100644 (file)
index 0000000..795daea
--- /dev/null
@@ -0,0 +1,45 @@
+config A2232
+       tristate "Commodore A2232 serial support (EXPERIMENTAL)"
+       depends on EXPERIMENTAL && ZORRO && BROKEN
+       ---help---
+         This option supports the 2232 7-port serial card shipped with the
+         Amiga 2000 and other Zorro-bus machines, dating from 1989.  At
+         a max of 19,200 bps, the ports are served by a 6551 ACIA UART chip
+         each, plus a 8520 CIA, and a master 6502 CPU and buffer as well. The
+         ports were connected with 8 pin DIN connectors on the card bracket,
+         for which 8 pin to DB25 adapters were supplied. The card also had
+         jumpers internally to toggle various pinning configurations.
+
+         This driver can be built as a module; but then "generic_serial"
+         will also be built as a module. This has to be loaded before
+         "ser_a2232". If you want to do this, answer M here.
+
+config SX
+       tristate "Specialix SX (and SI) card support"
+       depends on SERIAL_NONSTANDARD && (PCI || EISA || ISA) && BROKEN
+       help
+         This is a driver for the SX and SI multiport serial cards.
+         Please read the file <file:Documentation/serial/sx.txt> for details.
+
+         This driver can only be built as a module ( = code which can be
+         inserted in and removed from the running kernel whenever you want).
+         The module will be called sx. If you want to do that, say M here.
+
+config RIO
+       tristate "Specialix RIO system support"
+       depends on SERIAL_NONSTANDARD && BROKEN
+       help
+         This is a driver for the Specialix RIO, a smart serial card which
+         drives an outboard box that can support up to 128 ports.  Product
+         information is at <http://www.perle.com/support/documentation.html#multiport>.
+         There are both ISA and PCI versions.
+
+config RIO_OLDPCI
+       bool "Support really old RIO/PCI cards"
+       depends on RIO
+       help
+         Older RIO PCI cards need some initialization-time configuration to
+         determine the IRQ and some control addresses.  If you have a RIO and
+         this doesn't seem to work, try setting this to Y.
+
+
diff --git a/drivers/staging/generic_serial/Makefile b/drivers/staging/generic_serial/Makefile
new file mode 100644 (file)
index 0000000..ffc90c8
--- /dev/null
@@ -0,0 +1,6 @@
+obj-$(CONFIG_MVME147_SCC)      += generic_serial.o vme_scc.o
+obj-$(CONFIG_MVME162_SCC)      += generic_serial.o vme_scc.o
+obj-$(CONFIG_BVME6000_SCC)     += generic_serial.o vme_scc.o
+obj-$(CONFIG_A2232)            += ser_a2232.o generic_serial.o
+obj-$(CONFIG_SX)               += sx.o generic_serial.o
+obj-$(CONFIG_RIO)              += rio/ generic_serial.o
diff --git a/drivers/staging/generic_serial/TODO b/drivers/staging/generic_serial/TODO
new file mode 100644 (file)
index 0000000..8875645
--- /dev/null
@@ -0,0 +1,6 @@
+These are a few tty/serial drivers that either do not build,
+or work if they do build, or if they seem to work, are for obsolete
+hardware, or are full of unfixable races and no one uses them anymore.
+
+If no one steps up to adopt any of these drivers, they will be removed
+in the 2.6.41 release.