aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/Kconfig66
-rw-r--r--drivers/net/Makefile10
-rw-r--r--drivers/net/ethernet/Kconfig1
-rw-r--r--drivers/net/ethernet/Makefile1
-rw-r--r--drivers/net/ethernet/sun/Kconfig86
-rw-r--r--drivers/net/ethernet/sun/Makefile11
-rw-r--r--drivers/net/ethernet/sun/cassini.c (renamed from drivers/net/cassini.c)0
-rw-r--r--drivers/net/ethernet/sun/cassini.h (renamed from drivers/net/cassini.h)0
-rw-r--r--drivers/net/ethernet/sun/niu.c (renamed from drivers/net/niu.c)0
-rw-r--r--drivers/net/ethernet/sun/niu.h (renamed from drivers/net/niu.h)0
-rw-r--r--drivers/net/ethernet/sun/sunbmac.c (renamed from drivers/net/sunbmac.c)0
-rw-r--r--drivers/net/ethernet/sun/sunbmac.h (renamed from drivers/net/sunbmac.h)0
-rw-r--r--drivers/net/ethernet/sun/sungem.c (renamed from drivers/net/sungem.c)0
-rw-r--r--drivers/net/ethernet/sun/sungem.h (renamed from drivers/net/sungem.h)0
-rw-r--r--drivers/net/ethernet/sun/sungem_phy.c (renamed from drivers/net/sungem_phy.c)0
-rw-r--r--drivers/net/ethernet/sun/sungem_phy.h (renamed from drivers/net/sungem_phy.h)0
-rw-r--r--drivers/net/ethernet/sun/sunhme.c (renamed from drivers/net/sunhme.c)0
-rw-r--r--drivers/net/ethernet/sun/sunhme.h (renamed from drivers/net/sunhme.h)0
-rw-r--r--drivers/net/ethernet/sun/sunqe.c (renamed from drivers/net/sunqe.c)0
-rw-r--r--drivers/net/ethernet/sun/sunqe.h (renamed from drivers/net/sunqe.h)0
-rw-r--r--drivers/net/ethernet/sun/sunvnet.c (renamed from drivers/net/sunvnet.c)0
-rw-r--r--drivers/net/ethernet/sun/sunvnet.h (renamed from drivers/net/sunvnet.h)0
-rw-r--r--drivers/net/spider_net.h2
23 files changed, 101 insertions, 76 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig
index b76de822b52f..7977002fc81d 100644
--- a/drivers/net/Kconfig
+++ b/drivers/net/Kconfig
@@ -363,64 +363,6 @@ config SH_ETH
363 This driver supporting CPUs are: 363 This driver supporting CPUs are:
364 - SH7710, SH7712, SH7763, SH7619, SH7724, and SH7757. 364 - SH7710, SH7712, SH7763, SH7619, SH7724, and SH7757.
365 365
366config HAPPYMEAL
367 tristate "Sun Happy Meal 10/100baseT support"
368 depends on SBUS || PCI
369 select CRC32
370 help
371 This driver supports the "hme" interface present on most Ultra
372 systems and as an option on older Sbus systems. This driver supports
373 both PCI and Sbus devices. This driver also supports the "qfe" quad
374 100baseT device available in both PCI and Sbus configurations.
375
376 To compile this driver as a module, choose M here: the module
377 will be called sunhme.
378
379config SUNBMAC
380 tristate "Sun BigMAC 10/100baseT support (EXPERIMENTAL)"
381 depends on SBUS && EXPERIMENTAL
382 select CRC32
383 help
384 This driver supports the "be" interface available as an Sbus option.
385 This is Sun's older 100baseT Ethernet device.
386
387 To compile this driver as a module, choose M here: the module
388 will be called sunbmac.
389
390config SUNQE
391 tristate "Sun QuadEthernet support"
392 depends on SBUS
393 select CRC32
394 help
395 This driver supports the "qe" 10baseT Ethernet device, available as
396 an Sbus option. Note that this is not the same as Quad FastEthernet
397 "qfe" which is supported by the Happy Meal driver instead.
398
399 To compile this driver as a module, choose M here: the module
400 will be called sunqe.
401
402config SUNGEM
403 tristate "Sun GEM support"
404 depends on PCI
405 select CRC32
406 help
407 Support for the Sun GEM chip, aka Sun GigabitEthernet/P 2.0. See also
408 <http://www.sun.com/products-n-solutions/hardware/docs/pdf/806-3985-10.pdf>.
409
410config CASSINI
411 tristate "Sun Cassini support"
412 depends on PCI
413 select CRC32
414 help
415 Support for the Sun Cassini chip, aka Sun GigaSwift Ethernet. See also
416 <http://www.sun.com/products-n-solutions/hardware/docs/pdf/817-4341-10.pdf>
417
418config SUNVNET
419 tristate "Sun Virtual Network support"
420 depends on SUN_LDOMS
421 help
422 Support for virtual network devices under Sun Logical Domains.
423
424config BFIN_MAC 366config BFIN_MAC
425 tristate "Blackfin on-chip MAC support" 367 tristate "Blackfin on-chip MAC support"
426 depends on NET_ETHERNET && (BF516 || BF518 || BF526 || BF527 || BF536 || BF537) 368 depends on NET_ETHERNET && (BF516 || BF518 || BF526 || BF527 || BF536 || BF537)
@@ -1603,14 +1545,6 @@ config MYRI10GE_DCA
1603 driver. DCA is a method for warming the CPU cache before data 1545 driver. DCA is a method for warming the CPU cache before data
1604 is used, with the intent of lessening the impact of cache misses. 1546 is used, with the intent of lessening the impact of cache misses.
1605 1547
1606config NIU
1607 tristate "Sun Neptune 10Gbit Ethernet support"
1608 depends on PCI
1609 select CRC32
1610 help
1611 This enables support for cards based upon Sun's
1612 Neptune chipset.
1613
1614config PASEMI_MAC 1548config PASEMI_MAC
1615 tristate "PA Semi 1/10Gbit MAC" 1549 tristate "PA Semi 1/10Gbit MAC"
1616 depends on PPC_PASEMI && PCI && INET 1550 depends on PPC_PASEMI && PCI && INET
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index e641f703bbad..cfbb060c0c69 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -44,13 +44,6 @@ obj-$(CONFIG_PLIP) += plip.o
44 44
45obj-$(CONFIG_ROADRUNNER) += rrunner.o 45obj-$(CONFIG_ROADRUNNER) += rrunner.o
46 46
47obj-$(CONFIG_HAPPYMEAL) += sunhme.o
48obj-$(CONFIG_SUNQE) += sunqe.o
49obj-$(CONFIG_SUNBMAC) += sunbmac.o
50obj-$(CONFIG_SUNGEM) += sungem.o sungem_phy.o
51obj-$(CONFIG_CASSINI) += cassini.o
52obj-$(CONFIG_SUNVNET) += sunvnet.o
53
54obj-$(CONFIG_MACE) += mace.o 47obj-$(CONFIG_MACE) += mace.o
55obj-$(CONFIG_BMAC) += bmac.o 48obj-$(CONFIG_BMAC) += bmac.o
56 49
@@ -64,7 +57,7 @@ obj-$(CONFIG_NATSEMI) += natsemi.o
64obj-$(CONFIG_NS83820) += ns83820.o 57obj-$(CONFIG_NS83820) += ns83820.o
65obj-$(CONFIG_FEALNX) += fealnx.o 58obj-$(CONFIG_FEALNX) += fealnx.o
66spidernet-y += spider_net.o spider_net_ethtool.o 59spidernet-y += spider_net.o spider_net_ethtool.o
67obj-$(CONFIG_SPIDER_NET) += spidernet.o sungem_phy.o 60obj-$(CONFIG_SPIDER_NET) += spidernet.o ethernet/sun/sungem_phy.o
68obj-$(CONFIG_GELIC_NET) += ps3_gelic.o 61obj-$(CONFIG_GELIC_NET) += ps3_gelic.o
69gelic_wireless-$(CONFIG_GELIC_WIRELESS) += ps3_gelic_wireless.o 62gelic_wireless-$(CONFIG_GELIC_WIRELESS) += ps3_gelic_wireless.o
70ps3_gelic-objs += ps3_gelic_net.o $(gelic_wireless-y) 63ps3_gelic-objs += ps3_gelic_net.o $(gelic_wireless-y)
@@ -207,7 +200,6 @@ obj-$(CONFIG_NETCONSOLE) += netconsole.o
207 200
208obj-$(CONFIG_FS_ENET) += fs_enet/ 201obj-$(CONFIG_FS_ENET) += fs_enet/
209 202
210obj-$(CONFIG_NIU) += niu.o
211obj-$(CONFIG_VIRTIO_NET) += virtio_net.o 203obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
212obj-$(CONFIG_SFC) += sfc/ 204obj-$(CONFIG_SFC) += sfc/
213 205
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig
index 7efbb7cf91a9..5edd2371c53f 100644
--- a/drivers/net/ethernet/Kconfig
+++ b/drivers/net/ethernet/Kconfig
@@ -21,5 +21,6 @@ source "drivers/net/ethernet/i825xx/Kconfig"
21source "drivers/net/ethernet/qlogic/Kconfig" 21source "drivers/net/ethernet/qlogic/Kconfig"
22source "drivers/net/ethernet/racal/Kconfig" 22source "drivers/net/ethernet/racal/Kconfig"
23source "drivers/net/ethernet/smsc/Kconfig" 23source "drivers/net/ethernet/smsc/Kconfig"
24source "drivers/net/ethernet/sun/Kconfig"
24 25
25endif # ETHERNET 26endif # ETHERNET
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile
index 86da8b8339e1..18d8a893d78b 100644
--- a/drivers/net/ethernet/Makefile
+++ b/drivers/net/ethernet/Makefile
@@ -12,3 +12,4 @@ obj-$(CONFIG_NET_VENDOR_I825XX) += i825xx/
12obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/ 12obj-$(CONFIG_NET_VENDOR_QLOGIC) += qlogic/
13obj-$(CONFIG_NET_VENDOR_RACAL) += racal/ 13obj-$(CONFIG_NET_VENDOR_RACAL) += racal/
14obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/ 14obj-$(CONFIG_NET_VENDOR_SMSC) += smsc/
15obj-$(CONFIG_NET_VENDOR_SUN) += sun/
diff --git a/drivers/net/ethernet/sun/Kconfig b/drivers/net/ethernet/sun/Kconfig
new file mode 100644
index 000000000000..87b17a7e6dfe
--- /dev/null
+++ b/drivers/net/ethernet/sun/Kconfig
@@ -0,0 +1,86 @@
1#
2# Sun network device configuration
3#
4
5config NET_VENDOR_SUN
6 bool "Sun devices"
7 depends on SUN3 || SBUS || PCI || SUN_LDOMS
8 ---help---
9 If you have a network (Ethernet) card belonging to this class, say
10 Y 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 Sun network interfaces. If you say Y, you will be
16 asked for your specific card in the following questions.
17
18if NET_VENDOR_SUN
19
20config HAPPYMEAL
21 tristate "Sun Happy Meal 10/100baseT support"
22 depends on (SBUS || PCI)
23 select CRC32
24 ---help---
25 This driver supports the "hme" interface present on most Ultra
26 systems and as an option on older Sbus systems. This driver supports
27 both PCI and Sbus devices. This driver also supports the "qfe" quad
28 100baseT device available in both PCI and Sbus configurations.
29
30 To compile this driver as a module, choose M here: the module
31 will be called sunhme.
32
33config SUNBMAC
34 tristate "Sun BigMAC 10/100baseT support (EXPERIMENTAL)"
35 depends on SBUS && EXPERIMENTAL
36 select CRC32
37 ---help---
38 This driver supports the "be" interface available as an Sbus option.
39 This is Sun's older 100baseT Ethernet device.
40
41 To compile this driver as a module, choose M here: the module
42 will be called sunbmac.
43
44config SUNQE
45 tristate "Sun QuadEthernet support"
46 depends on SBUS
47 select CRC32
48 ---help---
49 This driver supports the "qe" 10baseT Ethernet device, available as
50 an Sbus option. Note that this is not the same as Quad FastEthernet
51 "qfe" which is supported by the Happy Meal driver instead.
52
53 To compile this driver as a module, choose M here: the module
54 will be called sunqe.
55
56config SUNGEM
57 tristate "Sun GEM support"
58 depends on PCI
59 select CRC32
60 ---help---
61 Support for the Sun GEM chip, aka Sun GigabitEthernet/P 2.0. See also
62 <http://www.sun.com/products-n-solutions/hardware/docs/pdf/806-3985-10.pdf>.
63
64config CASSINI
65 tristate "Sun Cassini support"
66 depends on PCI
67 select CRC32
68 ---help---
69 Support for the Sun Cassini chip, aka Sun GigaSwift Ethernet. See also
70 <http://www.sun.com/products-n-solutions/hardware/docs/pdf/817-4341-10.pdf>
71
72config SUNVNET
73 tristate "Sun Virtual Network support"
74 depends on SUN_LDOMS
75 ---help---
76 Support for virtual network devices under Sun Logical Domains.
77
78config NIU
79 tristate "Sun Neptune 10Gbit Ethernet support"
80 depends on PCI
81 select CRC32
82 ---help---
83 This enables support for cards based upon Sun's
84 Neptune chipset.
85
86endif # NET_VENDOR_SUN
diff --git a/drivers/net/ethernet/sun/Makefile b/drivers/net/ethernet/sun/Makefile
new file mode 100644
index 000000000000..4f25217a75f8
--- /dev/null
+++ b/drivers/net/ethernet/sun/Makefile
@@ -0,0 +1,11 @@
1#
2# Makefile for the Sun network device drivers.
3#
4
5obj-$(CONFIG_HAPPYMEAL) += sunhme.o
6obj-$(CONFIG_SUNQE) += sunqe.o
7obj-$(CONFIG_SUNBMAC) += sunbmac.o
8obj-$(CONFIG_SUNGEM) += sungem.o sungem_phy.o
9obj-$(CONFIG_CASSINI) += cassini.o
10obj-$(CONFIG_SUNVNET) += sunvnet.o
11obj-$(CONFIG_NIU) += niu.o
diff --git a/drivers/net/cassini.c b/drivers/net/ethernet/sun/cassini.c
index 646c86bcc545..646c86bcc545 100644
--- a/drivers/net/cassini.c
+++ b/drivers/net/ethernet/sun/cassini.c
diff --git a/drivers/net/cassini.h b/drivers/net/ethernet/sun/cassini.h
index b361424d5f57..b361424d5f57 100644
--- a/drivers/net/cassini.h
+++ b/drivers/net/ethernet/sun/cassini.h
diff --git a/drivers/net/niu.c b/drivers/net/ethernet/sun/niu.c
index ed47585a6862..ed47585a6862 100644
--- a/drivers/net/niu.c
+++ b/drivers/net/ethernet/sun/niu.c
diff --git a/drivers/net/niu.h b/drivers/net/ethernet/sun/niu.h
index 51e177e1860d..51e177e1860d 100644
--- a/drivers/net/niu.h
+++ b/drivers/net/ethernet/sun/niu.h
diff --git a/drivers/net/sunbmac.c b/drivers/net/ethernet/sun/sunbmac.c
index 297a4242106b..297a4242106b 100644
--- a/drivers/net/sunbmac.c
+++ b/drivers/net/ethernet/sun/sunbmac.c
diff --git a/drivers/net/sunbmac.h b/drivers/net/ethernet/sun/sunbmac.h
index 4943e975a731..4943e975a731 100644
--- a/drivers/net/sunbmac.h
+++ b/drivers/net/ethernet/sun/sunbmac.h
diff --git a/drivers/net/sungem.c b/drivers/net/ethernet/sun/sungem.c
index ade35dde5b51..ade35dde5b51 100644
--- a/drivers/net/sungem.c
+++ b/drivers/net/ethernet/sun/sungem.c
diff --git a/drivers/net/sungem.h b/drivers/net/ethernet/sun/sungem.h
index 835ce1b3cb9f..835ce1b3cb9f 100644
--- a/drivers/net/sungem.h
+++ b/drivers/net/ethernet/sun/sungem.h
diff --git a/drivers/net/sungem_phy.c b/drivers/net/ethernet/sun/sungem_phy.c
index d16880d7099b..d16880d7099b 100644
--- a/drivers/net/sungem_phy.c
+++ b/drivers/net/ethernet/sun/sungem_phy.c
diff --git a/drivers/net/sungem_phy.h b/drivers/net/ethernet/sun/sungem_phy.h
index af02f9479cbb..af02f9479cbb 100644
--- a/drivers/net/sungem_phy.h
+++ b/drivers/net/ethernet/sun/sungem_phy.h
diff --git a/drivers/net/sunhme.c b/drivers/net/ethernet/sun/sunhme.c
index 856e05b9fba3..856e05b9fba3 100644
--- a/drivers/net/sunhme.c
+++ b/drivers/net/ethernet/sun/sunhme.c
diff --git a/drivers/net/sunhme.h b/drivers/net/ethernet/sun/sunhme.h
index 64f278360d89..64f278360d89 100644
--- a/drivers/net/sunhme.h
+++ b/drivers/net/ethernet/sun/sunhme.h
diff --git a/drivers/net/sunqe.c b/drivers/net/ethernet/sun/sunqe.c
index 209c7f8df003..209c7f8df003 100644
--- a/drivers/net/sunqe.c
+++ b/drivers/net/ethernet/sun/sunqe.c
diff --git a/drivers/net/sunqe.h b/drivers/net/ethernet/sun/sunqe.h
index 581781b6b2fa..581781b6b2fa 100644
--- a/drivers/net/sunqe.h
+++ b/drivers/net/ethernet/sun/sunqe.h
diff --git a/drivers/net/sunvnet.c b/drivers/net/ethernet/sun/sunvnet.c
index bf3c762de620..bf3c762de620 100644
--- a/drivers/net/sunvnet.c
+++ b/drivers/net/ethernet/sun/sunvnet.c
diff --git a/drivers/net/sunvnet.h b/drivers/net/ethernet/sun/sunvnet.h
index d347a5bf24b0..d347a5bf24b0 100644
--- a/drivers/net/sunvnet.h
+++ b/drivers/net/ethernet/sun/sunvnet.h
diff --git a/drivers/net/spider_net.h b/drivers/net/spider_net.h
index 020f64a8fcf7..a891ad00054b 100644
--- a/drivers/net/spider_net.h
+++ b/drivers/net/spider_net.h
@@ -27,7 +27,7 @@
27 27
28#define VERSION "2.0 B" 28#define VERSION "2.0 B"
29 29
30#include "sungem_phy.h" 30#include "./ethernet/sun/sungem_phy.h"
31 31
32extern int spider_net_stop(struct net_device *netdev); 32extern int spider_net_stop(struct net_device *netdev);
33extern int spider_net_open(struct net_device *netdev); 33extern int spider_net_open(struct net_device *netdev);