source: trunk/package/kernel/modules/netdevices.mk @ 20997

Last change on this file since 20997 was 20997, checked in by hauke, 7 years ago

gigaset: build gigaset with isdn4linux support

File size: 10.3 KB
Line 
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
8NETWORK_DEVICES_MENU:=Network Devices
9
10define 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)
16endef
17
18define KernelPackage/libphy/description
19  PHY library
20endef
21
22$(eval $(call KernelPackage,libphy))
23
24define 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)
31endef
32
33define KernelPackage/natsemi/description
34 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
35 adapters.
36endef
37
38$(eval $(call KernelPackage,natsemi))
39
40
41define 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)
49endef
50
51define KernelPackage/r6040/description
52 Kernel modules for RDC Fast-Ethernet adapters.
53endef
54
55$(eval $(call KernelPackage,r6040))
56
57
58define 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)
65endef
66
67define KernelPackage/sis900/description
68 Kernel modules for Sis 900 Ethernet adapters.
69endef
70
71$(eval $(call KernelPackage,sis900))
72
73
74define 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)
81endef
82
83define 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.
91endef
92
93$(eval $(call KernelPackage,sky2))
94
95
96define 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)
104endef
105
106define KernelPackage/via-rhine/description
107 Kernel modules for Via Rhine Ethernet chipsets.
108endef
109
110$(eval $(call KernelPackage,via-rhine))
111
112
113define 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)
120endef
121
122define KernelPackage/via-velocity/description
123 Kernel modules for VIA Velocity Gigabit Ethernet chipsets.
124endef
125
126$(eval $(call KernelPackage,via-velocity))
127
128
129define 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)
140endef
141
142define KernelPackage/8139too/description
143 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
144endef
145
146$(eval $(call KernelPackage,8139too))
147
148
149define 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)
158endef
159
160define KernelPackage/r8169/description
161 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
162endef
163
164$(eval $(call KernelPackage,r8169))
165
166
167define 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)
176endef
177
178define KernelPackage/ne2k-pci/description
179 Kernel modules for NE2000 PCI Ethernet Adapter kernel.
180endef
181
182$(eval $(call KernelPackage,ne2k-pci))
183
184
185define 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)
192endef
193
194define KernelPackage/e100/description
195 Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
196endef
197
198$(eval $(call KernelPackage,e100))
199
200
201define 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)
210endef
211
212define KernelPackage/e1000/description
213 Kernel modules for Intel(R) PRO/1000 PCI Ethernet adapters.
214endef
215
216$(eval $(call KernelPackage,e1000))
217
218
219define 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)
226endef
227
228define KernelPackage/e1000e/description
229 Kernel modules for Intel(R) PRO/1000 PCIe Ethernet adapters.
230endef
231
232$(eval $(call KernelPackage,e1000e))
233
234
235define 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)
242endef
243
244define KernelPackage/b44/description
245 Kernel modules for Broadcom 44xx Ethernet adapters.
246endef
247
248$(eval $(call KernelPackage,b44))
249
250
251define 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)
258endef
259
260define 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
268endef
269
270$(eval $(call KernelPackage,3c59x))
271
272
273define KernelPackage/pcnet32
274  SUBMENU:=$(NETWORK_DEVICES_MENU)
275  TITLE:=AMD PCnet32 PCI support
276  DEPENDS:=@(TARGET_x86||TARGET_malta)
277  KCONFIG:=CONFIG_PCNET32
278  FILES:=$(LINUX_DIR)/drivers/net/pcnet32.$(LINUX_KMOD_SUFFIX)
279  AUTOLOAD:=$(call AutoLoad,50,pcnet32)
280endef
281
282define KernelPackage/pcnet32/description
283 Kernel modules for AMD PCnet32 Ethernet adapters.
284endef
285
286$(eval $(call KernelPackage,pcnet32))
287
288
289define 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 +!TARGET_brcm47xx:kmod-libphy @!TARGET_ubicom32
294  SUBMENU:=$(NETWORK_DEVICES_MENU)
295  AUTOLOAD:=$(call AutoLoad,50,tg3)
296endef
297
298define KernelPackage/tg3/description
299 Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters.
300endef
301
302$(eval $(call KernelPackage,tg3))
303
304
305define 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)
310endef
311
312define KernelPackage/ssb-gige/description
313 Kernel modules for Broadcom SSB Gigabit Ethernet adapters.
314endef
315
316$(eval $(call KernelPackage,ssb-gige))
317
318define 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)
325endef
326
327define KernelPackage/hfcmulti/description
328  HFC multiport cards (HFC-4S/8S/E1) support
329endef
330
331$(eval $(call KernelPackage,hfcmulti))
332
333
334define 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    CONFIG_GIGASET_I4L=y
346  FILES:= \
347    $(LINUX_DIR)/drivers/isdn/gigaset/gigaset.$(LINUX_KMOD_SUFFIX) \
348    $(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.$(LINUX_KMOD_SUFFIX) \
349    $(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.$(LINUX_KMOD_SUFFIX) \
350    $(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.$(LINUX_KMOD_SUFFIX)
351  AUTOLOAD:=$(call AutoLoad,50,gigaset bas_gigaset ser_gigaset usb_gigaset)
352endef
353
354define KernelPackage/gigaset/description
355 This driver supports the Siemens Gigaset SX205/255 family of
356 ISDN DECT bases, including the predecessors Gigaset 3070/3075
357 and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus
358 721X.
359endef
360
361$(eval $(call KernelPackage,gigaset))
362
363
364define KernelPackage/macvlan
365  SUBMENU:=$(NETWORK_DEVICES_MENU)
366  TITLE:=MAC-VLAN support
367  DEPENDS:=@LINUX_2_6
368  KCONFIG:=CONFIG_MACVLAN
369  FILES:=$(LINUX_DIR)/drivers/net/macvlan.$(LINUX_KMOD_SUFFIX)
370  AUTOLOAD:=$(call AutoLoad,50,macvlan)
371endef
372
373define KernelPackage/macvlan/description
374 A kernel module which allows one to create virtual interfaces that
375 map packets to or from specific MAC addresses to a particular interface.
376endef
377
378$(eval $(call KernelPackage,macvlan))
Note: See TracBrowser for help on using the repository browser.