diff options
-rw-r--r-- | drivers/net/Kconfig | 75 | ||||
-rw-r--r-- | drivers/net/Makefile | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/Kconfig | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/Kconfig | 96 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/Makefile | 9 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/bmac.c (renamed from drivers/net/bmac.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/bmac.h (renamed from drivers/net/bmac.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/cs89x0.c (renamed from drivers/net/cs89x0.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/cs89x0.h (renamed from drivers/net/cs89x0.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/mac89x0.c (renamed from drivers/net/mac89x0.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/mace.c (renamed from drivers/net/mace.c) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/mace.h (renamed from drivers/net/mace.h) | 0 | ||||
-rw-r--r-- | drivers/net/ethernet/apple/macmace.c (renamed from drivers/net/macmace.c) | 0 |
14 files changed, 107 insertions, 81 deletions
diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index a7ec50f197fc..d81f8f950124 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig | |||
@@ -237,52 +237,6 @@ config MACB | |||
237 | 237 | ||
238 | source "drivers/net/arm/Kconfig" | 238 | source "drivers/net/arm/Kconfig" |
239 | 239 | ||
240 | config MACE | ||
241 | tristate "MACE (Power Mac ethernet) support" | ||
242 | depends on PPC_PMAC && PPC32 | ||
243 | select CRC32 | ||
244 | help | ||
245 | Power Macintoshes and clones with Ethernet built-in on the | ||
246 | motherboard will usually use a MACE (Medium Access Control for | ||
247 | Ethernet) interface. Say Y to include support for the MACE chip. | ||
248 | |||
249 | To compile this driver as a module, choose M here: the module | ||
250 | will be called mace. | ||
251 | |||
252 | config MACE_AAUI_PORT | ||
253 | bool "Use AAUI port instead of TP by default" | ||
254 | depends on MACE | ||
255 | help | ||
256 | Some Apple machines (notably the Apple Network Server) which use the | ||
257 | MACE ethernet chip have an Apple AUI port (small 15-pin connector), | ||
258 | instead of an 8-pin RJ45 connector for twisted-pair ethernet. Say | ||
259 | Y here if you have such a machine. If unsure, say N. | ||
260 | The driver will default to AAUI on ANS anyway, and if you use it as | ||
261 | a module, you can provide the port_aaui=0|1 to force the driver. | ||
262 | |||
263 | config BMAC | ||
264 | tristate "BMAC (G3 ethernet) support" | ||
265 | depends on PPC_PMAC && PPC32 | ||
266 | select CRC32 | ||
267 | help | ||
268 | Say Y for support of BMAC Ethernet interfaces. These are used on G3 | ||
269 | computers. | ||
270 | |||
271 | To compile this driver as a module, choose M here: the module | ||
272 | will be called bmac. | ||
273 | |||
274 | config MAC89x0 | ||
275 | tristate "Macintosh CS89x0 based ethernet cards" | ||
276 | depends on MAC | ||
277 | ---help--- | ||
278 | Support for CS89x0 chipset based Ethernet cards. If you have a | ||
279 | Nubus or LC-PDS network (Ethernet) card of this type, say Y and | ||
280 | read the Ethernet-HOWTO, available from | ||
281 | <http://www.tldp.org/docs.html#howto>. | ||
282 | |||
283 | To compile this driver as a module, choose M here. This module will | ||
284 | be called mac89x0. | ||
285 | |||
286 | config MACSONIC | 240 | config MACSONIC |
287 | tristate "Macintosh SONIC based ethernet (onboard, NuBus, LC, CS)" | 241 | tristate "Macintosh SONIC based ethernet (onboard, NuBus, LC, CS)" |
288 | depends on MAC | 242 | depends on MAC |
@@ -296,16 +250,6 @@ config MACSONIC | |||
296 | To compile this driver as a module, choose M here. This module will | 250 | To compile this driver as a module, choose M here. This module will |
297 | be called macsonic. | 251 | be called macsonic. |
298 | 252 | ||
299 | config MACMACE | ||
300 | bool "Macintosh (AV) onboard MACE ethernet" | ||
301 | depends on MAC | ||
302 | select CRC32 | ||
303 | help | ||
304 | Support for the onboard AMD 79C940 MACE Ethernet controller used in | ||
305 | the 660AV and 840AV Macintosh. If you have one of these Macintoshes | ||
306 | say Y and read the Ethernet-HOWTO, available from | ||
307 | <http://www.tldp.org/docs.html#howto>. | ||
308 | |||
309 | config KORINA | 253 | config KORINA |
310 | tristate "Korina (IDT RC32434) Ethernet support" | 254 | tristate "Korina (IDT RC32434) Ethernet support" |
311 | depends on NET_ETHERNET && MIKROTIK_RB532 | 255 | depends on NET_ETHERNET && MIKROTIK_RB532 |
@@ -677,25 +621,6 @@ config FORCEDETH | |||
677 | To compile this driver as a module, choose M here. The module | 621 | To compile this driver as a module, choose M here. The module |
678 | will be called forcedeth. | 622 | will be called forcedeth. |
679 | 623 | ||
680 | config CS89x0 | ||
681 | tristate "CS89x0 support" | ||
682 | depends on NET_ETHERNET && (ISA || EISA || MACH_IXDP2351 \ | ||
683 | || ARCH_IXDP2X01 || MACH_MX31ADS || MACH_QQ2440) | ||
684 | ---help--- | ||
685 | Support for CS89x0 chipset based Ethernet cards. If you have a | ||
686 | network (Ethernet) card of this type, say Y and read the | ||
687 | Ethernet-HOWTO, available from | ||
688 | <http://www.tldp.org/docs.html#howto> as well as | ||
689 | <file:Documentation/networking/cs89x0.txt>. | ||
690 | |||
691 | To compile this driver as a module, choose M here. The module | ||
692 | will be called cs89x0. | ||
693 | |||
694 | config CS89x0_NONISA_IRQ | ||
695 | def_bool y | ||
696 | depends on CS89x0 != n | ||
697 | depends on MACH_IXDP2351 || ARCH_IXDP2X01 || MACH_MX31ADS || MACH_QQ2440 | ||
698 | |||
699 | config TC35815 | 624 | config TC35815 |
700 | tristate "TOSHIBA TC35815 Ethernet support" | 625 | tristate "TOSHIBA TC35815 Ethernet support" |
701 | depends on NET_PCI && PCI && MIPS | 626 | depends on NET_PCI && PCI && MIPS |
diff --git a/drivers/net/Makefile b/drivers/net/Makefile index b54e308fc19b..79f93f08c490 100644 --- a/drivers/net/Makefile +++ b/drivers/net/Makefile | |||
@@ -38,9 +38,6 @@ obj-$(CONFIG_PLIP) += plip.o | |||
38 | 38 | ||
39 | obj-$(CONFIG_ROADRUNNER) += rrunner.o | 39 | obj-$(CONFIG_ROADRUNNER) += rrunner.o |
40 | 40 | ||
41 | obj-$(CONFIG_MACE) += mace.o | ||
42 | obj-$(CONFIG_BMAC) += bmac.o | ||
43 | |||
44 | obj-$(CONFIG_TLAN) += tlan.o | 41 | obj-$(CONFIG_TLAN) += tlan.o |
45 | obj-$(CONFIG_SIS190) += sis190.o | 42 | obj-$(CONFIG_SIS190) += sis190.o |
46 | obj-$(CONFIG_SIS900) += sis900.o | 43 | obj-$(CONFIG_SIS900) += sis900.o |
@@ -133,10 +130,7 @@ obj-$(CONFIG_KORINA) += korina.o | |||
133 | obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o | 130 | obj-$(CONFIG_MIPS_JAZZ_SONIC) += jazzsonic.o |
134 | obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o | 131 | obj-$(CONFIG_MIPS_SIM_NET) += mipsnet.o |
135 | obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o | 132 | obj-$(CONFIG_SGI_IOC3_ETH) += ioc3-eth.o |
136 | obj-$(CONFIG_CS89x0) += cs89x0.o | ||
137 | obj-$(CONFIG_MACSONIC) += macsonic.o | 133 | obj-$(CONFIG_MACSONIC) += macsonic.o |
138 | obj-$(CONFIG_MACMACE) += macmace.o | ||
139 | obj-$(CONFIG_MAC89x0) += mac89x0.o | ||
140 | obj-$(CONFIG_TUN) += tun.o | 134 | obj-$(CONFIG_TUN) += tun.o |
141 | obj-$(CONFIG_VETH) += veth.o | 135 | obj-$(CONFIG_VETH) += veth.o |
142 | obj-$(CONFIG_NET_NETX) += netx-eth.o | 136 | obj-$(CONFIG_NET_NETX) += netx-eth.o |
diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index c38e9026fe07..c3c415d853b7 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig | |||
@@ -14,6 +14,7 @@ if ETHERNET | |||
14 | source "drivers/net/ethernet/3com/Kconfig" | 14 | source "drivers/net/ethernet/3com/Kconfig" |
15 | source "drivers/net/ethernet/8390/Kconfig" | 15 | source "drivers/net/ethernet/8390/Kconfig" |
16 | source "drivers/net/ethernet/amd/Kconfig" | 16 | source "drivers/net/ethernet/amd/Kconfig" |
17 | source "drivers/net/ethernet/apple/Kconfig" | ||
17 | source "drivers/net/ethernet/broadcom/Kconfig" | 18 | source "drivers/net/ethernet/broadcom/Kconfig" |
18 | source "drivers/net/ethernet/brocade/Kconfig" | 19 | source "drivers/net/ethernet/brocade/Kconfig" |
19 | source "drivers/net/ethernet/chelsio/Kconfig" | 20 | source "drivers/net/ethernet/chelsio/Kconfig" |
diff --git a/drivers/net/ethernet/Makefile b/drivers/net/ethernet/Makefile index 75d7a0280c53..b67b88d5afd9 100644 --- a/drivers/net/ethernet/Makefile +++ b/drivers/net/ethernet/Makefile | |||
@@ -5,6 +5,7 @@ | |||
5 | obj-$(CONFIG_NET_VENDOR_3COM) += 3com/ | 5 | obj-$(CONFIG_NET_VENDOR_3COM) += 3com/ |
6 | obj-$(CONFIG_NET_VENDOR_8390) += 8390/ | 6 | obj-$(CONFIG_NET_VENDOR_8390) += 8390/ |
7 | obj-$(CONFIG_NET_VENDOR_AMD) += amd/ | 7 | obj-$(CONFIG_NET_VENDOR_AMD) += amd/ |
8 | obj-$(CONFIG_NET_VENDOR_APPLE) += apple/ | ||
8 | obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/ | 9 | obj-$(CONFIG_NET_VENDOR_BROADCOM) += broadcom/ |
9 | obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ | 10 | obj-$(CONFIG_NET_VENDOR_BROCADE) += brocade/ |
10 | obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ | 11 | obj-$(CONFIG_NET_VENDOR_CHELSIO) += chelsio/ |
diff --git a/drivers/net/ethernet/apple/Kconfig b/drivers/net/ethernet/apple/Kconfig new file mode 100644 index 000000000000..fc796bc353d0 --- /dev/null +++ b/drivers/net/ethernet/apple/Kconfig | |||
@@ -0,0 +1,96 @@ | |||
1 | # | ||
2 | # Apple device configuration | ||
3 | # | ||
4 | |||
5 | config NET_VENDOR_APPLE | ||
6 | bool "Apple devices" | ||
7 | depends on (PPC_PMAC && PPC32) || MAC || ISA || EISA || MACH_IXDP2351 \ | ||
8 | || ARCH_IXDP2X01 || MACH_MX31ADS || MACH_QQ2440 | ||
9 | ---help--- | ||
10 | If you have a network (Ethernet) card belonging to this class, say Y | ||
11 | and read the Ethernet-HOWTO, available from | ||
12 | <http://www.tldp.org/docs.html#howto>. | ||
13 | |||
14 | Note that the answer to this question doesn't directly affect the | ||
15 | kernel: saying N will just cause the configurator to skip all | ||
16 | the questions about IBM devices. If you say Y, you will be asked for | ||
17 | your specific card in the following questions. | ||
18 | |||
19 | if NET_VENDOR_APPLE | ||
20 | |||
21 | config MACE | ||
22 | tristate "MACE (Power Mac ethernet) support" | ||
23 | depends on PPC_PMAC && PPC32 | ||
24 | select CRC32 | ||
25 | ---help--- | ||
26 | Power Macintoshes and clones with Ethernet built-in on the | ||
27 | motherboard will usually use a MACE (Medium Access Control for | ||
28 | Ethernet) interface. Say Y to include support for the MACE chip. | ||
29 | |||
30 | To compile this driver as a module, choose M here: the module | ||
31 | will be called mace. | ||
32 | |||
33 | config MACE_AAUI_PORT | ||
34 | bool "Use AAUI port instead of TP by default" | ||
35 | depends on MACE | ||
36 | ---help--- | ||
37 | Some Apple machines (notably the Apple Network Server) which use the | ||
38 | MACE ethernet chip have an Apple AUI port (small 15-pin connector), | ||
39 | instead of an 8-pin RJ45 connector for twisted-pair ethernet. Say | ||
40 | Y here if you have such a machine. If unsure, say N. | ||
41 | The driver will default to AAUI on ANS anyway, and if you use it as | ||
42 | a module, you can provide the port_aaui=0|1 to force the driver. | ||
43 | |||
44 | config BMAC | ||
45 | tristate "BMAC (G3 ethernet) support" | ||
46 | depends on PPC_PMAC && PPC32 | ||
47 | select CRC32 | ||
48 | ---help--- | ||
49 | Say Y for support of BMAC Ethernet interfaces. These are used on G3 | ||
50 | computers. | ||
51 | |||
52 | To compile this driver as a module, choose M here: the module | ||
53 | will be called bmac. | ||
54 | |||
55 | config MAC89x0 | ||
56 | tristate "Macintosh CS89x0 based ethernet cards" | ||
57 | depends on MAC | ||
58 | ---help--- | ||
59 | Support for CS89x0 chipset based Ethernet cards. If you have a | ||
60 | Nubus or LC-PDS network (Ethernet) card of this type, say Y and | ||
61 | read the Ethernet-HOWTO, available from | ||
62 | <http://www.tldp.org/docs.html#howto>. | ||
63 | |||
64 | To compile this driver as a module, choose M here. This module will | ||
65 | be called mac89x0. | ||
66 | |||
67 | config MACMACE | ||
68 | bool "Macintosh (AV) onboard MACE ethernet" | ||
69 | depends on MAC | ||
70 | select CRC32 | ||
71 | ---help--- | ||
72 | Support for the onboard AMD 79C940 MACE Ethernet controller used in | ||
73 | the 660AV and 840AV Macintosh. If you have one of these Macintoshes | ||
74 | say Y and read the Ethernet-HOWTO, available from | ||
75 | <http://www.tldp.org/docs.html#howto>. | ||
76 | |||
77 | config CS89x0 | ||
78 | tristate "CS89x0 support" | ||
79 | depends on (ISA || EISA || MACH_IXDP2351 \ | ||
80 | || ARCH_IXDP2X01 || MACH_MX31ADS || MACH_QQ2440) | ||
81 | ---help--- | ||
82 | Support for CS89x0 chipset based Ethernet cards. If you have a | ||
83 | network (Ethernet) card of this type, say Y and read the | ||
84 | Ethernet-HOWTO, available from | ||
85 | <http://www.tldp.org/docs.html#howto> as well as | ||
86 | <file:Documentation/networking/cs89x0.txt>. | ||
87 | |||
88 | To compile this driver as a module, choose M here. The module | ||
89 | will be called cs89x0. | ||
90 | |||
91 | config CS89x0_NONISA_IRQ | ||
92 | def_bool y | ||
93 | depends on CS89x0 != n | ||
94 | depends on MACH_IXDP2351 || ARCH_IXDP2X01 || MACH_MX31ADS || MACH_QQ2440 | ||
95 | |||
96 | endif # NET_VENDOR_APPLE | ||
diff --git a/drivers/net/ethernet/apple/Makefile b/drivers/net/ethernet/apple/Makefile new file mode 100644 index 000000000000..9d300864461f --- /dev/null +++ b/drivers/net/ethernet/apple/Makefile | |||
@@ -0,0 +1,9 @@ | |||
1 | # | ||
2 | # Makefile for the Apple network device drivers. | ||
3 | # | ||
4 | |||
5 | obj-$(CONFIG_MACE) += mace.o | ||
6 | obj-$(CONFIG_BMAC) += bmac.o | ||
7 | obj-$(CONFIG_MAC89x0) += mac89x0.o | ||
8 | obj-$(CONFIG_CS89x0) += cs89x0.o | ||
9 | obj-$(CONFIG_MACMACE) += macmace.o | ||
diff --git a/drivers/net/bmac.c b/drivers/net/ethernet/apple/bmac.c index 45e45e8d3d66..45e45e8d3d66 100644 --- a/drivers/net/bmac.c +++ b/drivers/net/ethernet/apple/bmac.c | |||
diff --git a/drivers/net/bmac.h b/drivers/net/ethernet/apple/bmac.h index a1d19d867ba5..a1d19d867ba5 100644 --- a/drivers/net/bmac.h +++ b/drivers/net/ethernet/apple/bmac.h | |||
diff --git a/drivers/net/cs89x0.c b/drivers/net/ethernet/apple/cs89x0.c index 537a4b2e2020..537a4b2e2020 100644 --- a/drivers/net/cs89x0.c +++ b/drivers/net/ethernet/apple/cs89x0.c | |||
diff --git a/drivers/net/cs89x0.h b/drivers/net/ethernet/apple/cs89x0.h index 91423b70bb45..91423b70bb45 100644 --- a/drivers/net/cs89x0.h +++ b/drivers/net/ethernet/apple/cs89x0.h | |||
diff --git a/drivers/net/mac89x0.c b/drivers/net/ethernet/apple/mac89x0.c index 669b317974a8..669b317974a8 100644 --- a/drivers/net/mac89x0.c +++ b/drivers/net/ethernet/apple/mac89x0.c | |||
diff --git a/drivers/net/mace.c b/drivers/net/ethernet/apple/mace.c index 2074e9724ba3..2074e9724ba3 100644 --- a/drivers/net/mace.c +++ b/drivers/net/ethernet/apple/mace.c | |||
diff --git a/drivers/net/mace.h b/drivers/net/ethernet/apple/mace.h index 30b7ec0cedb5..30b7ec0cedb5 100644 --- a/drivers/net/mace.h +++ b/drivers/net/ethernet/apple/mace.h | |||
diff --git a/drivers/net/macmace.c b/drivers/net/ethernet/apple/macmace.c index 4286e67f9634..4286e67f9634 100644 --- a/drivers/net/macmace.c +++ b/drivers/net/ethernet/apple/macmace.c | |||