Bläddra i källkod

tty: move obsolete and broken generic_serial drivers to drivers/staging/generic_serial/

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>
Greg Kroah-Hartman 14 år sedan
förälder
incheckning
4c37705877
56 ändrade filer med 60 tillägg och 50 borttagningar
  1. 0 44
      drivers/char/Kconfig
  2. 0 6
      drivers/char/Makefile
  3. 2 0
      drivers/staging/Kconfig
  4. 1 0
      drivers/staging/Makefile
  5. 45 0
      drivers/staging/generic_serial/Kconfig
  6. 6 0
      drivers/staging/generic_serial/Makefile
  7. 6 0
      drivers/staging/generic_serial/TODO
  8. 0 0
      drivers/staging/generic_serial/generic_serial.c
  9. 0 0
      drivers/staging/generic_serial/rio/Makefile
  10. 0 0
      drivers/staging/generic_serial/rio/board.h
  11. 0 0
      drivers/staging/generic_serial/rio/cirrus.h
  12. 0 0
      drivers/staging/generic_serial/rio/cmdblk.h
  13. 0 0
      drivers/staging/generic_serial/rio/cmdpkt.h
  14. 0 0
      drivers/staging/generic_serial/rio/daemon.h
  15. 0 0
      drivers/staging/generic_serial/rio/errors.h
  16. 0 0
      drivers/staging/generic_serial/rio/func.h
  17. 0 0
      drivers/staging/generic_serial/rio/host.h
  18. 0 0
      drivers/staging/generic_serial/rio/link.h
  19. 0 0
      drivers/staging/generic_serial/rio/linux_compat.h
  20. 0 0
      drivers/staging/generic_serial/rio/map.h
  21. 0 0
      drivers/staging/generic_serial/rio/param.h
  22. 0 0
      drivers/staging/generic_serial/rio/parmmap.h
  23. 0 0
      drivers/staging/generic_serial/rio/pci.h
  24. 0 0
      drivers/staging/generic_serial/rio/phb.h
  25. 0 0
      drivers/staging/generic_serial/rio/pkt.h
  26. 0 0
      drivers/staging/generic_serial/rio/port.h
  27. 0 0
      drivers/staging/generic_serial/rio/protsts.h
  28. 0 0
      drivers/staging/generic_serial/rio/rio.h
  29. 0 0
      drivers/staging/generic_serial/rio/rio_linux.c
  30. 0 0
      drivers/staging/generic_serial/rio/rio_linux.h
  31. 0 0
      drivers/staging/generic_serial/rio/rioboard.h
  32. 0 0
      drivers/staging/generic_serial/rio/rioboot.c
  33. 0 0
      drivers/staging/generic_serial/rio/riocmd.c
  34. 0 0
      drivers/staging/generic_serial/rio/rioctrl.c
  35. 0 0
      drivers/staging/generic_serial/rio/riodrvr.h
  36. 0 0
      drivers/staging/generic_serial/rio/rioinfo.h
  37. 0 0
      drivers/staging/generic_serial/rio/rioinit.c
  38. 0 0
      drivers/staging/generic_serial/rio/riointr.c
  39. 0 0
      drivers/staging/generic_serial/rio/rioioctl.h
  40. 0 0
      drivers/staging/generic_serial/rio/rioparam.c
  41. 0 0
      drivers/staging/generic_serial/rio/rioroute.c
  42. 0 0
      drivers/staging/generic_serial/rio/riospace.h
  43. 0 0
      drivers/staging/generic_serial/rio/riotable.c
  44. 0 0
      drivers/staging/generic_serial/rio/riotty.c
  45. 0 0
      drivers/staging/generic_serial/rio/route.h
  46. 0 0
      drivers/staging/generic_serial/rio/rup.h
  47. 0 0
      drivers/staging/generic_serial/rio/unixrup.h
  48. 0 0
      drivers/staging/generic_serial/ser_a2232.c
  49. 0 0
      drivers/staging/generic_serial/ser_a2232.h
  50. 0 0
      drivers/staging/generic_serial/ser_a2232fw.ax
  51. 0 0
      drivers/staging/generic_serial/ser_a2232fw.h
  52. 0 0
      drivers/staging/generic_serial/sx.c
  53. 0 0
      drivers/staging/generic_serial/sx.h
  54. 0 0
      drivers/staging/generic_serial/sxboards.h
  55. 0 0
      drivers/staging/generic_serial/sxwindow.h
  56. 0 0
      drivers/staging/generic_serial/vme_scc.c

+ 0 - 44
drivers/char/Kconfig

@@ -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)

+ 0 - 6
drivers/char/Makefile

@@ -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

+ 2 - 0
drivers/staging/Kconfig

@@ -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"

+ 1 - 0
drivers/staging/Makefile

@@ -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/

+ 45 - 0
drivers/staging/generic_serial/Kconfig

@@ -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.
+
+

+ 6 - 0
drivers/staging/generic_serial/Makefile

@@ -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

+ 6 - 0
drivers/staging/generic_serial/TODO

@@ -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.

+ 0 - 0
drivers/char/generic_serial.c → drivers/staging/generic_serial/generic_serial.c


+ 0 - 0
drivers/char/rio/Makefile → drivers/staging/generic_serial/rio/Makefile


+ 0 - 0
drivers/char/rio/board.h → drivers/staging/generic_serial/rio/board.h


