remove obsolete kernel dependencies and version checks
[openwrt.git] / package / kernel / modules / netdevices.mk
1 #
2 # Copyright (C) 2006-2008 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/libphy
11 SUBMENU:=$(NETWORK_DEVICES_MENU)
12 TITLE:=PHY library
13 KCONFIG:=CONFIG_PHYLIB
14 FILES:=$(LINUX_DIR)/drivers/net/phy/libphy.$(LINUX_KMOD_SUFFIX)
15 AUTOLOAD:=$(call AutoLoad,40,libphy)
16 endef
17
18 define KernelPackage/libphy/description
19 PHY library
20 endef
21
22 $(eval $(call KernelPackage,libphy))
23
24 define KernelPackage/swconfig
25 SUBMENU:=$(NETWORK_DEVICES_MENU)
26 TITLE:=switch configuration API
27 DEPENDS:=+kmod-libphy
28 KCONFIG:=CONFIG_SWCONFIG
29 FILES:=$(LINUX_DIR)/drivers/net/phy/swconfig.$(LINUX_KMOD_SUFFIX)
30 AUTOLOAD:=$(call AutoLoad,41,swconfig)
31 endef
32
33 define KernelPackage/swconfig/description
34 Switch configuration API module
35 endef
36
37 $(eval $(call KernelPackage,swconfig))
38
39 define KernelPackage/switch-ip175c
40 SUBMENU:=$(NETWORK_DEVICES_MENU)
41 TITLE:=IC+ IP175C/IP178C switch support
42 DEPENDS:=+kmod-swconfig
43 KCONFIG:=CONFIG_IP175C_PHY
44 FILES:=$(LINUX_DIR)/drivers/net/phy/ip175c.$(LINUX_KMOD_SUFFIX)
45 AUTOLOAD:=$(call AutoLoad,42,ip175c)
46 endef
47
48 define KernelPackage/switch-ip175c/description
49 IC+ IP175C/IP178C switch support
50 endef
51
52 $(eval $(call KernelPackage,switch-ip175c))
53
54 define KernelPackage/natsemi
55 SUBMENU:=$(NETWORK_DEVICES_MENU)
56 TITLE:=National Semiconductor DP8381x series
57 DEPENDS:=@TARGET_x86
58 KCONFIG:=CONFIG_NATSEMI
59 FILES:=$(LINUX_DIR)/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
60 AUTOLOAD:=$(call AutoLoad,20,natsemi)
61 endef
62
63 define KernelPackage/natsemi/description
64 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
65 adapters.
66 endef
67
68 $(eval $(call KernelPackage,natsemi))
69
70
71 define KernelPackage/r6040
72 SUBMENU:=$(NETWORK_DEVICES_MENU)
73 TITLE:=RDC Fast-Ethernet support
74 DEPENDS:=@TARGET_rdc
75 KCONFIG:=CONFIG_R6040 \
76 CONFIG_R6040_NAPI=y
77 FILES:=$(LINUX_DIR)/drivers/net/r6040.$(LINUX_KMOD_SUFFIX)
78 AUTOLOAD:=$(call AutoLoad,99,r6040)
79 endef
80
81 define KernelPackage/r6040/description
82 Kernel modules for RDC Fast-Ethernet adapters.
83 endef
84
85 $(eval $(call KernelPackage,r6040))
86
87
88 define KernelPackage/sis900
89 SUBMENU:=$(NETWORK_DEVICES_MENU)
90 TITLE:=SiS 900 Ethernet support
91 DEPENDS:=@TARGET_x86
92 KCONFIG:=CONFIG_SIS900
93 FILES:=$(LINUX_DIR)/drivers/net/sis900.$(LINUX_KMOD_SUFFIX)
94 AUTOLOAD:=$(call AutoLoad,50,sis900)
95 endef
96
97 define KernelPackage/sis900/description
98 Kernel modules for Sis 900 Ethernet adapters.
99 endef
100
101 $(eval $(call KernelPackage,sis900))
102
103
104 define KernelPackage/sky2
105 SUBMENU:=$(NETWORK_DEVICES_MENU)
106 TITLE:=SysKonnect Yukon2 support
107 DEPENDS:=@TARGET_x86
108 KCONFIG:=CONFIG_SKY2
109 FILES:=$(LINUX_DIR)/drivers/net/sky2.$(LINUX_KMOD_SUFFIX)
110 AUTOLOAD:=$(call AutoLoad,50,sky2)
111 endef
112
113 define KernelPackage/sky2/description
114 This driver supports Gigabit Ethernet adapters based on the
115 Marvell Yukon 2 chipset:
116 Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
117 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
118
119 There is companion driver for the older Marvell Yukon and
120 Genesis based adapters: skge.
121 endef
122
123 $(eval $(call KernelPackage,sky2))
124
125
126 define KernelPackage/via-rhine
127 SUBMENU:=$(NETWORK_DEVICES_MENU)
128 TITLE:=Via Rhine ethernet support
129 DEPENDS:=@TARGET_x86
130 KCONFIG:=CONFIG_VIA_RHINE \
131 CONFIG_VIA_RHINE_MMIO=y
132 FILES:=$(LINUX_DIR)/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
133 AUTOLOAD:=$(call AutoLoad,50,via-rhine)
134 endef
135
136 define KernelPackage/via-rhine/description
137 Kernel modules for Via Rhine Ethernet chipsets.
138 endef
139
140 $(eval $(call KernelPackage,via-rhine))
141
142
143 define KernelPackage/via-velocity
144 SUBMENU:=$(NETWORK_DEVICES_MENU)
145 TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
146 DEPENDS:=@TARGET_ixp4xx||TARGET_mpc83xx||TARGET_x86
147 KCONFIG:=CONFIG_VIA_VELOCITY
148 FILES:=$(LINUX_DIR)/drivers/net/via-velocity.$(LINUX_KMOD_SUFFIX)
149 AUTOLOAD:=$(call AutoLoad,50,via-velocity)
150 endef
151
152 define KernelPackage/via-velocity/description
153 Kernel modules for VIA Velocity Gigabit Ethernet chipsets.
154 endef
155
156 $(eval $(call KernelPackage,via-velocity))
157
158
159 define KernelPackage/8139too
160 SUBMENU:=$(NETWORK_DEVICES_MENU)
161 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
162 DEPENDS:=@TARGET_x86
163 KCONFIG:=CONFIG_8139TOO \
164 CONFIG_8139TOO_PIO=y \
165 CONFIG_8139TOO_TUNE_TWISTER=n \
166 CONFIG_8139TOO_8129=n \
167 CONFIG_8139_OLD_RX_RESET=n
168 FILES:=$(LINUX_DIR)/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
169 AUTOLOAD:=$(call AutoLoad,50,8139too)
170 endef
171
172 define KernelPackage/8139too/description
173 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
174 endef
175
176 $(eval $(call KernelPackage,8139too))
177
178
179 define KernelPackage/r8169
180 SUBMENU:=$(NETWORK_DEVICES_MENU)
181 TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
182 DEPENDS:=@TARGET_x86
183 KCONFIG:=CONFIG_R8169 \
184 CONFIG_R8169_NAPI=y \
185 CONFIG_R8169_VLAN=n
186 FILES:=$(LINUX_DIR)/drivers/net/r8169.$(LINUX_KMOD_SUFFIX)
187 AUTOLOAD:=$(call AutoLoad,50,r8169)
188 endef
189
190 define KernelPackage/r8169/description
191 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
192 endef
193
194 $(eval $(call KernelPackage,r8169))
195
196
197 define KernelPackage/ne2k-pci
198 SUBMENU:=$(NETWORK_DEVICES_MENU)
199 TITLE:=ne2k-pci Ethernet Adapter kernel support
200 DEPENDS:=@TARGET_x86
201 KCONFIG:=CONFIG_NE2K_PCI
202 FILES:= \
203 $(LINUX_DIR)/drivers/net/ne2k-pci.$(LINUX_KMOD_SUFFIX) \
204 $(LINUX_DIR)/drivers/net/8390.$(LINUX_KMOD_SUFFIX)
205 AUTOLOAD:=$(call AutoLoad,50,8390 ne2k-pci)
206 endef
207
208 define KernelPackage/ne2k-pci/description
209 Kernel modules for NE2000 PCI Ethernet Adapter kernel.
210 endef
211
212 $(eval $(call KernelPackage,ne2k-pci))
213
214
215 define KernelPackage/e100
216 SUBMENU:=$(NETWORK_DEVICES_MENU)
217 TITLE:=Intel(R) PRO/100+ cards kernel support
218 DEPENDS:=@TARGET_x86
219 KCONFIG:=CONFIG_E100
220 FILES:=$(LINUX_DIR)/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
221 AUTOLOAD:=$(call AutoLoad,50,e100)
222 endef
223
224 define KernelPackage/e100/description
225 Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
226 endef
227
228 $(eval $(call KernelPackage,e100))
229
230
231 define KernelPackage/e1000
232 SUBMENU:=$(NETWORK_DEVICES_MENU)
233 TITLE:=Intel(R) PRO/1000 PCI cards kernel support
234 DEPENDS:=@PCI_SUPPORT
235 KCONFIG:=CONFIG_E1000 \
236 CONFIG_E1000_DISABLE_PACKET_SPLIT=n \
237 CONFIG_E1000_NAPI=y
238 FILES:=$(LINUX_DIR)/drivers/net/e1000/e1000.$(LINUX_KMOD_SUFFIX)
239 AUTOLOAD:=$(call AutoLoad,50,e1000)
240 endef
241
242 define KernelPackage/e1000/description
243 Kernel modules for Intel(R) PRO/1000 PCI Ethernet adapters.
244 endef
245
246 $(eval $(call KernelPackage,e1000))
247
248
249 define KernelPackage/e1000e
250 SUBMENU:=$(NETWORK_DEVICES_MENU)
251 TITLE:=Intel(R) PRO/1000 PCIe cards kernel support
252 DEPENDS:=@PCIE_SUPPORT
253 KCONFIG:=CONFIG_E1000E
254 FILES:=$(LINUX_DIR)/drivers/net/e1000e/e1000e.$(LINUX_KMOD_SUFFIX)
255 AUTOLOAD:=$(call AutoLoad,50,e1000e)
256 endef
257
258 define KernelPackage/e1000e/description
259 Kernel modules for Intel(R) PRO/1000 PCIe Ethernet adapters.
260 endef
261
262 $(eval $(call KernelPackage,e1000e))
263
264
265 define KernelPackage/b44
266 TITLE:=Broadcom 44xx driver
267 FILES:=$(LINUX_DIR)/drivers/net/b44.$(LINUX_KMOD_SUFFIX)
268 KCONFIG:=CONFIG_B44
269 DEPENDS:=@TARGET_x86 +kmod-ssb
270 SUBMENU:=$(NETWORK_DEVICES_MENU)
271 AUTOLOAD:=$(call AutoLoad,50,b44)
272 endef
273
274 define KernelPackage/b44/description
275 Kernel modules for Broadcom 44xx Ethernet adapters.
276 endef
277
278 $(eval $(call KernelPackage,b44))
279
280
281 define KernelPackage/3c59x
282 SUBMENU:=$(NETWORK_DEVICES_MENU)
283 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
284 DEPENDS:=@TARGET_x86
285 KCONFIG:=CONFIG_VORTEX
286 FILES:=$(LINUX_DIR)/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
287 AUTOLOAD:=$(call AutoLoad,50,3c59x)
288 endef
289
290 define KernelPackage/3c59x/description
291 This option enables driver support for a large number of 10mbps and
292 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
293 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
294 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
295 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
296 - "Tornado" (3c905) PCI
297 - "Hurricane" (3c555/3cSOHO) PCI
298 endef
299
300 $(eval $(call KernelPackage,3c59x))
301
302
303 define KernelPackage/pcnet32
304 SUBMENU:=$(NETWORK_DEVICES_MENU)
305 TITLE:=AMD PCnet32 PCI support
306 DEPENDS:=@(TARGET_x86||TARGET_malta)
307 KCONFIG:=CONFIG_PCNET32
308 FILES:=$(LINUX_DIR)/drivers/net/pcnet32.$(LINUX_KMOD_SUFFIX)
309 AUTOLOAD:=$(call AutoLoad,50,pcnet32)
310 endef
311
312 define KernelPackage/pcnet32/description
313 Kernel modules for AMD PCnet32 Ethernet adapters.
314 endef
315
316 $(eval $(call KernelPackage,pcnet32))
317
318
319 define KernelPackage/tg3
320 TITLE:=Broadcom Tigon3 Gigabit Ethernet
321 FILES:=$(LINUX_DIR)/drivers/net/tg3.$(LINUX_KMOD_SUFFIX)
322 KCONFIG:=CONFIG_TIGON3
323 DEPENDS:=+!TARGET_brcm47xx:kmod-libphy @!TARGET_ubicom32
324 SUBMENU:=$(NETWORK_DEVICES_MENU)
325 AUTOLOAD:=$(call AutoLoad,50,tg3)
326 endef
327
328 define KernelPackage/tg3/description
329 Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters.
330 endef
331
332 $(eval $(call KernelPackage,tg3))
333
334
335 define KernelPackage/ssb-gige
336 TITLE:=Broadcom SSB Gigabit Ethernet
337 KCONFIG:=CONFIG_SSB_DRIVER_GIGE=y
338 DEPENDS:=@TARGET_brcm47xx +kmod-tg3
339 SUBMENU:=$(NETWORK_DEVICES_MENU)
340 endef
341
342 define KernelPackage/ssb-gige/description
343 Kernel modules for Broadcom SSB Gigabit Ethernet adapters.
344 endef
345
346 $(eval $(call KernelPackage,ssb-gige))
347
348 define KernelPackage/hfcmulti
349 TITLE:=HFC multiport cards (HFC-4S/8S/E1)
350 KCONFIG:=CONFIG_MISDN_HFCMULTI
351 DEPENDS:=+kmod-misdn
352 SUBMENU:=$(NETWORK_DEVICES_MENU)
353 FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.$(LINUX_KMOD_SUFFIX)
354 AUTOLOAD:=$(call AutoLoad,31,hfcmulti)
355 endef
356
357 define KernelPackage/hfcmulti/description
358 HFC multiport cards (HFC-4S/8S/E1) support
359 endef
360
361 $(eval $(call KernelPackage,hfcmulti))
362
363
364 define KernelPackage/gigaset
365 SUBMENU:=$(NETWORK_DEVICES_MENU)
366 TITLE:=Siemens Gigaset support (isdn)
367 DEPENDS:=@USB_SUPPORT +kmod-isdn4linux +kmod-crc-ccitt +kmod-usb-core
368 URL:=http://gigaset307x.sourceforge.net/
369 KCONFIG:= \
370 CONFIG_ISDN_DRV_GIGASET \
371 CONFIG_GIGASET_BASE \
372 CONFIG_GIGASET_M101 \
373 CONFIG_GIGASET_M105 \
374 CONFIG_GIGASET_UNDOCREQ=y \
375 CONFIG_GIGASET_I4L=y
376 FILES:= \
377 $(LINUX_DIR)/drivers/isdn/gigaset/gigaset.$(LINUX_KMOD_SUFFIX) \
378 $(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.$(LINUX_KMOD_SUFFIX) \
379 $(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.$(LINUX_KMOD_SUFFIX) \
380 $(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.$(LINUX_KMOD_SUFFIX)
381 AUTOLOAD:=$(call AutoLoad,50,gigaset bas_gigaset ser_gigaset usb_gigaset)
382 endef
383
384 define KernelPackage/gigaset/description
385 This driver supports the Siemens Gigaset SX205/255 family of
386 ISDN DECT bases, including the predecessors Gigaset 3070/3075
387 and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus
388 721X.
389 endef
390
391 $(eval $(call KernelPackage,gigaset))
392
393
394 define KernelPackage/macvlan
395 SUBMENU:=$(NETWORK_DEVICES_MENU)
396 TITLE:=MAC-VLAN support
397 KCONFIG:=CONFIG_MACVLAN
398 FILES:=$(LINUX_DIR)/drivers/net/macvlan.$(LINUX_KMOD_SUFFIX)
399 AUTOLOAD:=$(call AutoLoad,50,macvlan)
400 endef
401
402 define KernelPackage/macvlan/description
403 A kernel module which allows one to create virtual interfaces that
404 map packets to or from specific MAC addresses to a particular interface.
405 endef
406
407 $(eval $(call KernelPackage,macvlan))
408
409 define KernelPackage/tulip
410 TITLE:=Tulip family network device support
411 SUBMENU:=$(NETWORK_DEVICES_MENU)
412 KCONFIG:= \
413 CONFIG_NET_TULIP=y \
414 CONFIG_DE2104X \
415 CONFIG_DE2104X_DSL=0 \
416 CONFIG_TULIP \
417 CONFIG_TULIP_MWI=y \
418 CONFIG_TULIP_MMIO=y \
419 CONFIG_TULIP_NAPI=y \
420 CONFIG_TULIP_NAPI_HW_MITIGATION=y \
421 CONFIG_DE4X5 \
422 CONFIG_WINBOND_840 \
423 CONFIG_DM9102 \
424 CONFIG_ULI526X
425 FILES:= \
426 $(LINUX_DIR)/drivers/net/tulip/tulip.$(LINUX_KMOD_SUFFIX) \
427 $(LINUX_DIR)/drivers/net/tulip/de2104x.$(LINUX_KMOD_SUFFIX) \
428 $(LINUX_DIR)/drivers/net/tulip/de4x5.$(LINUX_KMOD_SUFFIX) \
429 $(LINUX_DIR)/drivers/net/tulip/dmfe.$(LINUX_KMOD_SUFFIX) \
430 $(LINUX_DIR)/drivers/net/tulip/uli526x.$(LINUX_KMOD_SUFFIX) \
431 $(LINUX_DIR)/drivers/net/tulip/winbond-840.$(LINUX_KMOD_SUFFIX)
432 AUTOLOAD:=$(call AutoLoad,50,tulip)
433 endef
434
435 define KernelPackage/tulip/description
436 Kernel modules for the Tulip family of network cards,
437 including DECchip Tulip, DIGITAL EtherWORKS, Winbond W89c840,
438 Davicom DM910x/DM980x and ULi M526x controller support.
439 endef
440
441 $(eval $(call KernelPackage,tulip))
This page took 0.058197 seconds and 5 git commands to generate.