diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-20 10:50:27 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-12 03:21:33 -0400 |
commit | 8862bf1ed60de49550109b7023a0a33eb7db8b3c (patch) | |
tree | 76e2c24e847a986c139061f5d522aa94ce97e083 /drivers/net | |
parent | a88394cfb58007cca945699545469017beb0d206 (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/Kconfig | 14 | ||||
-rw-r--r-- | drivers/net/Makefile | 2 | ||||
-rw-r--r-- | drivers/net/ethernet/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/sgi/Kconfig | 34 | ||||
-rw-r--r-- | drivers/net/ethernet/sgi/Makefile | 6 | ||||
-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 | ||
247 | config 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 | |||
257 | config MIPS_SIM_NET | 247 | config 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 | ||
265 | config SGI_O2MACE_ETH | ||
266 | tristate "SGI O2 MACE Fast Ethernet support" | ||
267 | depends on SGI_IP32=y | ||
268 | |||
269 | config SH_ETH | 255 | config 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 | |||
103 | obj-$(CONFIG_MACVTAP) += macvtap.o | 103 | obj-$(CONFIG_MACVTAP) += macvtap.o |
104 | obj-$(CONFIG_DEFXX) += defxx.o | 104 | obj-$(CONFIG_DEFXX) += defxx.o |
105 | obj-$(CONFIG_SGISEEQ) += sgiseeq.o | 105 | obj-$(CONFIG_SGISEEQ) += sgiseeq.o |
106 | obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o | ||
107 | obj-$(CONFIG_AT1700) += at1700.o | 106 | obj-$(CONFIG_AT1700) += at1700.o |
108 | obj-$(CONFIG_CPMAC) += cpmac.o | 107 | obj-$(CONFIG_CPMAC) += cpmac.o |
109 | 108 | ||
@@ -111,7 +110,6 @@ obj-$(CONFIG_ETH16I) += eth16i.o | |||
111 | obj-$(CONFIG_EQUALIZER) += eql.o | 110 | obj-$(CONFIG_EQUALIZER) += eql.o |
112 | obj-$(CONFIG_KORINA) += korina.o | 111 | obj-$(CONFIG_KORINA) += korina.o |
113 | obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o | 112 | obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o |
114 | obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o | ||
115 | obj-$(CONFIG_TUN) += tun.o | 113 | obj-$(CONFIG_TUN) += tun.o |
116 | obj-$(CONFIG_VETH) += veth.o | 114 | obj-$(CONFIG_VETH) += veth.o |
117 | obj-$(CONFIG_NET_NETX) += netx-eth.o | 115 | obj-$(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" | |||
37 | source "drivers/net/ethernet/racal/Kconfig" | 37 | source "drivers/net/ethernet/racal/Kconfig" |
38 | source "drivers/net/ethernet/realtek/Kconfig" | 38 | source "drivers/net/ethernet/realtek/Kconfig" |
39 | source "drivers/net/ethernet/sfc/Kconfig" | 39 | source "drivers/net/ethernet/sfc/Kconfig" |
40 | source "drivers/net/ethernet/sgi/Kconfig" | ||
40 | source "drivers/net/ethernet/smsc/Kconfig" | 41 | source "drivers/net/ethernet/smsc/Kconfig" |
41 | source "drivers/net/ethernet/stmicro/Kconfig" | 42 | source "drivers/net/ethernet/stmicro/Kconfig" |
42 | source "drivers/net/ethernet/sun/Kconfig" | 43 | source "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/ | |||
28 | obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ | 28 | obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ |
29 | obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/ | 29 | obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/ |
30 | obj-$(CONFIG_SFC) += sfc/ | 30 | obj-$(CONFIG_SFC) += sfc/ |
31 | obj-$(CONFIG_NET_VENDOR_SGI) += sgi/ | ||
31 | obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ | 32 | obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ |
32 | obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/ | 33 | obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/ |
33 | obj-$(CONFIG_NET_VENDOR_SUN) += sun/ | 34 | obj-$(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 | |||
5 | config 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 | |||
18 | if NET_VENDOR_SGI | ||
19 | |||
20 | config 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 | |||
30 | config SGI_O2MACE_ETH | ||
31 | tristate "SGI O2 MACE Fast Ethernet support" | ||
32 | depends on SGI_IP32=y | ||
33 | |||
34 | endif # 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 | |||
5 | obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o | ||
6 | obj-$(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 | |||