Skip to content

Commit 8df158a

Browse files
author
Jeff Kirsher
committed
toshiba: Move the Toshiba drivers
Move the Toshiba ethernet drivers into drivers/net/ethernet/toshiba and make the necessary Kconfig and Makefile changes. CC: Geoff Levand <geoff@infradead.org> CC: Jens Osterkamp <Jens.Osterkamp@de.ibm.com> CC: Ishizaki Kou <kou.ishizaki@toshiba.co.jp> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
1 parent bcc9736 commit 8df158a

File tree

15 files changed

+70
-45
lines changed

15 files changed

+70
-45
lines changed

MAINTAINERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5127,7 +5127,7 @@ M: Geoff Levand <geoff@infradead.org>
51275127
L: netdev@vger.kernel.org
51285128
L: cbe-oss-dev@lists.ozlabs.org
51295129
S: Maintained
5130-
F: drivers/net/ps3_gelic_net.*
5130+
F: drivers/net/ethernet/toshiba/ps3_gelic_net.*
51315131

51325132
PS3 PLATFORM SUPPORT
51335133
M: Geoff Levand <geoff@infradead.org>
@@ -6084,7 +6084,7 @@ M: Jens Osterkamp <jens@de.ibm.com>
60846084
L: netdev@vger.kernel.org
60856085
S: Supported
60866086
F: Documentation/networking/spider_net.txt
6087-
F: drivers/net/spider_net*
6087+
F: drivers/net/ethernet/toshiba/spider_net*
60886088

60896089
SPU FILE SYSTEM
60906090
M: Jeremy Kerr <jk@ozlabs.org>

drivers/net/Kconfig

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -478,11 +478,6 @@ config FORCEDETH
478478
To compile this driver as a module, choose M here. The module
479479
will be called forcedeth.
480480

481-
config TC35815
482-
tristate "TOSHIBA TC35815 Ethernet support"
483-
depends on NET_PCI && PCI && MIPS
484-
select PHYLIB
485-
486481
config FEALNX
487482
tristate "Myson MTD-8xx PCI Ethernet support"
488483
depends on NET_PCI && PCI
@@ -658,15 +653,6 @@ config SIS190
658653
To compile this driver as a module, choose M here: the module
659654
will be called sis190. This is recommended.
660655

661-
config SPIDER_NET
662-
tristate "Spider Gigabit Ethernet driver"
663-
depends on PCI && (PPC_IBM_CELL_BLADE || PPC_CELLEB)
664-
select FW_LOADER
665-
select SUNGEM_PHY
666-
help
667-
This driver supports the Gigabit Ethernet chips present on the
668-
Cell Processor-Based Blades from IBM.
669-
670656
config TSI108_ETH
671657
tristate "Tundra TSI108 gigabit Ethernet support"
672658
depends on TSI108_BRIDGE
@@ -675,29 +661,6 @@ config TSI108_ETH
675661
To compile this driver as a module, choose M here: the module
676662
will be called tsi108_eth.
677663

678-
config GELIC_NET
679-
tristate "PS3 Gigabit Ethernet driver"
680-
depends on PPC_PS3
681-
select PS3_SYS_MANAGER
682-
help
683-
This driver supports the network device on the PS3 game
684-
console. This driver has built-in support for Ethernet.
685-
686-
To compile this driver as a module, choose M here: the
687-
module will be called ps3_gelic.
688-
689-
config GELIC_WIRELESS
690-
bool "PS3 Wireless support"
691-
depends on WLAN
692-
depends on GELIC_NET
693-
select WIRELESS_EXT
694-
help
695-
This option adds the support for the wireless feature of PS3.
696-
If you have the wireless-less model of PS3 or have no plan to
697-
use wireless feature, disabling this option saves memory. As
698-
the driver automatically distinguishes the models, you can
699-
safely enable this option even if you have a wireless-less model.
700-
701664
config XILINX_LL_TEMAC
702665
tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver"
703666
depends on PPC || MICROBLAZE

