Skip to content

Commit 8862bf1

Browse files
author
Jeff Kirsher
committed
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>
1 parent a88394c commit 8862bf1

File tree

10 files changed

+43
-17
lines changed

10 files changed

+43
-17
lines changed

MAINTAINERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3424,7 +3424,7 @@ IOC3 ETHERNET DRIVER
34243424
M: Ralf Baechle <ralf@linux-mips.org>
34253425
L: linux-mips@linux-mips.org
34263426
S: Maintained
3427-
F: drivers/net/ioc3-eth.c
3427+
F: drivers/net/ethernet/sgi/ioc3-eth.c
34283428

34293429
IOC3 SERIAL DRIVER
34303430
M: Pat Gefre <pfg@sgi.com>

drivers/net/Kconfig

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -244,16 +244,6 @@ config KORINA
244244
If you have a Mikrotik RouterBoard 500 or IDT RC32434
245245
based system say Y. Otherwise say N.
246246

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-
257247
config MIPS_SIM_NET
258248
tristate "MIPS simulator Network device"
259249
depends on MIPS_SIM
@@ -262,10 +252,6 @@ config MIPS_SIM_NET
262252
emulated by the MIPS Simulator.
263253
If you are not using a MIPSsim or are unsure, say N.
264254

265-
config SGI_O2MACE_ETH
266-
tristate "SGI O2 MACE Fast Ethernet support"
267-
depends on SGI_IP32=y
268-
269255
config SH_ETH
270256
tristate "Renesas SuperH Ethernet support"
271257
depends on SUPERH && \

drivers/net/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,13 @@ obj-$(CONFIG_MACVLAN) += macvlan.o
103103
obj-$(CONFIG_MACVTAP) += macvtap.o
104104
obj-$(CONFIG_DEFXX) += defxx.o
105105
obj-$(CONFIG_SGISEEQ) += sgiseeq.o
106-
obj-$(CONFIG_SGI_O2MACE_ETH) += meth.o
107106
obj-$(CONFIG_AT1700) += at1700.o
108107
obj-$(CONFIG_CPMAC) += cpmac.o
109108

110109
obj-$(CONFIG_ETH16I) += eth16i.o
111110
obj-$(CONFIG_EQUALIZER) += eql.o
112111
obj-$(CONFIG_KORINA) += korina.o
113112
obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o
114-
obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o
115113
obj-$(CONFIG_TUN) += tun.o
116114
obj-$(CONFIG_VETH) += veth.o
117115
obj-$(CONFIG_NET_NETX) += netx-eth.o

drivers/net/ethernet/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ source "drivers/net/ethernet/qlogic/Kconfig"
3737
source "drivers/net/ethernet/racal/Kconfig"
3838
source "drivers/net/ethernet/realtek/Kconfig"
3939
source "drivers/net/ethernet/sfc/Kconfig"
40+
source "drivers/net/ethernet/sgi/Kconfig"
4041
source "drivers/net/ethernet/smsc/Kconfig"
4142
source "drivers/net/ethernet/stmicro/Kconfig"
4243
source "drivers/net/ethernet/sun/Kconfig"

drivers/net/ethernet/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
2828
obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
2929
obj-$(CONFIG_NET_VENDOR_REALTEK) += realtek/
3030
obj-$(CONFIG_SFC) += sfc/
31+
obj-$(CONFIG_NET_VENDOR_SGI) += sgi/
3132
obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
3233
obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/
3334
obj-$(CONFIG_NET_VENDOR_SUN) += sun/

drivers/net/ethernet/sgi/Kconfig

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

drivers/net/ethernet/sgi/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)