aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-22 20:37:03 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-27 03:58:39 -0400
commitc0153225a0e86013b8b8267ffd94e5484d83b916 (patch)
tree4fc92fd61995d2f19d9cfa605732be435aaa2b85
parentb5451d783ade99308dfccdf5ca284ed07affa4ff (diff)
ixbmtr_cs: Move the IBM PCMCIA Token Ring driver
Move the IBM PCMCIA Token Ring driver into drivers/net/tokenring/ with the other Token Ring drivers. Made the necessary Kconfig and Makefile changes as well. CC: Mike Phillips <phillim@amtrak.com> CC: Burt Silverman <burts@us.ibm.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/pcmcia/Kconfig11
-rw-r--r--drivers/net/pcmcia/Makefile2
-rw-r--r--drivers/net/tokenring/Kconfig13
-rw-r--r--drivers/net/tokenring/Makefile21
-rw-r--r--drivers/net/tokenring/ibmtr_cs.c (renamed from drivers/net/pcmcia/ibmtr_cs.c)2
5 files changed, 24 insertions, 25 deletions
diff --git a/drivers/net/pcmcia/Kconfig b/drivers/net/pcmcia/Kconfig
index 12e7ae47c066..ff4deb0ace4d 100644
--- a/drivers/net/pcmcia/Kconfig
+++ b/drivers/net/pcmcia/Kconfig
@@ -31,15 +31,4 @@ config ARCNET_COM20020_CS
31 To compile this driver as a module, choose M here: the module will be 31 To compile this driver as a module, choose M here: the module will be
32 called com20020_cs. If unsure, say N. 32 called com20020_cs. If unsure, say N.
33 33
34config PCMCIA_IBMTR
35 tristate "IBM PCMCIA tokenring adapter support"
36 depends on IBMTR!=y && TR
37 help
38 Say Y here if you intend to attach this type of Token Ring PCMCIA
39 card to your computer. You then also need to say Y to "Token Ring
40 driver support".
41
42 To compile this driver as a module, choose M here: the module will be
43 called ibmtr_cs.
44
45endif # NET_PCMCIA 34endif # NET_PCMCIA
diff --git a/drivers/net/pcmcia/Makefile b/drivers/net/pcmcia/Makefile
index 618e81667ca0..b98a0a4753fa 100644
--- a/drivers/net/pcmcia/Makefile
+++ b/drivers/net/pcmcia/Makefile
@@ -4,5 +4,3 @@
4 4
5# 16-bit client drivers 5# 16-bit client drivers
6obj-$(CONFIG_ARCNET_COM20020_CS)+= com20020_cs.o 6obj-$(CONFIG_ARCNET_COM20020_CS)+= com20020_cs.o
7
8obj-$(CONFIG_PCMCIA_IBMTR) += ibmtr_cs.o
diff --git a/drivers/net/tokenring/Kconfig b/drivers/net/tokenring/Kconfig
index c4137b0f808e..0f701588c7eb 100644
--- a/drivers/net/tokenring/Kconfig
+++ b/drivers/net/tokenring/Kconfig
@@ -6,7 +6,7 @@
6menuconfig TR 6menuconfig TR
7 tristate "Token Ring driver support" 7 tristate "Token Ring driver support"
8 depends on NETDEVICES && !UML 8 depends on NETDEVICES && !UML
9 depends on (PCI || ISA || MCA || CCW) 9 depends on (PCI || ISA || MCA || CCW || PCMCIA)
10 select LLC 10 select LLC
11 help 11 help
12 Token Ring is IBM's way of communication on a local network; the 12 Token Ring is IBM's way of communication on a local network; the
@@ -20,6 +20,17 @@ menuconfig TR
20 20
21if TR 21if TR
22 22
23config PCMCIA_IBMTR
24 tristate "IBM PCMCIA tokenring adapter support"
25 depends on IBMTR!=y && PCMCIA
26 ---help---
27 Say Y here if you intend to attach this type of Token Ring PCMCIA
28 card to your computer. You then also need to say Y to "Token Ring
29 driver support".
30
31 To compile this driver as a module, choose M here: the module will be
32 called ibmtr_cs.
33
23config IBMTR 34config IBMTR
24 tristate "IBM Tropic chipset based adapter support" 35 tristate "IBM Tropic chipset based adapter support"
25 depends on ISA || MCA 36 depends on ISA || MCA
diff --git a/drivers/net/tokenring/Makefile b/drivers/net/tokenring/Makefile
index c88b0a5e5380..f1be8d97b7a8 100644
--- a/drivers/net/tokenring/Makefile
+++ b/drivers/net/tokenring/Makefile
@@ -2,14 +2,15 @@
2# Makefile for drivers/net/tokenring 2# Makefile for drivers/net/tokenring
3# 3#
4 4
5obj-$(CONFIG_IBMTR) += ibmtr.o 5obj-$(CONFIG_PCMCIA_IBMTR) += ibmtr_cs.o
6obj-$(CONFIG_IBMOL) += olympic.o 6obj-$(CONFIG_IBMTR) += ibmtr.o
7obj-$(CONFIG_IBMLS) += lanstreamer.o 7obj-$(CONFIG_IBMOL) += olympic.o
8obj-$(CONFIG_TMS380TR) += tms380tr.o 8obj-$(CONFIG_IBMLS) += lanstreamer.o
9obj-$(CONFIG_ABYSS) += abyss.o 9obj-$(CONFIG_TMS380TR) += tms380tr.o
10obj-$(CONFIG_MADGEMC) += madgemc.o 10obj-$(CONFIG_ABYSS) += abyss.o
11obj-$(CONFIG_PROTEON) += proteon.o 11obj-$(CONFIG_MADGEMC) += madgemc.o
12obj-$(CONFIG_TMSPCI) += tmspci.o 12obj-$(CONFIG_PROTEON) += proteon.o
13obj-$(CONFIG_SKISA) += skisa.o 13obj-$(CONFIG_TMSPCI) += tmspci.o
14obj-$(CONFIG_SMCTR) += smctr.o 14obj-$(CONFIG_SKISA) += skisa.o
15obj-$(CONFIG_SMCTR) += smctr.o
15obj-$(CONFIG_3C359) += 3c359.o 16obj-$(CONFIG_3C359) += 3c359.o
diff --git a/drivers/net/pcmcia/ibmtr_cs.c b/drivers/net/tokenring/ibmtr_cs.c
index 6006d5488fbe..91b684630fc5 100644
--- a/drivers/net/pcmcia/ibmtr_cs.c
+++ b/drivers/net/tokenring/ibmtr_cs.c
@@ -66,7 +66,7 @@
66#include <asm/system.h> 66#include <asm/system.h>
67 67
68#define PCMCIA 68#define PCMCIA
69#include "../tokenring/ibmtr.c" 69#include "ibmtr.c"
70 70
71 71
72/*====================================================================*/ 72/*====================================================================*/