aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-07-30 06:27:05 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-13 02:47:43 -0400
commit59ffb30f7d43d4db2b2be165037a1a29d2011cdb (patch)
tree39ba914f7d5c91110fc73b7bd49f02fb202d2588 /drivers/net
parent37b937575b5a93a8fcbd4e1d553415f99381f650 (diff)
xircom: Move the Xircom driver
Move the Xircom driver into drivers/net/ethernet/xircom/ and make the necessary Kconfig and Makefile changes. CC: <psheer@icon.co.za> CC: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/xircom/Kconfig30
-rw-r--r--drivers/net/ethernet/xircom/Makefile5
-rw-r--r--drivers/net/ethernet/xircom/xirc2ps_cs.c (renamed from drivers/net/pcmcia/xirc2ps_cs.c)0
-rw-r--r--drivers/net/pcmcia/Kconfig9
-rw-r--r--drivers/net/pcmcia/Makefile1
7 files changed, 37 insertions, 10 deletions
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index df8940d0a7c8..f011665546d3 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -160,5 +160,6 @@ source "drivers/net/ethernet/toshiba/Kconfig"
160source "drivers/net/ethernet/tundra/Kconfig" 160source "drivers/net/ethernet/tundra/Kconfig"
161source "drivers/net/ethernet/via/Kconfig" 161source "drivers/net/ethernet/via/Kconfig"
162source "drivers/net/ethernet/xilinx/Kconfig" 162source "drivers/net/ethernet/xilinx/Kconfig"
163source "drivers/net/ethernet/xircom/Kconfig"
163 164
164endif # ETHERNET 165endif # ETHERNET
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 09f26b64a76a..7f3b73ca4288 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -69,3 +69,4 @@ obj-$(CONFIG_NET_VENDOR_TOSHIBA) += toshiba/
69obj-$(CONFIG_NET_VENDOR_TUNDRA) += tundra/ 69obj-$(CONFIG_NET_VENDOR_TUNDRA) += tundra/
70obj-$(CONFIG_NET_VENDOR_VIA) += via/ 70obj-$(CONFIG_NET_VENDOR_VIA) += via/
71obj-$(CONFIG_NET_VENDOR_XILINX) += xilinx/ 71obj-$(CONFIG_NET_VENDOR_XILINX) += xilinx/
72obj-$(CONFIG_NET_VENDOR_XIRCOM) += xircom/
diff --git a/drivers/net/ethernet/xircom/Kconfig b/drivers/net/ethernet/xircom/Kconfig
new file mode 100644
index 000000000000..3d64e58e3f8b
--- /dev/null
+++ b/drivers/net/ethernet/xircom/Kconfig
@@ -0,0 +1,30 @@
1#
2# Xircom network device configuration
3#
4
5config NET_VENDOR_XIRCOM
6 bool "Xircom devices"
7 depends on PCMCIA
8 ---help---
9 If you have a network (Ethernet) card belonging to this class, say Y
10 and read the Ethernet-HOWTO, available from
11 <http://www.tldp.org/docs.html#howto>.
12
13 Note that the answer to this question doesn't directly affect the
14 kernel: saying N will just cause the configurator to skip all
15 the questions about Xircom cards. If you say Y, you will be asked for
16 your specific card in the following questions.
17
18if NET_VENDOR_XIRCOM
19
20config PCMCIA_XIRC2PS
21 tristate "Xircom 16-bit PCMCIA support"
22 depends on PCMCIA
23 ---help---
24 Say Y here if you intend to attach a Xircom 16-bit PCMCIA (PC-card)
25 Ethernet or Fast Ethernet card to your computer.
26
27 To compile this driver as a module, choose M here: the module will be
28 called xirc2ps_cs. If unsure, say N.
29
30endif # NET_VENDOR_XIRCOM
diff --git a/drivers/net/ethernet/xircom/Makefile b/drivers/net/ethernet/xircom/Makefile
new file mode 100644
index 000000000000..3b7aebd8b849
--- /dev/null
+++ b/drivers/net/ethernet/xircom/Makefile
@@ -0,0 +1,5 @@
1#
2# Makefile for the Xircom network device drivers.
3#
4
5obj-$(CONFIG_PCMCIA_XIRC2PS) += xirc2ps_cs.o
diff --git a/drivers/net/pcmcia/xirc2ps_cs.c b/drivers/net/ethernet/xircom/xirc2ps_cs.c
index e33b190d716f..e33b190d716f 100644
--- a/drivers/net/pcmcia/xirc2ps_cs.c
+++ b/drivers/net/ethernet/xircom/xirc2ps_cs.c
diff --git a/drivers/net/pcmcia/Kconfig b/drivers/net/pcmcia/Kconfig
index 80d291ea672f..12e7ae47c066 100644
--- a/drivers/net/pcmcia/Kconfig
+++ b/drivers/net/pcmcia/Kconfig
@@ -21,15 +21,6 @@ menuconfig NET_PCMCIA
21 21
22if NET_PCMCIA && PCMCIA 22if NET_PCMCIA && PCMCIA
23 23
24config PCMCIA_XIRC2PS
25 tristate "Xircom 16-bit PCMCIA support"
26 help
27 Say Y here if you intend to attach a Xircom 16-bit PCMCIA (PC-card)
28 Ethernet or Fast Ethernet card to your computer.
29
30 To compile this driver as a module, choose M here: the module will be
31 called xirc2ps_cs. If unsure, say N.
32
33config ARCNET_COM20020_CS 24config ARCNET_COM20020_CS
34 tristate "COM20020 ARCnet PCMCIA support" 25 tristate "COM20020 ARCnet PCMCIA support"
35 depends on ARCNET_COM20020 26 depends on ARCNET_COM20020
diff --git a/drivers/net/pcmcia/Makefile b/drivers/net/pcmcia/Makefile
index ccf5535e9d3f..618e81667ca0 100644
--- a/drivers/net/pcmcia/Makefile
+++ b/drivers/net/pcmcia/Makefile
@@ -3,7 +3,6 @@
3# 3#
4 4
5# 16-bit client drivers 5# 16-bit client drivers
6obj-$(CONFIG_PCMCIA_XIRC2PS) += xirc2ps_cs.o
7obj-$(CONFIG_ARCNET_COM20020_CS)+= com20020_cs.o 6obj-$(CONFIG_ARCNET_COM20020_CS)+= com20020_cs.o
8 7
9obj-$(CONFIG_PCMCIA_IBMTR) += ibmtr_cs.o 8obj-$(CONFIG_PCMCIA_IBMTR) += ibmtr_cs.o