Skip to content

Commit

Permalink
com20020_cs: Move the PCMCIA Arcnet driver
Browse files Browse the repository at this point in the history
Move the COM20020 PCMICA Arcnet driver into drivers/net/arcnet/ with
the other Arcnet drivers.  Made the necessary Kconfig and Makefile
changes as well.

Since this was the "last" PCMCIA driver in drivers/net/pcmcia/, this patch
also cleans up the references to drivers/net/pcmcia.

CC: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
  • Loading branch information
Jeff Kirsher committed Aug 27, 2011
1 parent c015322 commit 330278c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 44 deletions.
2 changes: 0 additions & 2 deletions drivers/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,6 @@ source "drivers/net/wimax/Kconfig"

source "drivers/net/usb/Kconfig"

source "drivers/net/pcmcia/Kconfig"

source "drivers/net/ppp/Kconfig"

source "drivers/net/wan/Kconfig"
Expand Down
1 change: 0 additions & 1 deletion drivers/net/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ obj-$(CONFIG_SLHC) += slip/
obj-$(CONFIG_TR) += tokenring/
obj-$(CONFIG_WAN) += wan/
obj-$(CONFIG_ARCNET) += arcnet/
obj-$(CONFIG_NET_PCMCIA) += pcmcia/

obj-$(CONFIG_USB_CATC) += usb/
obj-$(CONFIG_USB_KAWETH) += usb/
Expand Down
12 changes: 11 additions & 1 deletion drivers/net/arcnet/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

menuconfig ARCNET
depends on NETDEVICES && (ISA || PCI)
depends on NETDEVICES && (ISA || PCI || PCMCIA)
tristate "ARCnet support"
---help---
If you have a network card of this type, say Y and check out the
Expand Down Expand Up @@ -123,4 +123,14 @@ config ARCNET_COM20020_PCI
tristate "Support for COM20020 on PCI"
depends on ARCNET_COM20020 && PCI

config ARCNET_COM20020_CS
tristate "COM20020 ARCnet PCMCIA support"
depends on ARCNET_COM20020 && PCMCIA
help
Say Y here if you intend to attach this type of ARCnet PCMCIA card
to your computer.

To compile this driver as a module, choose M here: the module will be
called com20020_cs. If unsure, say N.

endif # ARCNET
1 change: 1 addition & 0 deletions drivers/net/arcnet/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ obj-$(CONFIG_ARCNET_RIM_I) += arc-rimi.o
obj-$(CONFIG_ARCNET_COM20020) += com20020.o
obj-$(CONFIG_ARCNET_COM20020_ISA) += com20020-isa.o
obj-$(CONFIG_ARCNET_COM20020_PCI) += com20020-pci.o
obj-$(CONFIG_ARCNET_COM20020_CS) += com20020_cs.o
File renamed without changes.
34 changes: 0 additions & 34 deletions drivers/net/pcmcia/Kconfig

This file was deleted.

6 changes: 0 additions & 6 deletions drivers/net/pcmcia/Makefile

This file was deleted.

0 comments on commit 330278c

Please sign in to comment.