| 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/8139cp |
| 150 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 151 | TITLE:=RealTek RTL-8139C+ PCI Fast Ethernet Adapter kernel support |
| 152 | DEPENDS:=@TARGET_x86 |
| 153 | KCONFIG:=CONFIG_8139CP |
| 154 | FILES:=$(LINUX_DIR)/drivers/net/8139cp.$(LINUX_KMOD_SUFFIX) |
| 155 | AUTOLOAD:=$(call AutoLoad,50,8139cp) |
| 156 | endef |
| 157 | |
| 158 | define KernelPackage/8139cp/description |
| 159 | Kernel module for RealTek RTL-8139C+ PCI Fast Ethernet adapters. |
| 160 | endef |
| 161 | |
| 162 | $(eval $(call KernelPackage,8139cp)) |
| 163 | |
| 164 | |
| 165 | define KernelPackage/r8169 |
| 166 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 167 | TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support |
| 168 | DEPENDS:=@TARGET_x86 |
| 169 | KCONFIG:=CONFIG_R8169 \ |
| 170 | CONFIG_R8169_NAPI=y \ |
| 171 | CONFIG_R8169_VLAN=n |
| 172 | FILES:=$(LINUX_DIR)/drivers/net/r8169.$(LINUX_KMOD_SUFFIX) |
| 173 | AUTOLOAD:=$(call AutoLoad,50,r8169) |
| 174 | endef |
| 175 | |
| 176 | define KernelPackage/r8169/description |
| 177 | Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters. |
| 178 | endef |
| 179 | |
| 180 | $(eval $(call KernelPackage,r8169)) |
| 181 | |
| 182 | |
| 183 | define KernelPackage/ne2k-pci |
| 184 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 185 | TITLE:=ne2k-pci Ethernet Adapter kernel support |
| 186 | DEPENDS:=@TARGET_x86 |
| 187 | KCONFIG:=CONFIG_NE2K_PCI |
| 188 | FILES:= \ |
| 189 | $(LINUX_DIR)/drivers/net/ne2k-pci.$(LINUX_KMOD_SUFFIX) \ |
| 190 | $(LINUX_DIR)/drivers/net/8390.$(LINUX_KMOD_SUFFIX) |
| 191 | AUTOLOAD:=$(call AutoLoad,50,8390 ne2k-pci) |
| 192 | endef |
| 193 | |
| 194 | define KernelPackage/ne2k-pci/description |
| 195 | Kernel modules for NE2000 PCI Ethernet Adapter kernel. |
| 196 | endef |
| 197 | |
| 198 | $(eval $(call KernelPackage,ne2k-pci)) |
| 199 | |
| 200 | |
| 201 | define KernelPackage/e100 |
| 202 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 203 | TITLE:=Intel(R) PRO/100+ cards kernel support |
| 204 | DEPENDS:=@TARGET_x86 |
| 205 | KCONFIG:=CONFIG_E100 |
| 206 | FILES:=$(LINUX_DIR)/drivers/net/e100.$(LINUX_KMOD_SUFFIX) |
| 207 | AUTOLOAD:=$(call AutoLoad,50,e100) |
| 208 | endef |
| 209 | |
| 210 | define KernelPackage/e100/description |
| 211 | Kernel modules for Intel(R) PRO/100+ Ethernet adapters. |
| 212 | endef |
| 213 | |
| 214 | $(eval $(call KernelPackage,e100)) |
| 215 | |
| 216 | |
| 217 | define KernelPackage/e1000 |
| 218 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 219 | TITLE:=Intel(R) PRO/1000 PCI cards kernel support |
| 220 | DEPENDS:=@PCI_SUPPORT |
| 221 | KCONFIG:=CONFIG_E1000 \ |
| 222 | CONFIG_E1000_DISABLE_PACKET_SPLIT=n \ |
| 223 | CONFIG_E1000_NAPI=y |
| 224 | FILES:=$(LINUX_DIR)/drivers/net/e1000/e1000.$(LINUX_KMOD_SUFFIX) |
| 225 | AUTOLOAD:=$(call AutoLoad,50,e1000) |
| 226 | endef |
| 227 | |
| 228 | define KernelPackage/e1000/description |
| 229 | Kernel modules for Intel(R) PRO/1000 PCI Ethernet adapters. |
| 230 | endef |
| 231 | |
| 232 | $(eval $(call KernelPackage,e1000)) |
| 233 | |
| 234 | |
| 235 | define KernelPackage/e1000e |
| 236 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 237 | TITLE:=Intel(R) PRO/1000 PCIe cards kernel support |
| 238 | DEPENDS:=@PCIE_SUPPORT |
| 239 | KCONFIG:=CONFIG_E1000E |
| 240 | FILES:=$(LINUX_DIR)/drivers/net/e1000e/e1000e.$(LINUX_KMOD_SUFFIX) |
| 241 | AUTOLOAD:=$(call AutoLoad,50,e1000e) |
| 242 | endef |
| 243 | |
| 244 | define KernelPackage/e1000e/description |
| 245 | Kernel modules for Intel(R) PRO/1000 PCIe Ethernet adapters. |
| 246 | endef |
| 247 | |
| 248 | $(eval $(call KernelPackage,e1000e)) |
| 249 | |
| 250 | |
| 251 | define KernelPackage/b44 |
| 252 | TITLE:=Broadcom 44xx driver |
| 253 | FILES:=$(LINUX_DIR)/drivers/net/b44.$(LINUX_KMOD_SUFFIX) |
| 254 | KCONFIG:=CONFIG_B44 |
| 255 | DEPENDS:=@TARGET_x86 +kmod-ssb |
| 256 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 257 | AUTOLOAD:=$(call AutoLoad,50,b44) |
| 258 | endef |
| 259 | |
| 260 | define KernelPackage/b44/description |
| 261 | Kernel modules for Broadcom 44xx Ethernet adapters. |
| 262 | endef |
| 263 | |
| 264 | $(eval $(call KernelPackage,b44)) |
| 265 | |
| 266 | |
| 267 | define KernelPackage/3c59x |
| 268 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 269 | TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang |
| 270 | DEPENDS:=@TARGET_x86 |
| 271 | KCONFIG:=CONFIG_VORTEX |
| 272 | FILES:=$(LINUX_DIR)/drivers/net/3c59x.$(LINUX_KMOD_SUFFIX) |
| 273 | AUTOLOAD:=$(call AutoLoad,50,3c59x) |
| 274 | endef |
| 275 | |
| 276 | define KernelPackage/3c59x/description |
| 277 | This option enables driver support for a large number of 10mbps and |
| 278 | 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters: |
| 279 | - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI |
| 280 | - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI |
| 281 | - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus |
| 282 | - "Tornado" (3c905) PCI |
| 283 | - "Hurricane" (3c555/3cSOHO) PCI |
| 284 | endef |
| 285 | |
| 286 | $(eval $(call KernelPackage,3c59x)) |
| 287 | |
| 288 | |
| 289 | define KernelPackage/pcnet32 |
| 290 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 291 | TITLE:=AMD PCnet32 PCI support |
| 292 | DEPENDS:=@TARGET_x86 |
| 293 | KCONFIG:=CONFIG_PCNET32 |
| 294 | FILES:=$(LINUX_DIR)/drivers/net/pcnet32.$(LINUX_KMOD_SUFFIX) |
| 295 | AUTOLOAD:=$(call AutoLoad,50,pcnet32) |
| 296 | endef |
| 297 | |
| 298 | define KernelPackage/pcnet32/description |
| 299 | Kernel modules for AMD PCnet32 Ethernet adapters. |
| 300 | endef |
| 301 | |
| 302 | $(eval $(call KernelPackage,pcnet32)) |
| 303 | |
| 304 | |
| 305 | define KernelPackage/tg3 |
| 306 | TITLE:=Broadcom Tigon3 Gigabit Ethernet |
| 307 | FILES:=$(LINUX_DIR)/drivers/net/tg3.$(LINUX_KMOD_SUFFIX) |
| 308 | KCONFIG:=CONFIG_TIGON3 |
| 309 | DEPENDS:=@LINUX_2_6 +!TARGET_brcm47xx:kmod-libphy @!TARGET_ubicom32 |
| 310 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 311 | AUTOLOAD:=$(call AutoLoad,50,tg3) |
| 312 | endef |
| 313 | |
| 314 | define KernelPackage/tg3/description |
| 315 | Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters. |
| 316 | endef |
| 317 | |
| 318 | $(eval $(call KernelPackage,tg3)) |
| 319 | |
| 320 | |
| 321 | define KernelPackage/ssb-gige |
| 322 | TITLE:=Broadcom SSB Gigabit Ethernet |
| 323 | KCONFIG:=CONFIG_SSB_DRIVER_GIGE=y |
| 324 | DEPENDS:=@TARGET_brcm47xx +kmod-tg3 |
| 325 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 326 | endef |
| 327 | |
| 328 | define KernelPackage/ssb-gige/description |
| 329 | Kernel modules for Broadcom SSB Gigabit Ethernet adapters. |
| 330 | endef |
| 331 | |
| 332 | $(eval $(call KernelPackage,ssb-gige)) |
| 333 | |
| 334 | define KernelPackage/hfcmulti |
| 335 | TITLE:=HFC multiport cards (HFC-4S/8S/E1) |
| 336 | KCONFIG:=CONFIG_MISDN_HFCMULTI |
| 337 | DEPENDS:=+kmod-misdn |
| 338 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 339 | FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.$(LINUX_KMOD_SUFFIX) |
| 340 | AUTOLOAD:=$(call AutoLoad,31,hfcmulti) |
| 341 | endef |
| 342 | |
| 343 | define KernelPackage/hfcmulti/description |
| 344 | HFC multiport cards (HFC-4S/8S/E1) support |
| 345 | endef |
| 346 | |
| 347 | $(eval $(call KernelPackage,hfcmulti)) |
| 348 | |
| 349 | |
| 350 | define KernelPackage/gigaset |
| 351 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 352 | TITLE:=Siemens Gigaset support (isdn) |
| 353 | DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-isdn4linux +kmod-crc-ccitt +kmod-usb-core |
| 354 | URL:=http://gigaset307x.sourceforge.net/ |
| 355 | KCONFIG:= \ |
| 356 | CONFIG_ISDN_DRV_GIGASET \ |
| 357 | CONFIG_GIGASET_BASE \ |
| 358 | CONFIG_GIGASET_M101 \ |
| 359 | CONFIG_GIGASET_M105 \ |
| 360 | CONFIG_GIGASET_UNDOCREQ=y |
| 361 | FILES:= \ |
| 362 | $(LINUX_DIR)/drivers/isdn/gigaset/gigaset.$(LINUX_KMOD_SUFFIX) \ |
| 363 | $(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.$(LINUX_KMOD_SUFFIX) \ |
| 364 | $(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.$(LINUX_KMOD_SUFFIX) \ |
| 365 | $(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.$(LINUX_KMOD_SUFFIX) |
| 366 | AUTOLOAD:=$(call AutoLoad,50,gigaset bas_gigaset ser_gigaset usb_gigaset) |
| 367 | endef |
| 368 | |
| 369 | define KernelPackage/gigaset/description |
| 370 | This driver supports the Siemens Gigaset SX205/255 family of |
| 371 | ISDN DECT bases, including the predecessors Gigaset 3070/3075 |
| 372 | and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus |
| 373 | 721X. |
| 374 | endef |
| 375 | |
| 376 | $(eval $(call KernelPackage,gigaset)) |
| 377 | |
| 378 | |
| 379 | define KernelPackage/macvlan |
| 380 | SUBMENU:=$(NETWORK_DEVICES_MENU) |
| 381 | TITLE:=MAC-VLAN support |
| 382 | DEPENDS:=@LINUX_2_6 |
| 383 | KCONFIG:=CONFIG_MACVLAN |
| 384 | FILES:=$(LINUX_DIR)/drivers/net/macvlan.$(LINUX_KMOD_SUFFIX) |
| 385 | AUTOLOAD:=$(call AutoLoad,50,macvlan) |
| 386 | endef |
| 387 | |
| 388 | define KernelPackage/macvlan/description |
| 389 | A kernel module which allows one to create virtual interfaces that |
| 390 | map packets to or from specific MAC addresses to a particular interface. |
| 391 | endef |
| 392 | |
| 393 | $(eval $(call KernelPackage,macvlan)) |
| 394 | |