aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-05-20 10:50:27 -0400
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2011-08-12 03:21:33 -0400
commit8862bf1ed60de49550109b7023a0a33eb7db8b3c (patch)
tree76e2c24e847a986c139061f5d522aa94ce97e083 /drivers/net
parenta88394cfb58007cca945699545469017beb0d206 (diff)
ioc3-eth/meth: Move the SGI drivers
Move the SGI drivers into drivers/net/ethernet/sgi/ and make the necessary Kconfig and Makefile changes. CC: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/Kconfig14
-rw-r--r--drivers/net/Makefile2
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/sgi/Kconfig34
-rw-r--r--drivers/net/ethernet/sgi/Makefile6
-rw-r--r--drivers/net/ethernet/sgi/ioc3-eth.c (renamed from drivers/net/ioc3-eth.c)0
-rw-r--r--drivers/net/ethernet/sgi/meth.c (renamed from drivers/net/meth.c)0
-rw-r--r--drivers/net/ethernet/sgi/meth.h (renamed from drivers/net/meth.h)0
9 files changed, 42 insertions, 16 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index 0cb136c1d6db..aec74ad67cc0 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -244,16 +244,6 @@ config KORINA
244 If you have a Mikrotik RouterBoard 500 or IDT RC32434 244 If you have a Mikrotik RouterBoard 500 or IDT RC32434
245 based system say Y. Otherwise say N. 245 based system say Y. Otherwise say N.
246 246
247config SGI_IOC3_ETH
248 bool "SGI IOC3 Ethernet"
249 depends on PCI && SGI_IP27
250 select CRC32
251 select MII
252 help
253 If you have a network (Ethernet) card of this type, say Y and read
254 the Ethernet-HOWTO, available from
255 <http://www.tldp.org/docs.html#howto>.
256
257config MIPS_SIM_NET 247config MIPS_SIM_NET
258 tristate "MIPS simulator Network device" 248 tristate "MIPS simulator Network device"
259 depends on MIPS_SIM 249 depends on MIPS_SIM
@@ -262,10 +252,6 @@ config MIPS_SIM_NET
262 emulated by the MIPS Simulator. 252 emulated by the MIPS Simulator.
263 If you are not using a MIPSsim or are unsure, say N. 253 If you are not using a MIPSsim or are unsure, say N.
264 254
265config SGI_O2MACE_ETH
266 tristate "SGI O2 MACE Fast Ethernet support"
267 depends on SGI_IP32=y
268
269config SH_ETH 255config SH_ETH
270 tristate "Renesas SuperH Ethernet support" 256 tristate "Renesas SuperH Ethernet support"
271 depends on SUPERH && \ 257 depends on SUPERH && \
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 8a56733452ff..c98e1ad17c99 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -103,7 +103,6 @@ obj-$(CONFIG_MACVLAN) += macvlan.o
103obj-$(CONFIG_MACVTAP) += macvtap.o 103obj-$(CONFIG_MACVTAP) += macvtap.o
104obj-$(CONFIG_DEFXX) += defxx.o 104obj-$(CONFIG_DEFXX) += defxx.o
105obj-$(CONFIG_SGISEEQ) += sgiseeq.o 105obj-$(CONFIG_SGISEEQ) += sgiseeq.o
106obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o
107obj-$(CONFIG_AT1700) += at1700.o 106obj-$(CONFIG_AT1700) += at1700.o
108obj-$(CONFIG_CPMAC) += cpmac.o 107obj-$(CONFIG_CPMAC) += cpmac.o
109 108
@@ -111,7 +110,6 @@ obj-$(CONFIG_ETH16I) += eth16i.o
111obj-$(CONFIG_EQUALIZER) += eql.o 110obj-$(CONFIG_EQUALIZER) += eql.o
112obj-$(CONFIG_KORINA) += korina.o 111obj-$(CONFIG_KORINA) += korina.o
113obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o 112obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o
114obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o
115obj-$(CONFIG_TUN) += tun.o 113obj-$(CONFIG_TUN) += tun.o
116obj-$(CONFIG_VETH) += veth.o 114obj-$(CONFIG_VETH) += veth.o
117obj-$(CONFIG_NET_NETX) += netx-eth.o 115obj-$(CONFIG_NET_NETX) += netx-eth.o
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index ed428501abba..7d25fa490a25 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -37,6 +37,7 @@ source "drivers/net/ethernet/qlogic/Kconfig"
37source "drivers/net/ethernet/racal/Kconfig" 37source "drivers/net/ethernet/racal/Kconfig"
38source "drivers/net/ethernet/realtek/Kconfig" 38source "drivers/net/ethernet/realtek/Kconfig"
39source "drivers/net/ethernet/sfc/Kconfig" 39source "drivers/net/ethernet/sfc/Kconfig"
40source "drivers/net/ethernet/sgi/Kconfig"
40source "drivers/net/ethernet/smsc/Kconfig" 41source "drivers/net/ethernet/smsc/Kconfig"
41source "drivers/net/ethernet/stmicro/Kconfig" 42source "drivers/net/ethernet/stmicro/Kconfig"
42source "drivers/net/ethernet/sun/Kconfig" 43source "drivers/net/ethernet/sun/Kconfig"
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 3de82490adec..ec587159eec1 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -28,6 +28,7 @@ obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
28obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ 28obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
29obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/ 29obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
30obj-$(CONFIG_SFC) += sfc/ 30obj-$(CONFIG_SFC) += sfc/
31obj-$(CONFIG_NET_VENDOR_SGI) += sgi/
31obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ 32obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
32obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/ 33obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/
33obj-$(CONFIG_NET_VENDOR_SUN) += sun/ 34obj-$(CONFIG_NET_VENDOR_SUN) += sun/
diff --git a/drivers/net/ethernet/sgi/Kconfig b/drivers/net/ethernet/sgi/Kconfig
new file mode 100644
index 000000000000..3098594ab274
--- /dev/null
+++ b/drivers/net/ethernet/sgi/Kconfig
@@ -0,0 +1,34 @@
1#
2# SGI device configuration
3#
4
5config NET_VENDOR_SGI
6 bool "SGI devices"
7 depends on (PCI && SGI_IP27) || SGI_IP32
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 SGI devices. If you say Y, you will be asked for
16 your specific card in the following questions.
17
18if NET_VENDOR_SGI
19
20config SGI_IOC3_ETH
21 bool "SGI IOC3 Ethernet"
22 depends on PCI && SGI_IP27
23 select CRC32
24 select MII
25 ---help---
26 If you have a network (Ethernet) card of this type, say Y and read
27 the Ethernet-HOWTO, available from
28 <http://www.tldp.org/docs.html#howto>.
29
30config SGI_O2MACE_ETH
31 tristate "SGI O2 MACE Fast Ethernet support"
32 depends on SGI_IP32=y
33
34endif # NET_VENDOR_SGI
diff --git a/drivers/net/ethernet/sgi/Makefile b/drivers/net/ethernet/sgi/Makefile
new file mode 100644
index 000000000000..e5bedd271e29
--- /dev/null
+++ b/drivers/net/ethernet/sgi/Makefile
@@ -0,0 +1,6 @@
1#
2# Makefile for the SGI device drivers.
3#
4
5obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o
6obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o
diff --git a/drivers/net/ioc3-eth.c b/drivers/net/ethernet/sgi/ioc3-eth.c
index a234e4504522..a234e4504522 100644
--- a/drivers/net/ioc3-eth.c
+++ b/drivers/net/ethernet/sgi/ioc3-eth.c
diff --git a/drivers/net/meth.c b/drivers/net/ethernet/sgi/meth.c
index 60135aa55802..60135aa55802 100644
--- a/drivers/net/meth.c
+++ b/drivers/net/ethernet/sgi/meth.c
diff --git a/drivers/net/meth.h b/drivers/net/ethernet/sgi/meth.h
index 5b145c6bad60..5b145c6bad60 100644
--- a/drivers/net/meth.h
+++ b/drivers/net/ethernet/sgi/meth.h