Skip to content

Commit

Permalink
ixbmtr_cs: Move the IBM PCMCIA Token Ring driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Kirsher committed Aug 27, 2011
1 parent b5451d7 commit c015322
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 25 deletions.
11 changes: 0 additions & 11 deletions drivers/net/pcmcia/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,4 @@ config ARCNET_COM20020_CS
To compile this driver as a module, choose M here: the module will be
called com20020_cs. If unsure, say N.

config PCMCIA_IBMTR
tristate "IBM PCMCIA tokenring adapter support"
depends on IBMTR!=y && TR
help
Say Y here if you intend to attach this type of Token Ring PCMCIA
card to your computer. You then also need to say Y to "Token Ring
driver support".

To compile this driver as a module, choose M here: the module will be
called ibmtr_cs.

endif # NET_PCMCIA
2 changes: 0 additions & 2 deletions drivers/net/pcmcia/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,3 @@

# 16-bit client drivers
obj-$(CONFIG_ARCNET_COM20020_CS)+= com20020_cs.o

obj-$(CONFIG_PCMCIA_IBMTR) += ibmtr_cs.o
13 changes: 12 additions & 1 deletion drivers/net/tokenring/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
menuconfig TR
tristate "Token Ring driver support"
depends on NETDEVICES && !UML
depends on (PCI || ISA || MCA || CCW)
depends on (PCI || ISA || MCA || CCW || PCMCIA)
select LLC
help
Token Ring is IBM's way of communication on a local network; the
Expand All @@ -20,6 +20,17 @@ menuconfig TR

if TR

config PCMCIA_IBMTR
tristate "IBM PCMCIA tokenring adapter support"
depends on IBMTR!=y && PCMCIA
---help---
Say Y here if you intend to attach this type of Token Ring PCMCIA
card to your computer. You then also need to say Y to "Token Ring
driver support".

To compile this driver as a module, choose M here: the module will be
called ibmtr_cs.

config IBMTR
tristate "IBM Tropic chipset based adapter support"
depends on ISA || MCA
Expand Down
21 changes: 11 additions & 10 deletions drivers/net/tokenring/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
# Makefile for drivers/net/tokenring
#

obj-$(CONFIG_IBMTR) += ibmtr.o
obj-$(CONFIG_IBMOL) += olympic.o
obj-$(CONFIG_IBMLS) += lanstreamer.o
obj-$(CONFIG_TMS380TR) += tms380tr.o
obj-$(CONFIG_ABYSS) += abyss.o
obj-$(CONFIG_MADGEMC) += madgemc.o
obj-$(CONFIG_PROTEON) += proteon.o
obj-$(CONFIG_TMSPCI) += tmspci.o
obj-$(CONFIG_SKISA) += skisa.o
obj-$(CONFIG_SMCTR) += smctr.o
obj-$(CONFIG_PCMCIA_IBMTR) += ibmtr_cs.o
obj-$(CONFIG_IBMTR) += ibmtr.o
obj-$(CONFIG_IBMOL) += olympic.o
obj-$(CONFIG_IBMLS) += lanstreamer.o
obj-$(CONFIG_TMS380TR) += tms380tr.o
obj-$(CONFIG_ABYSS) += abyss.o
obj-$(CONFIG_MADGEMC) += madgemc.o
obj-$(CONFIG_PROTEON) += proteon.o
obj-$(CONFIG_TMSPCI) += tmspci.o
obj-$(CONFIG_SKISA) += skisa.o
obj-$(CONFIG_SMCTR) += smctr.o
obj-$(CONFIG_3C359) += 3c359.o
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
#include <asm/system.h>

#define PCMCIA
#include "../tokenring/ibmtr.c"
#include "ibmtr.c"


/*====================================================================*/
Expand Down

0 comments on commit c015322

Please sign in to comment.