diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-07-30 03:36:02 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-08-12 03:27:04 -0400 |
commit | 8df158ac36fa0937f51c372f0c2d0ad1b86ebe4c (patch) | |
tree | 320edf6c6b8ecc035b77ac8e91974d870490ad92 | |
parent | bcc9736c6c201b0992c9d0a5b5a30c35138e5782 (diff) |
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>
15 files changed, 70 insertions, 45 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index 77ca43046b7e..84948bd44b84 100644 --- a/MAINTAINERS +++ b/MAINTAINERS | |||
@@ -5127,7 +5127,7 @@ M: Geoff Levand <geoff@infradead.org> | |||
5127 | L: netdev@vger.kernel.org | 5127 | L: netdev@vger.kernel.org |
5128 | L: cbe-oss-dev@lists.ozlabs.org | 5128 | L: cbe-oss-dev@lists.ozlabs.org |
5129 | S: Maintained | 5129 | S: Maintained |
5130 | F: drivers/net/ps3_gelic_net.* | 5130 | F: drivers/net/ethernet/toshiba/ps3_gelic_net.* |
5131 | 5131 | ||
5132 | PS3 PLATFORM SUPPORT | 5132 | PS3 PLATFORM SUPPORT |
5133 | M: Geoff Levand <geoff@infradead.org> | 5133 | M: Geoff Levand <geoff@infradead.org> |
@@ -6084,7 +6084,7 @@ M: Jens Osterkamp <jens@de.ibm.com> | |||
6084 | L: netdev@vger.kernel.org | 6084 | L: netdev@vger.kernel.org |
6085 | S: Supported | 6085 | S: Supported |
6086 | F: Documentation/networking/spider_net.txt | 6086 | F: Documentation/networking/spider_net.txt |
6087 | F: drivers/net/spider_net* | 6087 | F: drivers/net/ethernet/toshiba/spider_net* |
6088 | 6088 | ||
6089 | SPU FILE SYSTEM | 6089 | SPU FILE SYSTEM |
6090 | M: Jeremy Kerr <jk@ozlabs.org> | 6090 | M: Jeremy Kerr <jk@ozlabs.org> |
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index a6edd3546fe9..1e1df3d79850 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -478,11 +478,6 @@ config FORCEDETH | |||
478 | To compile this driver as a module, choose M here. The module | 478 | To compile this driver as a module, choose M here. The module |
479 | will be called forcedeth. | 479 | will be called forcedeth. |
480 | 480 | ||
481 | config TC35815 | ||
482 | tristate "TOSHIBA TC35815 Ethernet support" | ||
483 | depends on NET_PCI && PCI && MIPS | ||
484 | select PHYLIB | ||
485 | |||
486 | config FEALNX | 481 | config FEALNX |
487 | tristate "Myson MTD-8xx PCI Ethernet support" | 482 | tristate "Myson MTD-8xx PCI Ethernet support" |
488 | depends on NET_PCI && PCI | 483 | depends on NET_PCI && PCI |
@@ -658,15 +653,6 @@ config SIS190 | |||
658 | To compile this driver as a module, choose M here: the module | 653 | To compile this driver as a module, choose M here: the module |
659 | will be called sis190. This is recommended. | 654 | will be called sis190. This is recommended. |
660 | 655 | ||
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 | |||
670 | config TSI108_ETH | 656 | config TSI108_ETH |
671 | tristate "Tundra TSI108 gigabit Ethernet support" | 657 | tristate "Tundra TSI108 gigabit Ethernet support" |
672 | depends on TSI108_BRIDGE | 658 | depends on TSI108_BRIDGE |
@@ -675,29 +661,6 @@ config TSI108_ETH | |||
675 | To compile this driver as a module, choose M here: the module | 661 | To compile this driver as a module, choose M here: the module |
676 | will be called tsi108_eth. | 662 | will be called tsi108_eth. |
677 | 663 | ||
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 | |||
701 | config XILINX_LL_TEMAC | 664 | config XILINX_LL_TEMAC |
702 | tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver" | 665 | tristate "Xilinx LL TEMAC (LocalLink Tri-mode Ethernet MAC) driver" |
703 | depends on PPC || MICROBLAZE | 666 | depends on PPC || MICROBLAZE |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index e448e6ed5918..275ed4a548ae 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -29,12 +29,6 @@ obj-$(CONFIG_SIS900) += sis900.o | |||
29 | obj-$(CONFIG_R6040) += r6040.o | 29 | obj-$(CONFIG_R6040) += r6040.o |
30 | obj-$(CONFIG_YELLOWFIN) += yellowfin.o | 30 | obj-$(CONFIG_YELLOWFIN) += yellowfin.o |
31 | obj-$(CONFIG_FEALNX) += fealnx.o | 31 | 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 | ||
38 | obj-$(CONFIG_SKFP) += skfp/ | 32 | obj-$(CONFIG_SKFP) += skfp/ |
39 | obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o | 33 | obj-$(CONFIG_ADAPTEC_STARFIRE) += starfire.o |
40 | obj-$(CONFIG_RIONET) += rionet.o | 34 | obj-$(CONFIG_RIONET) += rionet.o |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index d90f47f3b782..97542479c01f 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
@@ -48,6 +48,7 @@ source "drivers/net/ethernet/smsc/Kconfig" | |||
48 | source "drivers/net/ethernet/stmicro/Kconfig" | 48 | source "drivers/net/ethernet/stmicro/Kconfig" |
49 | source "drivers/net/ethernet/sun/Kconfig" | 49 | source "drivers/net/ethernet/sun/Kconfig" |
50 | source "drivers/net/ethernet/tehuti/Kconfig" | 50 | source "drivers/net/ethernet/tehuti/Kconfig" |
51 | source "drivers/net/ethernet/toshiba/Kconfig" | ||
51 | source "drivers/net/ethernet/via/Kconfig" | 52 | source "drivers/net/ethernet/via/Kconfig" |
52 | 53 | ||
53 | endif # ETHERNET | 54 | endif # ETHERNET |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index cf27ae0eb3ec..7e7a319e7187 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -39,4 +39,5 @@ obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ | |||
39 | obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/ | 39 | obj-$(CONFIG_NET_VENDOR_STMICRO) += stmicro/ |
40 | obj-$(CONFIG_NET_VENDOR_SUN) += sun/ | 40 | obj-$(CONFIG_NET_VENDOR_SUN) += sun/ |
41 | obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/ | 41 | obj-$(CONFIG_NET_VENDOR_TEHUTI) += tehuti/ |
42 | obj-$(CONFIG_NET_VENDOR_TOSHIBA) += toshiba/ | ||
42 | obj-$(CONFIG_NET_VENDOR_VIA) += via/ | 43 | obj-$(CONFIG_NET_VENDOR_VIA) += via/ |
diff --git a/drivers/net/ethernet/toshiba/Kconfig b/drivers/net/ethernet/toshiba/Kconfig new file mode 100644 index 000000000000..6ef2ce2c0ea7 --- /dev/null +++ b/drivers/net/ethernet/toshiba/Kconfig | |||
@@ -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 | ||
diff --git a/drivers/net/ethernet/toshiba/Makefile b/drivers/net/ethernet/toshiba/Makefile new file mode 100644 index 000000000000..71d861f55add --- /dev/null +++ b/drivers/net/ethernet/toshiba/Makefile | |||
@@ -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 | ||
diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ethernet/toshiba/ps3_gelic_net.c index d82a82d9870c..d82a82d9870c 100644 --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ethernet/toshiba/ps3_gelic_net.c | |||
diff --git a/drivers/net/ps3_gelic_net.h b/drivers/net/ethernet/toshiba/ps3_gelic_net.h index d3fadfbc3bcc..d3fadfbc3bcc 100644 --- a/drivers/net/ps3_gelic_net.h +++ b/drivers/net/ethernet/toshiba/ps3_gelic_net.h | |||
diff --git a/drivers/net/ps3_gelic_wireless.c b/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c index 2e62938c0f82..2e62938c0f82 100644 --- a/drivers/net/ps3_gelic_wireless.c +++ b/drivers/net/ethernet/toshiba/ps3_gelic_wireless.c | |||
diff --git a/drivers/net/ps3_gelic_wireless.h b/drivers/net/ethernet/toshiba/ps3_gelic_wireless.h index f7e51b7d7049..f7e51b7d7049 100644 --- a/drivers/net/ps3_gelic_wireless.h +++ b/drivers/net/ethernet/toshiba/ps3_gelic_wireless.h | |||
diff --git a/drivers/net/spider_net.c b/drivers/net/ethernet/toshiba/spider_net.c index 1ff3491c8240..1ff3491c8240 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/ethernet/toshiba/spider_net.c | |||
diff --git a/drivers/net/spider_net.h b/drivers/net/ethernet/toshiba/spider_net.h index a891ad00054b..a891ad00054b 100644 --- a/drivers/net/spider_net.h +++ b/drivers/net/ethernet/toshiba/spider_net.h | |||
diff --git a/drivers/net/spider_net_ethtool.c b/drivers/net/ethernet/toshiba/spider_net_ethtool.c index 9c288cd7d171..9c288cd7d171 100644 --- a/drivers/net/spider_net_ethtool.c +++ b/drivers/net/ethernet/toshiba/spider_net_ethtool.c | |||
diff --git a/drivers/net/tc35815.c b/drivers/net/ethernet/toshiba/tc35815.c index 4a55a162dfe6..4a55a162dfe6 100644 --- a/drivers/net/tc35815.c +++ b/drivers/net/ethernet/toshiba/tc35815.c | |||