+ 0 - 0
drivers/char/rio/cirrus.h → drivers/staging/generic_serial/rio/cirrus.h


+ 0 - 0
drivers/char/rio/cmdblk.h → drivers/staging/generic_serial/rio/cmdblk.h


+ 0 - 0
drivers/char/rio/cmdpkt.h → drivers/staging/generic_serial/rio/cmdpkt.h


+ 0 - 0
drivers/char/rio/daemon.h → drivers/staging/generic_serial/rio/daemon.h


+ 0 - 0
drivers/char/rio/errors.h → drivers/staging/generic_serial/rio/errors.h


+ 0 - 0
drivers/char/rio/func.h → drivers/staging/generic_serial/rio/func.h


+ 0 - 0
drivers/char/rio/host.h → drivers/staging/generic_serial/rio/host.h


+ 0 - 0
drivers/char/rio/link.h → drivers/staging/generic_serial/rio/link.h


+ 0 - 0
drivers/char/rio/linux_compat.h → drivers/staging/generic_serial/rio/linux_compat.h


+ 0 - 0
drivers/char/rio/map.h → drivers/staging/generic_serial/rio/map.h


+ 0 - 0
drivers/char/rio/param.h → drivers/staging/generic_serial/rio/param.h


+ 0 - 0
drivers/char/rio/parmmap.h → drivers/staging/generic_serial/rio/parmmap.h


+ 0 - 0
drivers/char/rio/pci.h → drivers/staging/generic_serial/rio/pci.h


+ 0 - 0
drivers/char/rio/phb.h → drivers/staging/generic_serial/rio/phb.h


+ 0 - 0
drivers/char/rio/pkt.h → drivers/staging/generic_serial/rio/pkt.h


+ 0 - 0
drivers/char/rio/port.h → drivers/staging/generic_serial/rio/port.h


+ 0 - 0
drivers/char/rio/protsts.h → drivers/staging/generic_serial/rio/protsts.h


+ 0 - 0
drivers/char/rio/rio.h → drivers/staging/generic_serial/rio/rio.h


+ 0 - 0
drivers/char/rio/rio_linux.c → drivers/staging/generic_serial/rio/rio_linux.c


+ 0 - 0
drivers/char/rio/rio_linux.h → drivers/staging/generic_serial/rio/rio_linux.h


+ 0 - 0
drivers/char/rio/rioboard.h → drivers/staging/generic_serial/rio/rioboard.h


+ 0 - 0
drivers/char/rio/rioboot.c → drivers/staging/generic_serial/rio/rioboot.c


+ 0 - 0
drivers/char/rio/riocmd.c → drivers/staging/generic_serial/rio/riocmd.c


+ 0 - 0
drivers/char/rio/rioctrl.c → drivers/staging/generic_serial/rio/rioctrl.c


+ 0 - 0
drivers/char/rio/riodrvr.h → drivers/staging/generic_serial/rio/riodrvr.h


+ 0 - 0
drivers/char/rio/rioinfo.h → drivers/staging/generic_serial/rio/rioinfo.h


+ 0 - 0
drivers/char/rio/rioinit.c → drivers/staging/generic_serial/rio/rioinit.c


+ 0 - 0
drivers/char/rio/riointr.c → drivers/staging/generic_serial/rio/riointr.c


+ 0 - 0
drivers/char/rio/rioioctl.h → drivers/staging/generic_serial/rio/rioioctl.h


+ 0 - 0
drivers/char/rio/rioparam.c → drivers/staging/generic_serial/rio/rioparam.c


+ 0 - 0
drivers/char/rio/rioroute.c → drivers/staging/generic_serial/rio/rioroute.c


+ 0 - 0
drivers/char/rio/riospace.h → drivers/staging/generic_serial/rio/riospace.h


+ 0 - 0
drivers/char/rio/riotable.c → drivers/staging/generic_serial/rio/riotable.c


+ 0 - 0
drivers/char/rio/riotty.c → drivers/staging/generic_serial/rio/riotty.c


+ 0 - 0
drivers/char/rio/route.h → drivers/staging/generic_serial/rio/route.h


+ 0 - 0
drivers/char/rio/rup.h → drivers/staging/generic_serial/rio/rup.h


+ 0 - 0
drivers/char/rio/unixrup.h → drivers/staging/generic_serial/rio/unixrup.h


+ 0 - 0
drivers/char/ser_a2232.c → drivers/staging/generic_serial/ser_a2232.c


+ 0 - 0
drivers/char/ser_a2232.h → drivers/staging/generic_serial/ser_a2232.h


+ 0 - 0
drivers/char/ser_a2232fw.ax → drivers/staging/generic_serial/ser_a2232fw.ax


+ 0 - 0
drivers/char/ser_a2232fw.h → drivers/staging/generic_serial/ser_a2232fw.h


+ 0 - 0
drivers/char/sx.c → drivers/staging/generic_serial/sx.c


+ 0 - 0
drivers/char/sx.h → drivers/staging/generic_serial/sx.h


+ 0 - 0
drivers/char/sxboards.h → drivers/staging/generic_serial/sxboards.h


+ 0 - 0
drivers/char/sxwindow.h → drivers/staging/generic_serial/sxwindow.h


+ 0 - 0
drivers/char/vme_scc.c → drivers/staging/generic_serial/vme_scc.c