summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-04-11 05:14:57 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-13 13:57:04 -0400
commit91ceae374e1ece88c8f575259ee0ad7da28ae8ab (patch)
treebb348b134a334d4f9ef723bb2d5bfad2ea9ff769
parentb330f606ed7591dc078acd856454e3a383299fb3 (diff)
NET: pc300, move to staging as it is broken
It was marked as BROKEN back in 2008. It is because the tty handling in the driver is really broken. There was some activity in January 2012 to fix the driver, but the patch was commented to be bogus: https://lkml.org/lkml/2012/1/29/160 and we have not heard back from the author since then: https://lkml.org/lkml/2012/3/28/412 So since nobody stepped in and rewrote the driver, it is time to move it out of line now. And drop it some time later if nobody comes up with patches to fix the driver in staging. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Acked-by: David S. Miller <davem@davemloft.net> Cc: Alan Cox <alan@linux.intel.com> Cc: Andrea Shepard <andrea@persephoneslair.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/net/wan/Kconfig31
-rw-r--r--drivers/net/wan/Makefile5
-rw-r--r--drivers/staging/Kconfig2
-rw-r--r--drivers/staging/Makefile1
-rw-r--r--drivers/staging/net/Kconfig38
-rw-r--r--drivers/staging/net/Makefile5
-rw-r--r--drivers/staging/net/TODO5
-rw-r--r--drivers/staging/net/pc300-falc-lh.h (renamed from drivers/net/wan/pc300-falc-lh.h)0
-rw-r--r--drivers/staging/net/pc300.h (renamed from drivers/net/wan/pc300.h)0
-rw-r--r--drivers/staging/net/pc300_drv.c (renamed from drivers/net/wan/pc300_drv.c)0
-rw-r--r--drivers/staging/net/pc300_tty.c (renamed from drivers/net/wan/pc300_tty.c)0
11 files changed, 51 insertions, 36 deletions
diff --git a/drivers/net/wan/Kconfig b/drivers/net/wan/Kconfig
index d70ede7a7f96..d58431e99f73 100644
--- a/drivers/net/wan/Kconfig
+++ b/drivers/net/wan/Kconfig
@@ -203,37 +203,6 @@ config WANXL_BUILD_FIRMWARE
203 203
204 You should never need this option, say N. 204 You should never need this option, say N.
205 205
206config PC300
207 tristate "Cyclades-PC300 support (RS-232/V.35, X.21, T1/E1 boards)"
208 depends on HDLC && PCI && BROKEN
209 ---help---
210 This driver is broken because of struct tty_driver change.
211
212 Driver for the Cyclades-PC300 synchronous communication boards.
213
214 These boards provide synchronous serial interfaces to your
215 Linux box (interfaces currently available are RS-232/V.35, X.21 and
216 T1/E1). If you wish to support Multilink PPP, please select the
217 option later and read the file README.mlppp provided by PC300
218 package.
219
220 To compile this as a module, choose M here: the module
221 will be called pc300.
222
223 If unsure, say N.
224
225config PC300_MLPPP
226 bool "Cyclades-PC300 MLPPP support"
227 depends on PC300 && PPP_MULTILINK && PPP_SYNC_TTY && HDLC_PPP
228 help
229 Multilink PPP over the PC300 synchronous communication boards.
230
231comment "Cyclades-PC300 MLPPP support is disabled."
232 depends on HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP)
233
234comment "Refer to the file README.mlppp, provided by PC300 package."
235 depends on HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP)
236
237config PC300TOO 206config PC300TOO
238 tristate "Cyclades PC300 RSV/X21 alternative support" 207 tristate "Cyclades PC300 RSV/X21 alternative support"
239 depends on HDLC && PCI 208 depends on HDLC && PCI
diff --git a/drivers/net/wan/Makefile b/drivers/net/wan/Makefile
index 19d14bc28356..eac709bed7ae 100644
--- a/drivers/net/wan/Makefile
+++ b/drivers/net/wan/Makefile
@@ -17,10 +17,6 @@ obj-$(CONFIG_HDLC_FR) += hdlc_fr.o
17obj-$(CONFIG_HDLC_PPP) += hdlc_ppp.o 17obj-$(CONFIG_HDLC_PPP) += hdlc_ppp.o
18obj-$(CONFIG_HDLC_X25) += hdlc_x25.o 18obj-$(CONFIG_HDLC_X25) += hdlc_x25.o
19 19
20pc300-y := pc300_drv.o
21pc300-$(CONFIG_PC300_MLPPP) += pc300_tty.o
22pc300-objs := $(pc300-y)
23
24obj-$(CONFIG_HOSTESS_SV11) += z85230.o hostess_sv11.o 20obj-$(CONFIG_HOSTESS_SV11) += z85230.o hostess_sv11.o
25obj-$(CONFIG_SEALEVEL_4021) += z85230.o sealevel.o 21obj-$(CONFIG_SEALEVEL_4021) += z85230.o sealevel.o
26obj-$(CONFIG_COSA) += cosa.o 22obj-$(CONFIG_COSA) += cosa.o
@@ -35,7 +31,6 @@ obj-$(CONFIG_SDLA) += sdla.o
35obj-$(CONFIG_CYCLADES_SYNC) += cycx_drv.o cyclomx.o 31obj-$(CONFIG_CYCLADES_SYNC) += cycx_drv.o cyclomx.o
36obj-$(CONFIG_LAPBETHER) += lapbether.o 32obj-$(CONFIG_LAPBETHER) += lapbether.o
37obj-$(CONFIG_SBNI) += sbni.o 33obj-$(CONFIG_SBNI) += sbni.o
38obj-$(CONFIG_PC300) += pc300.o
39obj-$(CONFIG_N2) += n2.o 34obj-$(CONFIG_N2) += n2.o
40obj-$(CONFIG_C101) += c101.o 35obj-$(CONFIG_C101) += c101.o
41obj-$(CONFIG_WANXL) += wanxl.o 36obj-$(CONFIG_WANXL) += wanxl.o
diff --git a/drivers/staging/Kconfig b/drivers/staging/Kconfig
index 4c99b4c52304..8d406b5938c0 100644
--- a/drivers/staging/Kconfig
+++ b/drivers/staging/Kconfig
@@ -120,6 +120,8 @@ source "drivers/staging/nvec/Kconfig"
120 120
121source "drivers/staging/media/Kconfig" 121source "drivers/staging/media/Kconfig"
122 122
123source "drivers/staging/net/Kconfig"
124
123source "drivers/staging/omapdrm/Kconfig" 125source "drivers/staging/omapdrm/Kconfig"
124 126
125source "drivers/staging/android/Kconfig" 127source "drivers/staging/android/Kconfig"
diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile
index 74662ce42dad..03819581fefa 100644
--- a/drivers/staging/Makefile
+++ b/drivers/staging/Makefile
@@ -4,6 +4,7 @@
4obj-$(CONFIG_STAGING) += staging.o 4obj-$(CONFIG_STAGING) += staging.o
5 5
6obj-y += media/ 6obj-y += media/
7obj-y += net/
7obj-$(CONFIG_ET131X) += et131x/ 8obj-$(CONFIG_ET131X) += et131x/
8obj-$(CONFIG_SLICOSS) += slicoss/ 9obj-$(CONFIG_SLICOSS) += slicoss/
9obj-$(CONFIG_USBIP_CORE) += usbip/ 10obj-$(CONFIG_USBIP_CORE) += usbip/
diff --git a/drivers/staging/net/Kconfig b/drivers/staging/net/Kconfig
new file mode 100644
index 000000000000..a64e56b1898a
--- /dev/null
+++ b/drivers/staging/net/Kconfig
@@ -0,0 +1,38 @@
1if NETDEVICES
2
3if WAN
4
5config PC300
6 tristate "Cyclades-PC300 support (RS-232/V.35, X.21, T1/E1 boards)"
7 depends on HDLC && PCI && BROKEN
8 ---help---
9 This driver is broken because of struct tty_driver change.
10
11 Driver for the Cyclades-PC300 synchronous communication boards.
12
13 These boards provide synchronous serial interfaces to your
14 Linux box (interfaces currently available are RS-232/V.35, X.21 and
15 T1/E1). If you wish to support Multilink PPP, please select the
16 option later and read the file README.mlppp provided by PC300
17 package.
18
19 To compile this as a module, choose M here: the module
20 will be called pc300.
21
22 If unsure, say N.
23
24config PC300_MLPPP
25 bool "Cyclades-PC300 MLPPP support"
26 depends on PC300 && PPP_MULTILINK && PPP_SYNC_TTY && HDLC_PPP
27 help
28 Multilink PPP over the PC300 synchronous communication boards.
29
30comment "Cyclades-PC300 MLPPP support is disabled."
31 depends on HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP)
32
33comment "Refer to the file README.mlppp, provided by PC300 package."
34 depends on HDLC && PC300 && (PPP=n || !PPP_MULTILINK || PPP_SYNC_TTY=n || !HDLC_PPP)
35
36endif # WAN
37
38endif # NETDEVICES
diff --git a/drivers/staging/net/Makefile b/drivers/staging/net/Makefile
new file mode 100644
index 000000000000..0799c43d5114
--- /dev/null
+++ b/drivers/staging/net/Makefile
@@ -0,0 +1,5 @@
1pc300-y := pc300_drv.o
2pc300-$(CONFIG_PC300_MLPPP) += pc300_tty.o
3pc300-objs := $(pc300-y)
4
5obj-$(CONFIG_PC300) += pc300.o
diff --git a/drivers/staging/net/TODO b/drivers/staging/net/TODO
new file mode 100644
index 000000000000..e3446f2ad7c7
--- /dev/null
+++ b/drivers/staging/net/TODO
@@ -0,0 +1,5 @@
1PC300
2The driver is very broken and cannot work with the current TTY layer. It is
3inevitable to convert it to the new TTY API.
4
5If no one steps in to adopt the driver, it will be removed in the 3.7 release.
diff --git a/drivers/net/wan/pc300-falc-lh.h b/drivers/staging/net/pc300-falc-lh.h
index 01ed23ca76c7..01ed23ca76c7 100644
--- a/drivers/net/wan/pc300-falc-lh.h
+++ b/drivers/staging/net/pc300-falc-lh.h
diff --git a/drivers/net/wan/pc300.h b/drivers/staging/net/pc300.h
index 2e4f84f6cad4..2e4f84f6cad4 100644
--- a/drivers/net/wan/pc300.h
+++ b/drivers/staging/net/pc300.h
diff --git a/drivers/net/wan/pc300_drv.c b/drivers/staging/net/pc300_drv.c
index cb0f8d932b0c..cb0f8d932b0c 100644
--- a/drivers/net/wan/pc300_drv.c
+++ b/drivers/staging/net/pc300_drv.c
diff --git a/drivers/net/wan/pc300_tty.c b/drivers/staging/net/pc300_tty.c
index 4709f4228561..4709f4228561 100644
--- a/drivers/net/wan/pc300_tty.c
+++ b/drivers/staging/net/pc300_tty.c