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