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