drivers/net/Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ obj-$(CONFIG_SIS900) += sis900.o
2929
obj-$(CONFIG_R6040) += r6040.o
3030
obj-$(CONFIG_YELLOWFIN) += yellowfin.o
3131
obj-$(CONFIG_FEALNX) += fealnx.o
32-
spidernet-y += spider_net.o spider_net_ethtool.o
33-
obj-$(CONFIG_SPIDER_NET) += spidernet.o
34-
obj-$(CONFIG_GELIC_NET) += ps3_gelic.o
35-
gelic_wireless-$(CONFIG_GELIC_WIRELESS) += ps3_gelic_wireless.o
36-
ps3_gelic-objs += ps3_gelic_net.o $(gelic_wireless-y)
37-
obj-$(CONFIG_TC35815) += tc35815.o
3832
obj-$(CONFIG_SKFP) += skfp/
3933
obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o
4034
obj-$(CONFIG_RIONET) += rionet.o

drivers/net/ethernet/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ source "drivers/net/ethernet/smsc/Kconfig"
4848
source "drivers/net/ethernet/stmicro/Kconfig"
4949
source "drivers/net/ethernet/sun/Kconfig"
5050
source "drivers/net/ethernet/tehuti/Kconfig"
51+
source "drivers/net/ethernet/toshiba/Kconfig"
5152
source "drivers/net/ethernet/via/Kconfig"
5253

5354
endif # ETHERNET

drivers/net/ethernet/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,5 @@ obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
3939
obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/
4040
obj-$(CONFIG_NET_VENDOR_SUN) += sun/
4141
obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/
42+
obj-$(CONFIG_NET_VENDOR_TOSHIBA) += toshiba/
4243
obj-$(CONFIG_NET_VENDOR_VIA) += via/
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
#
2+
# Toshiba network device configuration
3+
#
4+
5+
config NET_VENDOR_TOSHIBA
6+
bool "Toshiba devices"
7+
depends on PCI && (PPC_IBM_CELL_BLADE || PPC_CELLEB) || PPC_PS3
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 Toshiba cards. If you say Y, you will be asked
16+
for your specific card in the following questions.
17+
18+
if NET_VENDOR_TOSHIBA
19+
20+
config GELIC_NET
21+
tristate "PS3 Gigabit Ethernet driver"
22+
depends on PPC_PS3
23+
select PS3_SYS_MANAGER
24+
---help---
25+
This driver supports the network device on the PS3 game
26+
console. This driver has built-in support for Ethernet.
27+
28+
To compile this driver as a module, choose M here: the
29+
module will be called ps3_gelic.
30+
31+
config GELIC_WIRELESS
32+
bool "PS3 Wireless support"
33+
depends on GELIC_NET && WLAN
34+
select WIRELESS_EXT
35+
---help---
36+
This option adds the support for the wireless feature of PS3.
37+
If you have the wireless-less model of PS3 or have no plan to
38+
use wireless feature, disabling this option saves memory. As
39+
the driver automatically distinguishes the models, you can
40+
safely enable this option even if you have a wireless-less model.
41+
42+
config SPIDER_NET
43+
tristate "Spider Gigabit Ethernet driver"
44+
depends on PCI && (PPC_IBM_CELL_BLADE || PPC_CELLEB)
45+
select FW_LOADER
46+
select SUNGEM_PHY
47+
---help---
48+
This driver supports the Gigabit Ethernet chips present on the
49+
Cell Processor-Based Blades from IBM.
50+
51+
config TC35815
52+
tristate "TOSHIBA TC35815 Ethernet support"
53+
depends on PCI && MIPS
54+
select PHYLIB
55+
56+
endif # NET_VENDOR_TOSHIBA
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#
2+
# Makefile for the Toshiba network device drivers.
3+
#
4+
5+
obj-$(CONFIG_GELIC_NET) += ps3_gelic.o
6+
gelic_wireless-$(CONFIG_GELIC_WIRELESS) += ps3_gelic_wireless.o
7+
ps3_gelic-objs += ps3_gelic_net.o $(gelic_wireless-y)
8+
spidernet-y += spider_net.o spider_net_ethtool.o
9+
obj-$(CONFIG_SPIDER_NET) += spidernet.o ethernet/sun/sungem_phy.o
10+
obj-$(CONFIG_TC35815) += tc35815.o
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)