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