kernel: add et131x from packages/
[openwrt/svn-archive/archive.git] / package / kernel / modules / netdevices.mk
1 #
2 # Copyright (C) 2006-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 NETWORK_DEVICES_MENU:=Network Devices
9
10 define KernelPackage/sis190
11 SUBMENU:=$(NETWORK_DEVICES_MENU)
12 TITLE:=SiS 190 Fast/Gigabit Ethernet support
13 DEPENDS:=@TARGET_x86
14 KCONFIG:=CONFIG_SIS190
15 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
16 FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis190.ko
17 else
18 FILES:=$(LINUX_DIR)/drivers/net/sis190.ko
19 endif
20 AUTOLOAD:=$(call AutoLoad,50,sis190)
21 endef
22
23 $(eval $(call KernelPackage,sis190))
24
25 define KernelPackage/skge
26 SUBMENU:=$(NETWORK_DEVICES_MENU)
27 TITLE:=SysKonnect Yukon support
28 DEPENDS:=@TARGET_x86
29 KCONFIG:=CONFIG_SKGE \
30 CONFIG_SKGE_DEBUG=n \
31 CONFIG_SKGE_GENESIS=n
32 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
33 FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/skge.ko
34 else
35 FILES:=$(LINUX_DIR)/drivers/net/skge.ko
36 endif
37 AUTOLOAD:=$(call AutoLoad,50,skge)
38 endef
39
40 $(eval $(call KernelPackage,skge))
41
42 define KernelPackage/atl2
43 SUBMENU:=$(NETWORK_DEVICES_MENU)
44 TITLE:=Atheros L2 Fast Ethernet support
45 DEPENDS:=@PCI_SUPPORT
46 KCONFIG:=CONFIG_ATL2
47 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
48 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl2.ko
49 else
50 FILES:=$(LINUX_DIR)/drivers/net/atlx/atl2.ko
51 endif
52 AUTOLOAD:=$(call AutoLoad,50,atl2)
53 endef
54
55 $(eval $(call KernelPackage,atl2))
56
57 define KernelPackage/atl1
58 SUBMENU:=$(NETWORK_DEVICES_MENU)
59 TITLE:=Atheros L1 Gigabit Ethernet support
60 DEPENDS:=@PCI_SUPPORT
61 KCONFIG:=CONFIG_ATL1
62 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
63 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl1.ko
64 else
65 FILES:=$(LINUX_DIR)/drivers/net/atlx/atl1.ko
66 endif
67 AUTOLOAD:=$(call AutoLoad,50,atl1)
68 endef
69
70 $(eval $(call KernelPackage,atl1))
71
72 define KernelPackage/atl1c
73 SUBMENU:=$(NETWORK_DEVICES_MENU)
74 TITLE:=Atheros L1C
75 DEPENDS:=@PCI_SUPPORT
76 KCONFIG:=CONFIG_ATL1C
77 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
78 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1c/atl1c.ko
79 else
80 FILES:=$(LINUX_DIR)/drivers/net/atl1c/atl1c.ko
81 endif
82 AUTOLOAD:=$(call AutoLoad,50,atl1c)
83 endef
84
85 $(eval $(call KernelPackage,atl1c))
86
87 define KernelPackage/atl1e
88 SUBMENU:=$(NETWORK_DEVICES_MENU)
89 TITLE:=Atheros L1E
90 DEPENDS:=@PCI_SUPPORT
91 KCONFIG:=CONFIG_ATL1E
92 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
93 FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1e/atl1e.ko
94 else
95 FILES:=$(LINUX_DIR)/drivers/net/atl1e/atl1e.ko
96 endif
97 AUTOLOAD:=$(call AutoLoad,50,atl1e)
98 endef
99
100 $(eval $(call KernelPackage,atl1e))
101
102 define KernelPackage/libphy
103 SUBMENU:=$(NETWORK_DEVICES_MENU)
104 TITLE:=PHY library
105 KCONFIG:=CONFIG_PHYLIB
106 FILES:=$(LINUX_DIR)/drivers/net/phy/libphy.ko
107 AUTOLOAD:=$(call AutoLoad,40,libphy)
108 endef
109
110 define KernelPackage/libphy/description
111 PHY library
112 endef
113
114 $(eval $(call KernelPackage,libphy))
115
116 define KernelPackage/et131x
117 SUBMENU:=$(NETWORK_DEVICES_MENU)
118 TITLE:=Agere ET131x Gigabit Ethernet driver
119 URL:=http://sourceforge.net/projects/et131x
120 FILES:=$(LINUX_DIR)/drivers/staging/et131x/et131x.$(LINUX_KMOD_SUFFIX)
121 KCONFIG:= \
122 CONFIG_ET131X \
123 CONFIG_ET131X_DEBUG=n
124 DEPENDS:=@PCI_SUPPORT
125 AUTOLOAD:=$(call AutoLoad,70,et131x)
126 endef
127
128 define KernelPackage/et131x/description
129 This package contains the et131x kernel module.
130 endef
131
132 $(eval $(call KernelPackage,et131x))
133
134 define KernelPackage/swconfig
135 SUBMENU:=$(NETWORK_DEVICES_MENU)
136 TITLE:=switch configuration API
137 DEPENDS:=+kmod-libphy
138 KCONFIG:=CONFIG_SWCONFIG
139 FILES:=$(LINUX_DIR)/drivers/net/phy/swconfig.ko
140 AUTOLOAD:=$(call AutoLoad,41,swconfig)
141 endef
142
143 define KernelPackage/swconfig/description
144 Switch configuration API module
145 endef
146
147 $(eval $(call KernelPackage,swconfig))
148
149 define KernelPackage/switch-ip17xx
150 SUBMENU:=$(NETWORK_DEVICES_MENU)
151 TITLE:=IC+ IP17XX switch support
152 DEPENDS:=+kmod-swconfig
153 KCONFIG:=CONFIG_IP17XX_PHY
154 FILES:=$(LINUX_DIR)/drivers/net/phy/ip17xx.ko
155 AUTOLOAD:=$(call AutoLoad,42,ip17xx)
156 endef
157
158 define KernelPackage/switch-ip17xx/description
159 IC+ IP175C/IP178C switch support
160 endef
161
162 $(eval $(call KernelPackage,switch-ip17xx))
163
164 define KernelPackage/switch-rtl8366-smi
165 SUBMENU:=$(NETWORK_DEVICES_MENU)
166 TITLE:=Realtek RTL8366 SMI switch interface support
167 DEPENDS:=@GPIO_SUPPORT +kmod-swconfig
168 KCONFIG:=CONFIG_RTL8366_SMI
169 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
170 AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi)
171 endef
172
173 define KernelPackage/switch-rtl8366_smi/description
174 Realtek RTL8366 series SMI switch interface support
175 endef
176
177 $(eval $(call KernelPackage,switch-rtl8366-smi))
178
179 define KernelPackage/switch-rtl8366rb
180 SUBMENU:=$(NETWORK_DEVICES_MENU)
181 TITLE:=Realtek RTL8366RB switch support
182 DEPENDS:=+kmod-switch-rtl8366-smi
183 KCONFIG:=CONFIG_RTL8366RB_PHY
184 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366rb.ko
185 AUTOLOAD:=$(call AutoLoad,43,rtl8366rb)
186 endef
187
188 define KernelPackage/switch-rtl8366rb/description
189 Realtek RTL8366RB switch support
190 endef
191
192 $(eval $(call KernelPackage,switch-rtl8366rb))
193
194 define KernelPackage/switch-rtl8366s
195 SUBMENU:=$(NETWORK_DEVICES_MENU)
196 TITLE:=Realtek RTL8366S switch support
197 DEPENDS:=+kmod-switch-rtl8366-smi
198 KCONFIG:=CONFIG_RTL8366S_PHY
199 FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366s.ko
200 AUTOLOAD:=$(call AutoLoad,43,rtl8366s)
201 endef
202
203 define KernelPackage/switch-rtl8366s/description
204 Realtek RTL8366S switch support
205 endef
206
207 $(eval $(call KernelPackage,switch-rtl8366s))
208
209 define KernelPackage/natsemi
210 SUBMENU:=$(NETWORK_DEVICES_MENU)
211 TITLE:=National Semiconductor DP8381x series
212 DEPENDS:=@TARGET_x86
213 KCONFIG:=CONFIG_NATSEMI
214 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
215 FILES:=$(LINUX_DIR)/drivers/net/ethernet/natsemi/natsemi.ko
216 else
217 FILES:=$(LINUX_DIR)/drivers/net/natsemi.ko
218 endif
219 AUTOLOAD:=$(call AutoLoad,20,natsemi)
220 endef
221
222 define KernelPackage/natsemi/description
223 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
224 adapters.
225 endef
226
227 $(eval $(call KernelPackage,natsemi))
228
229
230 define KernelPackage/r6040
231 SUBMENU:=$(NETWORK_DEVICES_MENU)
232 TITLE:=RDC Fast-Ethernet support
233 DEPENDS:=@TARGET_rdc +kmod-libphy
234 KCONFIG:=CONFIG_R6040 \
235 CONFIG_R6040_NAPI=y
236 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
237 FILES:=$(LINUX_DIR)/drivers/net/ethernet/rdc/r6040.ko
238 else
239 FILES:=$(LINUX_DIR)/drivers/net/r6040.ko
240 endif
241 AUTOLOAD:=$(call AutoLoad,99,r6040)
242 endef
243
244 define KernelPackage/r6040/description
245 Kernel modules for RDC Fast-Ethernet adapters.
246 endef
247
248 $(eval $(call KernelPackage,r6040))
249
250
251 define KernelPackage/sis900
252 SUBMENU:=$(NETWORK_DEVICES_MENU)
253 TITLE:=SiS 900 Ethernet support
254 DEPENDS:=@TARGET_x86
255 KCONFIG:=CONFIG_SIS900
256 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
257 FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis900.ko
258 else
259 FILES:=$(LINUX_DIR)/drivers/net/sis900.ko
260 endif
261 AUTOLOAD:=$(call AutoLoad,50,sis900)
262 endef
263
264 define KernelPackage/sis900/description
265 Kernel modules for Sis 900 Ethernet adapters.
266 endef
267
268 $(eval $(call KernelPackage,sis900))
269
270
271 define KernelPackage/sky2
272 SUBMENU:=$(NETWORK_DEVICES_MENU)
273 TITLE:=SysKonnect Yukon2 support
274 KCONFIG:=CONFIG_SKY2
275 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
276 FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/sky2.ko
277 else
278 FILES:=$(LINUX_DIR)/drivers/net/sky2.ko
279 endif
280 AUTOLOAD:=$(call AutoLoad,50,sky2)
281 endef
282
283 define KernelPackage/sky2/description
284 This driver supports Gigabit Ethernet adapters based on the
285 Marvell Yukon 2 chipset:
286 Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
287 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
288
289 There is companion driver for the older Marvell Yukon and
290 Genesis based adapters: skge.
291 endef
292
293 $(eval $(call KernelPackage,sky2))
294
295
296 define KernelPackage/via-rhine
297 SUBMENU:=$(NETWORK_DEVICES_MENU)
298 TITLE:=Via Rhine ethernet support
299 DEPENDS:=@TARGET_x86
300 KCONFIG:=CONFIG_VIA_RHINE \
301 CONFIG_VIA_RHINE_MMIO=y
302 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
303 FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-rhine.ko
304 else
305 FILES:=$(LINUX_DIR)/drivers/net/via-rhine.ko
306 endif
307 AUTOLOAD:=$(call AutoLoad,50,via-rhine)
308 endef
309
310 define KernelPackage/via-rhine/description
311 Kernel modules for Via Rhine Ethernet chipsets.
312 endef
313
314 $(eval $(call KernelPackage,via-rhine))
315
316
317 define KernelPackage/via-velocity
318 SUBMENU:=$(NETWORK_DEVICES_MENU)
319 TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
320 DEPENDS:=@TARGET_ixp4xx||TARGET_mpc83xx||TARGET_x86 +kmod-lib-crc-ccitt
321 KCONFIG:=CONFIG_VIA_VELOCITY
322 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
323 FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-velocity.ko
324 else
325 FILES:=$(LINUX_DIR)/drivers/net/via-velocity.ko
326 endif
327 AUTOLOAD:=$(call AutoLoad,50,via-velocity)
328 endef
329
330 define KernelPackage/via-velocity/description
331 Kernel modules for VIA Velocity Gigabit Ethernet chipsets.
332 endef
333
334 $(eval $(call KernelPackage,via-velocity))
335
336 define KernelPackage/ixp4xx-eth
337 SUBMENU:=$(NETWORK_DEVICES_MENU)
338 TITLE:=IXP4xxt Ethernet Adapter kernel support
339 DEPENDS:=@TARGET_ixp4xx
340 KCONFIG:=CONFIG_IXP4XX_ETH
341 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
342 FILES:=$(LINUX_DIR)/drivers/net/ethernet/xscale/ixp4xx_eth.ko
343 else
344 FILES:=$(LINUX_DIR)/drivers/net/arm/ixp4xx_eth.ko
345 endif
346 AUTOLOAD:=$(call AutoLoad,50,ixp4xx_eth)
347 endef
348
349 define KernelPackage/ixp4xx-eth/description
350 Kernel modules for Intel IXP4xx Ethernet chipsets.
351 endef
352
353 $(eval $(call KernelPackage,ixp4xx-eth))
354
355 define KernelPackage/8139too
356 SUBMENU:=$(NETWORK_DEVICES_MENU)
357 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
358 DEPENDS:=@TARGET_x86
359 KCONFIG:=CONFIG_8139TOO \
360 CONFIG_8139TOO_PIO=y \
361 CONFIG_8139TOO_TUNE_TWISTER=n \
362 CONFIG_8139TOO_8129=n \
363 CONFIG_8139_OLD_RX_RESET=n
364 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
365 FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139too.ko
366 else
367 FILES:=$(LINUX_DIR)/drivers/net/8139too.ko
368 endif
369 AUTOLOAD:=$(call AutoLoad,50,8139too)
370 endef
371
372 define KernelPackage/8139too/description
373 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
374 endef
375
376 $(eval $(call KernelPackage,8139too))
377
378
379 define KernelPackage/8139cp
380 SUBMENU:=$(NETWORK_DEVICES_MENU)
381 TITLE:=RealTek RTL-8139C+ PCI Fast Ethernet Adapter kernel support
382 DEPENDS:=@TARGET_x86
383 KCONFIG:=CONFIG_8139CP
384 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
385 FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139cp.ko
386 else
387 FILES:=$(LINUX_DIR)/drivers/net/8139cp.ko
388 endif
389 AUTOLOAD:=$(call AutoLoad,50,8139cp)
390 endef
391
392 define KernelPackage/8139cp/description
393 Kernel module for RealTek RTL-8139C+ PCI Fast Ethernet adapters.
394 endef
395
396 $(eval $(call KernelPackage,8139cp))
397
398
399 define KernelPackage/r8169
400 SUBMENU:=$(NETWORK_DEVICES_MENU)
401 TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
402 DEPENDS:=@PCI_SUPPORT
403 KCONFIG:=CONFIG_R8169 \
404 CONFIG_R8169_NAPI=y \
405 CONFIG_R8169_VLAN=n
406 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
407 FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko
408 else
409 FILES:=$(LINUX_DIR)/drivers/net/r8169.ko
410 endif
411 AUTOLOAD:=$(call AutoLoad,50,r8169)
412 endef
413
414 define KernelPackage/r8169/description
415 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
416 endef
417
418 $(eval $(call KernelPackage,r8169))
419
420
421 define KernelPackage/ne2k-pci
422 SUBMENU:=$(NETWORK_DEVICES_MENU)
423 TITLE:=ne2k-pci Ethernet Adapter kernel support
424 DEPENDS:=@TARGET_x86
425 KCONFIG:=CONFIG_NE2K_PCI
426 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
427 FILES:= \
428 $(LINUX_DIR)/drivers/net/ethernet/8390/ne2k-pci.ko \
429 $(LINUX_DIR)/drivers/net/ethernet/8390/8390.ko
430 else
431 FILES:= \
432 $(LINUX_DIR)/drivers/net/ne2k-pci.ko \
433 $(LINUX_DIR)/drivers/net/8390.ko
434 endif
435 AUTOLOAD:=$(call AutoLoad,50,8390 ne2k-pci)
436 endef
437
438 define KernelPackage/ne2k-pci/description
439 Kernel modules for NE2000 PCI Ethernet Adapter kernel.
440 endef
441
442 $(eval $(call KernelPackage,ne2k-pci))
443
444
445 define KernelPackage/e100
446 SUBMENU:=$(NETWORK_DEVICES_MENU)
447 TITLE:=Intel(R) PRO/100+ cards kernel support
448 DEPENDS:=@TARGET_x86
449 KCONFIG:=CONFIG_E100
450 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
451 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e100.ko
452 else
453 FILES:=$(LINUX_DIR)/drivers/net/e100.ko
454 endif
455 AUTOLOAD:=$(call AutoLoad,50,e100)
456 endef
457
458 define KernelPackage/e100/description
459 Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
460 endef
461
462 define KernelPackage/e100/install
463 $(INSTALL_DIR) $(1)/lib/firmware/e100
464 $(foreach file,d101m_ucode.bin d101s_ucode.bin d102e_ucode.bin, \
465 $(TARGET_CROSS)objcopy -Iihex -Obinary $(LINUX_DIR)/firmware/e100/$(file).ihex $(1)/lib/firmware/e100/$(file); \
466 )
467 endef
468
469 $(eval $(call KernelPackage,e100))
470
471
472 define KernelPackage/e1000
473 SUBMENU:=$(NETWORK_DEVICES_MENU)
474 TITLE:=Intel(R) PRO/1000 PCI cards kernel support
475 DEPENDS:=@PCI_SUPPORT
476 KCONFIG:=CONFIG_E1000 \
477 CONFIG_E1000_DISABLE_PACKET_SPLIT=n \
478 CONFIG_E1000_NAPI=y
479 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
480 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000/e1000.ko
481 else
482 FILES:=$(LINUX_DIR)/drivers/net/e1000/e1000.ko
483 endif
484 AUTOLOAD:=$(call AutoLoad,35,e1000)
485 endef
486
487 define KernelPackage/e1000/description
488 Kernel modules for Intel(R) PRO/1000 PCI Ethernet adapters.
489 endef
490
491 $(eval $(call KernelPackage,e1000))
492
493
494 define KernelPackage/e1000e
495 SUBMENU:=$(NETWORK_DEVICES_MENU)
496 TITLE:=Intel(R) PRO/1000 PCIe cards kernel support
497 DEPENDS:=@PCIE_SUPPORT
498 KCONFIG:=CONFIG_E1000E
499 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
500 FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko
501 else
502 FILES:=$(LINUX_DIR)/drivers/net/e1000e/e1000e.ko
503 endif
504 AUTOLOAD:=$(call AutoLoad,50,e1000e)
505 endef
506
507 define KernelPackage/e1000e/description
508 Kernel modules for Intel(R) PRO/1000 PCIe Ethernet adapters.
509 endef
510
511 $(eval $(call KernelPackage,e1000e))
512
513
514 define KernelPackage/b44
515 TITLE:=Broadcom 44xx driver
516 KCONFIG:=CONFIG_B44
517 DEPENDS:=@TARGET_x86 +kmod-ssb
518 SUBMENU:=$(NETWORK_DEVICES_MENU)
519 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
520 FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/b44.ko
521 else
522 FILES:=$(LINUX_DIR)/drivers/net/b44.ko
523 endif
524 AUTOLOAD:=$(call AutoLoad,50,b44)
525 endef
526
527 define KernelPackage/b44/description
528 Kernel modules for Broadcom 44xx Ethernet adapters.
529 endef
530
531 $(eval $(call KernelPackage,b44))
532
533
534 define KernelPackage/3c59x
535 SUBMENU:=$(NETWORK_DEVICES_MENU)
536 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
537 DEPENDS:=@TARGET_x86
538 KCONFIG:=CONFIG_VORTEX
539 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
540 FILES:=$(LINUX_DIR)/drivers/net/ethernet/3com/3c59x.ko
541 else
542 FILES:=$(LINUX_DIR)/drivers/net/3c59x.ko
543 endif
544 AUTOLOAD:=$(call AutoLoad,50,3c59x)
545 endef
546
547 define KernelPackage/3c59x/description
548 This option enables driver support for a large number of 10mbps and
549 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
550 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
551 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
552 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
553 - "Tornado" (3c905) PCI
554 - "Hurricane" (3c555/3cSOHO) PCI
555 endef
556
557 $(eval $(call KernelPackage,3c59x))
558
559
560 define KernelPackage/pcnet32
561 SUBMENU:=$(NETWORK_DEVICES_MENU)
562 TITLE:=AMD PCnet32 PCI support
563 DEPENDS:=@(TARGET_x86||TARGET_malta)
564 KCONFIG:=CONFIG_PCNET32
565 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
566 FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/pcnet32.ko
567 else
568 FILES:=$(LINUX_DIR)/drivers/net/pcnet32.ko
569 endif
570 AUTOLOAD:=$(call AutoLoad,50,pcnet32)
571 endef
572
573 define KernelPackage/pcnet32/description
574 Kernel modules for AMD PCnet32 Ethernet adapters.
575 endef
576
577 $(eval $(call KernelPackage,pcnet32))
578
579
580 define KernelPackage/tg3
581 TITLE:=Broadcom Tigon3 Gigabit Ethernet
582 KCONFIG:=CONFIG_TIGON3
583 DEPENDS:=+!TARGET_brcm47xx:kmod-libphy @!TARGET_ubicom32
584 SUBMENU:=$(NETWORK_DEVICES_MENU)
585 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
586 FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
587 else
588 FILES:=$(LINUX_DIR)/drivers/net/tg3.ko
589 endif
590 AUTOLOAD:=$(call AutoLoad,50,tg3)
591 endef
592
593 define KernelPackage/tg3/description
594 Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters.
595 endef
596
597 $(eval $(call KernelPackage,tg3))
598
599
600 define KernelPackage/ssb-gige
601 TITLE:=Broadcom SSB Gigabit Ethernet
602 KCONFIG:=CONFIG_SSB_DRIVER_GIGE=y
603 DEPENDS:=@TARGET_brcm47xx +kmod-tg3
604 SUBMENU:=$(NETWORK_DEVICES_MENU)
605 endef
606
607 define KernelPackage/ssb-gige/description
608 Kernel modules for Broadcom SSB Gigabit Ethernet adapters.
609 endef
610
611 $(eval $(call KernelPackage,ssb-gige))
612
613
614 define KernelPackage/hfcpci
615 TITLE:=HFC PCI cards (single port) support for mISDN
616 KCONFIG:=CONFIG_MISDN_HFCPCI
617 DEPENDS:=+kmod-misdn
618 SUBMENU:=$(NETWORK_DEVICES_MENU)
619 FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcpci.ko
620 AUTOLOAD:=$(call AutoLoad,31,hfcpci)
621 endef
622
623 define KernelPackage/hfcpci/description
624 Kernel modules for Cologne AG's HFC pci cards (single port)
625 using the mISDN V2 stack.
626 endef
627
628 $(eval $(call KernelPackage,hfcpci))
629
630
631 define KernelPackage/hfcmulti
632 TITLE:=HFC multiport cards (HFC-4S/8S/E1) support for mISDN
633 KCONFIG:=CONFIG_MISDN_HFCMULTI
634 DEPENDS:=+kmod-misdn
635 SUBMENU:=$(NETWORK_DEVICES_MENU)
636 FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.ko
637 AUTOLOAD:=$(call AutoLoad,31,hfcmulti)
638 endef
639
640 define KernelPackage/hfcmulti/description
641 Kernel modules for Cologne AG's HFC multiport cards (HFC-4S/8S/E1)
642 using the mISDN V2 stack.
643 endef
644
645 $(eval $(call KernelPackage,hfcmulti))
646
647
648 define KernelPackage/gigaset
649 SUBMENU:=$(NETWORK_DEVICES_MENU)
650 TITLE:=Siemens Gigaset support for isdn4linux
651 DEPENDS:=@USB_SUPPORT +kmod-isdn4linux +kmod-lib-crc-ccitt +kmod-usb-core
652 URL:=http://gigaset307x.sourceforge.net/
653 KCONFIG:= \
654 CONFIG_ISDN_DRV_GIGASET \
655 CONFIG_GIGASET_BASE \
656 CONFIG_GIGASET_M101 \
657 CONFIG_GIGASET_M105 \
658 CONFIG_GIGASET_UNDOCREQ=y \
659 CONFIG_GIGASET_I4L=y
660 FILES:= \
661 $(LINUX_DIR)/drivers/isdn/gigaset/gigaset.ko \
662 $(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.ko \
663 $(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.ko \
664 $(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.ko
665 AUTOLOAD:=$(call AutoLoad,50,gigaset bas_gigaset ser_gigaset usb_gigaset)
666 endef
667
668 define KernelPackage/gigaset/description
669 This driver supports the Siemens Gigaset SX205/255 family of
670 ISDN DECT bases, including the predecessors Gigaset 3070/3075
671 and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus
672 721X.
673 endef
674
675 $(eval $(call KernelPackage,gigaset))
676
677
678 define KernelPackage/macvlan
679 SUBMENU:=$(NETWORK_DEVICES_MENU)
680 TITLE:=MAC-VLAN support
681 KCONFIG:=CONFIG_MACVLAN
682 FILES:=$(LINUX_DIR)/drivers/net/macvlan.ko
683 AUTOLOAD:=$(call AutoLoad,50,macvlan)
684 endef
685
686 define KernelPackage/macvlan/description
687 A kernel module which allows one to create virtual interfaces that
688 map packets to or from specific MAC addresses to a particular interface.
689 endef
690
691 $(eval $(call KernelPackage,macvlan))
692
693 define KernelPackage/tulip
694 TITLE:=Tulip family network device support
695 SUBMENU:=$(NETWORK_DEVICES_MENU)
696 KCONFIG:= \
697 CONFIG_NET_TULIP=y \
698 CONFIG_DE2104X \
699 CONFIG_DE2104X_DSL=0 \
700 CONFIG_TULIP \
701 CONFIG_TULIP_MWI=y \
702 CONFIG_TULIP_MMIO=y \
703 CONFIG_TULIP_NAPI=y \
704 CONFIG_TULIP_NAPI_HW_MITIGATION=y \
705 CONFIG_DE4X5 \
706 CONFIG_WINBOND_840 \
707 CONFIG_DM9102 \
708 CONFIG_ULI526X
709 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
710 FILES:= \
711 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/tulip.ko \
712 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/de2104x.ko \
713 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/de4x5.ko \
714 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/dmfe.ko \
715 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/uli526x.ko \
716 $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/winbond-840.ko
717 else
718 FILES:= \
719 $(LINUX_DIR)/drivers/net/tulip/tulip.ko \
720 $(LINUX_DIR)/drivers/net/tulip/de2104x.ko \
721 $(LINUX_DIR)/drivers/net/tulip/de4x5.ko \
722 $(LINUX_DIR)/drivers/net/tulip/dmfe.ko \
723 $(LINUX_DIR)/drivers/net/tulip/uli526x.ko \
724 $(LINUX_DIR)/drivers/net/tulip/winbond-840.ko
725 endif
726 AUTOLOAD:=$(call AutoLoad,50,tulip)
727 endef
728
729 define KernelPackage/tulip/description
730 Kernel modules for the Tulip family of network cards,
731 including DECchip Tulip, DIGITAL EtherWORKS, Winbond W89c840,
732 Davicom DM910x/DM980x and ULi M526x controller support.
733 endef
734
735 $(eval $(call KernelPackage,tulip))
736
737
738 define KernelPackage/solos-pci
739 SUBMENU:=$(NETWORK_DEVICES_MENU)
740 TITLE:=Solos ADSL2+ multiport modem
741 DEPENDS:=@TARGET_x86 +kmod-atm
742 KCONFIG:=CONFIG_ATM_SOLOS
743 FILES:=$(LINUX_DIR)/drivers/atm/solos-pci.ko
744 AUTOLOAD:=$(call AutoLoad,50,solos-pci)
745 endef
746
747 define KernelPackage/solos-pci/description
748 Kernel module for Traverse Technologies' Solos PCI cards
749 and Geos ADSL2+ x86 motherboard.
750 endef
751
752 $(eval $(call KernelPackage,solos-pci))
753
754 define KernelPackage/dummy
755 SUBMENU:=$(NETWORK_DEVICES_MENU)
756 TITLE:=Dummy network device
757 KCONFIG:=CONFIG_DUMMY
758 FILES:=$(LINUX_DIR)/drivers/net/dummy.ko
759 AUTOLOAD:=$(call AutoLoad,34,dummy)
760 endef
761
762 define KernelPackage/dummy/description
763 The dummy network device
764 endef
765
766 $(eval $(call KernelPackage,dummy))
767
768 define KernelPackage/ifb
769 SUBMENU:=$(NETWORK_DEVICES_MENU)
770 TITLE:=Intermediate Functional Block support
771 KCONFIG:= \
772 CONFIG_IFB \
773 CONFIG_NET_CLS=y
774 FILES:=$(LINUX_DIR)/drivers/net/ifb.ko
775 AUTOLOAD:=$(call AutoLoad,34,ifb)
776 endef
777
778 define KernelPackage/ifb/description
779 The Intermediate Functional Block
780 endef
781
782 $(eval $(call KernelPackage,ifb))
783
784 define KernelPackage/dm9000
785 SUBMENU:=$(NETWORK_DEVICES_MENU)
786 TITLE:=Davicom 9000 Ethernet support
787 KCONFIG:=CONFIG_DM9000 \
788 CONFIG_DM9000_DEBUGLEVEL=4 \
789 CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL=y
790 ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.2)),1)
791 FILES:=$(LINUX_DIR)/drivers/net/ethernet/davicom/dm9000.ko
792 else
793 FILES:=$(LINUX_DIR)/drivers/net/dm9000.ko
794 endif
795 AUTOLOAD:=$(call AutoLoad,34,dm9000)
796 endef
797
798 define KernelPackage/dm9000/description
799 Kernel driver for Davicom 9000 Ethernet adapters.
800 endef
801
802 $(eval $(call KernelPackage,dm9000))