[package] fix tg3 libphy dependency, thanks Acinonyx
[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 # $Id$
8
9 NETWORK_DEVICES_MENU:=Network Devices
10
11 define KernelPackage/libphy
12 SUBMENU:=$(NETWORK_DEVICES_MENU)
13 TITLE:=PHY library
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/natsemi
26 SUBMENU:=$(NETWORK_DEVICES_MENU)
27 TITLE:=National Semiconductor DP8381x series
28 DEPENDS:=@TARGET_x86
29 KCONFIG:=CONFIG_NATSEMI
30 FILES:=$(LINUX_DIR)/drivers/net/natsemi.$(LINUX_KMOD_SUFFIX)
31 AUTOLOAD:=$(call AutoLoad,20,natsemi)
32 endef
33
34 define KernelPackage/natsemi/description
35 Kernel modules for National Semiconductor DP8381x series PCI Ethernet
36 adapters.
37 endef
38
39 $(eval $(call KernelPackage,natsemi))
40
41
42 define KernelPackage/r6040
43 SUBMENU:=$(NETWORK_DEVICES_MENU)
44 TITLE:=RDC Fast-Ethernet support
45 DEPENDS:=@TARGET_rdc
46 KCONFIG:=CONFIG_R6040
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 FILES:=$(LINUX_DIR)/drivers/net/via-rhine.$(LINUX_KMOD_SUFFIX)
102 AUTOLOAD:=$(call AutoLoad,50,via-rhine)
103 endef
104
105 define KernelPackage/via-rhine/description
106 Kernel modules for Via Rhine Ethernet chipsets.
107 endef
108
109 $(eval $(call KernelPackage,via-rhine))
110
111
112 define KernelPackage/via-velocity
113 SUBMENU:=$(NETWORK_DEVICES_MENU)
114 TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
115 DEPENDS:=@TARGET_ixp4xx
116 KCONFIG:=CONFIG_VIA_VELOCITY
117 FILES:=$(LINUX_DIR)/drivers/net/via-velocity.$(LINUX_KMOD_SUFFIX)
118 AUTOLOAD:=$(call AutoLoad,50,via-velocity)
119 endef
120
121 define KernelPackage/via-velocity/description
122 Kernel modules for VIA Velocity Gigabit Ethernet chipsets.
123 endef
124
125 $(eval $(call KernelPackage,via-velocity))
126
127
128 define KernelPackage/8139too
129 SUBMENU:=$(NETWORK_DEVICES_MENU)
130 TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
131 DEPENDS:=@TARGET_x86
132 KCONFIG:=CONFIG_8139TOO
133 FILES:=$(LINUX_DIR)/drivers/net/8139too.$(LINUX_KMOD_SUFFIX)
134 AUTOLOAD:=$(call AutoLoad,50,8139too)
135 endef
136
137 define KernelPackage/8139too/description
138 Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters.
139 endef
140
141 $(eval $(call KernelPackage,8139too))
142
143
144 define KernelPackage/r8169
145 SUBMENU:=$(NETWORK_DEVICES_MENU)
146 TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
147 DEPENDS:=@TARGET_x86
148 KCONFIG:=CONFIG_R8169 CONFIG_R8169_NAPI=y CONFIG_R8169_VLAN=n
149 FILES:=$(LINUX_DIR)/drivers/net/r8169.$(LINUX_KMOD_SUFFIX)
150 AUTOLOAD:=$(call AutoLoad,50,r8169)
151 endef
152
153 define KernelPackage/r8169/description
154 Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters.
155 endef
156
157 $(eval $(call KernelPackage,r8169))
158
159
160 define KernelPackage/ne2k-pci
161 SUBMENU:=$(NETWORK_DEVICES_MENU)
162 TITLE:=ne2k-pci Ethernet Adapter kernel support
163 DEPENDS:=@TARGET_x86
164 KCONFIG:=CONFIG_NE2K_PCI
165 FILES:= \
166 $(LINUX_DIR)/drivers/net/ne2k-pci.$(LINUX_KMOD_SUFFIX) \
167 $(LINUX_DIR)/drivers/net/8390.$(LINUX_KMOD_SUFFIX)
168 AUTOLOAD:=$(call AutoLoad,50,8390 ne2k-pci)
169 endef
170
171 define KernelPackage/ne2k-pci/description
172 Kernel modules for NE2000 PCI Ethernet Adapter kernel.
173 endef
174
175 $(eval $(call KernelPackage,ne2k-pci))
176
177
178 define KernelPackage/e100
179 SUBMENU:=$(NETWORK_DEVICES_MENU)
180 TITLE:=Intel(R) PRO/100+ cards kernel support
181 DEPENDS:=@TARGET_x86
182 KCONFIG:=CONFIG_E100
183 FILES:=$(LINUX_DIR)/drivers/net/e100.$(LINUX_KMOD_SUFFIX)
184 AUTOLOAD:=$(call AutoLoad,50,e100)
185 endef
186
187 define KernelPackage/e100/description
188 Kernel modules for Intel(R) PRO/100+ Ethernet adapters.
189 endef
190
191 $(eval $(call KernelPackage,e100))
192
193
194 define KernelPackage/e1000
195 SUBMENU:=$(NETWORK_DEVICES_MENU)
196 TITLE:=Intel(R) PRO/1000 cards kernel support
197 DEPENDS:=@TARGET_x86
198 KCONFIG:=CONFIG_E1000
199 FILES:=$(LINUX_DIR)/drivers/net/e1000/e1000.$(LINUX_KMOD_SUFFIX)
200 AUTOLOAD:=$(call AutoLoad,50,e1000)
201 endef
202
203 define KernelPackage/e1000/description
204 Kernel modules for Intel(R) PRO/1000 Ethernet adapters.
205 endef
206
207 $(eval $(call KernelPackage,e1000))
208
209
210 define KernelPackage/b44
211 TITLE:=Broadcom 44xx driver
212 FILES:=$(LINUX_DIR)/drivers/net/b44.$(LINUX_KMOD_SUFFIX)
213 KCONFIG:=CONFIG_B44
214 DEPENDS:=@TARGET_x86 @BROKEN
215 SUBMENU:=$(NETWORK_DEVICES_MENU)
216 AUTOLOAD:=$(call AutoLoad,50,b44)
217 endef
218
219 define KernelPackage/b44/description
220 Kernel modules for Broadcom 44xx Ethernet adapters.
221 endef
222
223 $(eval $(call KernelPackage,b44))
224
225
226 define KernelPackage/3c59x
227 SUBMENU:=$(NETWORK_DEVICES_MENU)
228 TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
229 DEPENDS:=@TARGET_x86
230 KCONFIG:=CONFIG_VORTEX
231 FILES:=$(LINUX_DIR)/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX)
232 AUTOLOAD:=$(call AutoLoad,50,3c59x)
233 endef
234
235 define KernelPackage/3c59x/description
236 This option enables driver support for a large number of 10mbps and
237 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
238 - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
239 - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
240 - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
241 - "Tornado" (3c905) PCI
242 - "Hurricane" (3c555/3cSOHO) PCI
243 endef
244
245 $(eval $(call KernelPackage,3c59x))
246
247
248 define KernelPackage/pcnet32
249 SUBMENU:=$(NETWORK_DEVICES_MENU)
250 TITLE:=AMD PCnet32 PCI support
251 DEPENDS:=@TARGET_x86
252 KCONFIG:=CONFIG_PCNET32
253 FILES:=$(LINUX_DIR)/drivers/net/pcnet32.$(LINUX_KMOD_SUFFIX)
254 AUTOLOAD:=$(call AutoLoad,50,pcnet32)
255 endef
256
257 define KernelPackage/pcnet32/description
258 Kernel modules for AMD PCnet32 Ethernet adapters.
259 endef
260
261 $(eval $(call KernelPackage,pcnet32))
262
263
264 define KernelPackage/tg3
265 TITLE:=Broadcom Tigon3 Gigabit Ethernet
266 FILES:=$(LINUX_DIR)/drivers/net/tg3.$(LINUX_KMOD_SUFFIX)
267 KCONFIG:=CONFIG_TIGON3
268 DEPENDS:=@LINUX_2_6 +LINUX_2_6_27||LINUX_2_6_28:kmod-libphy
269 SUBMENU:=$(NETWORK_DEVICES_MENU)
270 AUTOLOAD:=$(call AutoLoad,50,tg3)
271 endef
272
273 define KernelPackage/tg3/description
274 Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters.
275 endef
276
277 $(eval $(call KernelPackage,tg3))
278
279
280 define KernelPackage/ssb-gige
281 TITLE:=Broadcom SSB Gigabit Ethernet
282 KCONFIG:=CONFIG_SSB_DRIVER_GIGE=y
283 DEPENDS:=@TARGET_brcm47xx +kmod-tg3
284 SUBMENU:=$(NETWORK_DEVICES_MENU)
285 endef
286
287 define KernelPackage/ssb-gige/description
288 Kernel modules for Broadcom SSB Gigabit Ethernet adapters.
289 endef
290
291 $(eval $(call KernelPackage,ssb-gige))
292
293 define KernelPackage/hfcmulti
294 TITLE:=HFC multiport cards (HFC-4S/8S/E1)
295 KCONFIG:=CONFIG_MISDN_HFCMULTI
296 DEPENDS:=+kmod-misdn
297 SUBMENU:=$(NETWORK_DEVICES_MENU)
298 FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.$(LINUX_KMOD_SUFFIX)
299 AUTOLOAD:=$(call AutoLoad,31,hfcmulti)
300 endef
301
302 define KernelPackage/hfcmulti/description
303 HFC multiport cards (HFC-4S/8S/E1) support
304 endef
305
306 $(eval $(call KernelPackage,hfcmulti))