1
0

netdevices.mk 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847
  1. #
  2. # Copyright (C) 2006-2011 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. NETWORK_DEVICES_MENU:=Network Devices
  8. define KernelPackage/sis190
  9. SUBMENU:=$(NETWORK_DEVICES_MENU)
  10. TITLE:=SiS 190 Fast/Gigabit Ethernet support
  11. DEPENDS:=@PCI_SUPPORT +kmod-mii
  12. KCONFIG:=CONFIG_SIS190
  13. FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis190.ko
  14. AUTOLOAD:=$(call AutoProbe,sis190)
  15. endef
  16. $(eval $(call KernelPackage,sis190))
  17. define KernelPackage/skge
  18. SUBMENU:=$(NETWORK_DEVICES_MENU)
  19. TITLE:=SysKonnect Yukon support
  20. DEPENDS:=@PCI_SUPPORT
  21. KCONFIG:=CONFIG_SKGE \
  22. CONFIG_SKGE_DEBUG=n \
  23. CONFIG_SKGE_GENESIS=n
  24. FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/skge.ko
  25. AUTOLOAD:=$(call AutoProbe,skge)
  26. endef
  27. $(eval $(call KernelPackage,skge))
  28. define KernelPackage/atl2
  29. SUBMENU:=$(NETWORK_DEVICES_MENU)
  30. TITLE:=Atheros L2 Fast Ethernet support
  31. DEPENDS:=@PCI_SUPPORT
  32. KCONFIG:=CONFIG_ATL2
  33. FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl2.ko
  34. AUTOLOAD:=$(call AutoProbe,atl2)
  35. endef
  36. $(eval $(call KernelPackage,atl2))
  37. define KernelPackage/atl1
  38. SUBMENU:=$(NETWORK_DEVICES_MENU)
  39. TITLE:=Atheros L1 Gigabit Ethernet support
  40. DEPENDS:=@PCI_SUPPORT +kmod-mii
  41. KCONFIG:=CONFIG_ATL1
  42. FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atlx/atl1.ko
  43. AUTOLOAD:=$(call AutoProbe,atl1)
  44. endef
  45. $(eval $(call KernelPackage,atl1))
  46. define KernelPackage/atl1c
  47. SUBMENU:=$(NETWORK_DEVICES_MENU)
  48. TITLE:=Atheros L1C
  49. DEPENDS:=@PCI_SUPPORT
  50. KCONFIG:=CONFIG_ATL1C
  51. FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1c/atl1c.ko
  52. AUTOLOAD:=$(call AutoProbe,atl1c)
  53. endef
  54. $(eval $(call KernelPackage,atl1c))
  55. define KernelPackage/atl1e
  56. SUBMENU:=$(NETWORK_DEVICES_MENU)
  57. TITLE:=Atheros L1E
  58. DEPENDS:=@PCI_SUPPORT
  59. KCONFIG:=CONFIG_ATL1E
  60. FILES:=$(LINUX_DIR)/drivers/net/ethernet/atheros/atl1e/atl1e.ko
  61. AUTOLOAD:=$(call AutoProbe,atl1e)
  62. endef
  63. $(eval $(call KernelPackage,atl1e))
  64. define KernelPackage/libphy
  65. SUBMENU:=$(NETWORK_DEVICES_MENU)
  66. TITLE:=PHY library
  67. KCONFIG:=CONFIG_PHYLIB
  68. FILES:=$(LINUX_DIR)/drivers/net/phy/libphy.ko
  69. AUTOLOAD:=$(call AutoLoad,15,libphy,1)
  70. endef
  71. define KernelPackage/libphy/description
  72. PHY library
  73. endef
  74. $(eval $(call KernelPackage,libphy))
  75. define KernelPackage/mii
  76. SUBMENU:=$(NETWORK_DEVICES_MENU)
  77. TITLE:=MII library
  78. KCONFIG:=CONFIG_MII
  79. FILES:=$(LINUX_DIR)/drivers/net/mii.ko
  80. AUTOLOAD:=$(call AutoLoad,15,mii,1)
  81. endef
  82. define KernelPackage/mii/description
  83. MII library
  84. endef
  85. $(eval $(call KernelPackage,mii))
  86. define KernelPackage/et131x
  87. SUBMENU:=$(NETWORK_DEVICES_MENU)
  88. TITLE:=Agere ET131x Gigabit Ethernet driver
  89. URL:=http://sourceforge.net/projects/et131x
  90. FILES:= \
  91. $(LINUX_DIR)/drivers/net/ethernet/agere/et131x.ko
  92. KCONFIG:= \
  93. CONFIG_ET131X \
  94. CONFIG_ET131X_DEBUG=n
  95. DEPENDS:=@PCI_SUPPORT +kmod-libphy
  96. AUTOLOAD:=$(call AutoProbe,et131x)
  97. endef
  98. define KernelPackage/et131x/description
  99. This package contains the et131x kernel module
  100. endef
  101. $(eval $(call KernelPackage,et131x))
  102. define KernelPackage/phylib-broadcom
  103. SUBMENU:=$(NETWORK_DEVICES_MENU)
  104. TITLE:=Broadcom Ethernet PHY library
  105. KCONFIG:=CONFIG_BCM_NET_PHYLIB
  106. HIDDEN:=1
  107. DEPENDS:=+kmod-libphy
  108. FILES:=$(LINUX_DIR)/drivers/net/phy/bcm-phy-lib.ko
  109. AUTOLOAD:=$(call AutoLoad,17,bcm-phy-lib)
  110. endef
  111. $(eval $(call KernelPackage,phylib-broadcom))
  112. define KernelPackage/phy-broadcom
  113. SUBMENU:=$(NETWORK_DEVICES_MENU)
  114. TITLE:=Broadcom Ethernet PHY driver
  115. KCONFIG:=CONFIG_BROADCOM_PHY
  116. DEPENDS:=+kmod-libphy +kmod-phylib-broadcom
  117. FILES:=$(LINUX_DIR)/drivers/net/phy/broadcom.ko
  118. AUTOLOAD:=$(call AutoLoad,18,broadcom)
  119. endef
  120. define KernelPackage/phy-broadcom/description
  121. Currently supports the BCM5411, BCM5421, BCM5461, BCM5464, BCM5481,
  122. BCM5482 and BCM57780 PHYs.
  123. endef
  124. $(eval $(call KernelPackage,phy-broadcom))
  125. define KernelPackage/swconfig
  126. SUBMENU:=$(NETWORK_DEVICES_MENU)
  127. TITLE:=switch configuration API
  128. DEPENDS:=+kmod-libphy
  129. KCONFIG:=CONFIG_SWCONFIG
  130. FILES:=$(LINUX_DIR)/drivers/net/phy/swconfig.ko
  131. AUTOLOAD:=$(call AutoLoad,41,swconfig)
  132. endef
  133. define KernelPackage/swconfig/description
  134. Switch configuration API module
  135. endef
  136. $(eval $(call KernelPackage,swconfig))
  137. define KernelPackage/switch-mvsw61xx
  138. SUBMENU:=$(NETWORK_DEVICES_MENU)
  139. TITLE:=Marvell 88E61xx switch support
  140. DEPENDS:=+kmod-swconfig
  141. KCONFIG:=CONFIG_MVSW61XX_PHY
  142. FILES:=$(LINUX_DIR)/drivers/net/phy/mvsw61xx.ko
  143. AUTOLOAD:=$(call AutoLoad,42,mvsw61xx)
  144. endef
  145. define KernelPackage/switch-mvsw61xx/description
  146. Marvell 88E61xx switch support
  147. endef
  148. $(eval $(call KernelPackage,switch-mvsw61xx))
  149. define KernelPackage/switch-ip17xx
  150. SUBMENU:=$(NETWORK_DEVICES_MENU)
  151. TITLE:=IC+ IP17XX switch support
  152. DEPENDS:=+kmod-swconfig
  153. KCONFIG:=CONFIG_IP17XX_PHY
  154. FILES:=$(LINUX_DIR)/drivers/net/phy/ip17xx.ko
  155. AUTOLOAD:=$(call AutoLoad,42,ip17xx)
  156. endef
  157. define KernelPackage/switch-ip17xx/description
  158. IC+ IP175C/IP178C switch support
  159. endef
  160. $(eval $(call KernelPackage,switch-ip17xx))
  161. define KernelPackage/switch-rtl8366-smi
  162. SUBMENU:=$(NETWORK_DEVICES_MENU)
  163. TITLE:=Realtek RTL8366 SMI switch interface support
  164. DEPENDS:=@GPIO_SUPPORT +kmod-swconfig
  165. KCONFIG:=CONFIG_RTL8366_SMI
  166. FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
  167. AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi)
  168. endef
  169. define KernelPackage/switch-rtl8366_smi/description
  170. Realtek RTL8366 series SMI switch interface support
  171. endef
  172. $(eval $(call KernelPackage,switch-rtl8366-smi))
  173. define KernelPackage/switch-rtl8366rb
  174. SUBMENU:=$(NETWORK_DEVICES_MENU)
  175. TITLE:=Realtek RTL8366RB switch support
  176. DEPENDS:=+kmod-switch-rtl8366-smi
  177. KCONFIG:=CONFIG_RTL8366RB_PHY
  178. FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366rb.ko
  179. AUTOLOAD:=$(call AutoLoad,43,rtl8366rb)
  180. endef
  181. define KernelPackage/switch-rtl8366rb/description
  182. Realtek RTL8366RB switch support
  183. endef
  184. $(eval $(call KernelPackage,switch-rtl8366rb))
  185. define KernelPackage/switch-rtl8366s
  186. SUBMENU:=$(NETWORK_DEVICES_MENU)
  187. TITLE:=Realtek RTL8366S switch support
  188. DEPENDS:=+kmod-switch-rtl8366-smi
  189. KCONFIG:=CONFIG_RTL8366S_PHY
  190. FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366s.ko
  191. AUTOLOAD:=$(call AutoLoad,43,rtl8366s)
  192. endef
  193. define KernelPackage/switch-rtl8366s/description
  194. Realtek RTL8366S switch support
  195. endef
  196. $(eval $(call KernelPackage,switch-rtl8366s))
  197. define KernelPackage/switch-rtl8367b
  198. SUBMENU:=$(NETWORK_DEVICES_MENU)
  199. TITLE:=Realtek RTL8367R/B switch support
  200. DEPENDS:=+kmod-switch-rtl8366-smi
  201. KCONFIG:=CONFIG_RTL8367B_PHY
  202. FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8367b.ko
  203. AUTOLOAD:=$(call AutoLoad,43,rtl8367b)
  204. endef
  205. define KernelPackage/switch-rtl8367b/description
  206. Realtek RTL8367R/B switch support
  207. endef
  208. $(eval $(call KernelPackage,switch-rtl8367b))
  209. define KernelPackage/natsemi
  210. SUBMENU:=$(NETWORK_DEVICES_MENU)
  211. TITLE:=National Semiconductor DP8381x series
  212. DEPENDS:=@PCI_SUPPORT
  213. KCONFIG:=CONFIG_NATSEMI
  214. FILES:=$(LINUX_DIR)/drivers/net/ethernet/natsemi/natsemi.ko
  215. AUTOLOAD:=$(call AutoLoad,20,natsemi)
  216. endef
  217. define KernelPackage/natsemi/description
  218. Kernel modules for National Semiconductor DP8381x series PCI Ethernet
  219. adapters.
  220. endef
  221. $(eval $(call KernelPackage,natsemi))
  222. define KernelPackage/r6040
  223. SUBMENU:=$(NETWORK_DEVICES_MENU)
  224. TITLE:=RDC Fast-Ethernet support
  225. DEPENDS:=@PCI_SUPPORT +kmod-libphy
  226. KCONFIG:=CONFIG_R6040 \
  227. CONFIG_R6040_NAPI=y
  228. FILES:=$(LINUX_DIR)/drivers/net/ethernet/rdc/r6040.ko
  229. AUTOLOAD:=$(call AutoProbe,r6040)
  230. endef
  231. define KernelPackage/r6040/description
  232. Kernel modules for RDC Fast-Ethernet adapters.
  233. endef
  234. $(eval $(call KernelPackage,r6040))
  235. define KernelPackage/sis900
  236. SUBMENU:=$(NETWORK_DEVICES_MENU)
  237. TITLE:=SiS 900 Ethernet support
  238. DEPENDS:=@PCI_SUPPORT +kmod-mii
  239. KCONFIG:=CONFIG_SIS900
  240. FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis900.ko
  241. AUTOLOAD:=$(call AutoProbe,sis900)
  242. endef
  243. define KernelPackage/sis900/description
  244. Kernel modules for Sis 900 Ethernet adapters.
  245. endef
  246. $(eval $(call KernelPackage,sis900))
  247. define KernelPackage/sky2
  248. SUBMENU:=$(NETWORK_DEVICES_MENU)
  249. TITLE:=SysKonnect Yukon2 support
  250. DEPENDS:=@PCI_SUPPORT
  251. KCONFIG:=CONFIG_SKY2
  252. FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/sky2.ko
  253. AUTOLOAD:=$(call AutoProbe,sky2)
  254. endef
  255. define KernelPackage/sky2/description
  256. This driver supports Gigabit Ethernet adapters based on the
  257. Marvell Yukon 2 chipset:
  258. Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
  259. 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
  260. There is companion driver for the older Marvell Yukon and
  261. Genesis based adapters: skge.
  262. endef
  263. $(eval $(call KernelPackage,sky2))
  264. define KernelPackage/via-rhine
  265. SUBMENU:=$(NETWORK_DEVICES_MENU)
  266. TITLE:=Via Rhine ethernet support
  267. DEPENDS:=@PCI_SUPPORT +kmod-mii
  268. KCONFIG:=CONFIG_VIA_RHINE \
  269. CONFIG_VIA_RHINE_MMIO=y
  270. FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-rhine.ko
  271. AUTOLOAD:=$(call AutoProbe,via-rhine)
  272. endef
  273. define KernelPackage/via-rhine/description
  274. Kernel modules for Via Rhine Ethernet chipsets
  275. endef
  276. $(eval $(call KernelPackage,via-rhine))
  277. define KernelPackage/via-velocity
  278. SUBMENU:=$(NETWORK_DEVICES_MENU)
  279. TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
  280. DEPENDS:=@PCI_SUPPORT +kmod-lib-crc-ccitt
  281. KCONFIG:=CONFIG_VIA_VELOCITY
  282. FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-velocity.ko
  283. AUTOLOAD:=$(call AutoProbe,via-velocity)
  284. endef
  285. define KernelPackage/via-velocity/description
  286. Kernel modules for VIA Velocity Gigabit Ethernet chipsets
  287. endef
  288. $(eval $(call KernelPackage,via-velocity))
  289. define KernelPackage/8139too
  290. SUBMENU:=$(NETWORK_DEVICES_MENU)
  291. TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
  292. DEPENDS:=@PCI_SUPPORT +kmod-mii
  293. KCONFIG:=CONFIG_8139TOO \
  294. CONFIG_8139TOO_PIO=y \
  295. CONFIG_8139TOO_TUNE_TWISTER=n \
  296. CONFIG_8139TOO_8129=n \
  297. CONFIG_8139_OLD_RX_RESET=n
  298. FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139too.ko
  299. AUTOLOAD:=$(call AutoProbe,8139too)
  300. endef
  301. define KernelPackage/8139too/description
  302. Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters
  303. endef
  304. $(eval $(call KernelPackage,8139too))
  305. define KernelPackage/8139cp
  306. SUBMENU:=$(NETWORK_DEVICES_MENU)
  307. TITLE:=RealTek RTL-8139C+ PCI Fast Ethernet Adapter kernel support
  308. DEPENDS:=@PCI_SUPPORT +kmod-mii
  309. KCONFIG:=CONFIG_8139CP
  310. FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139cp.ko
  311. AUTOLOAD:=$(call AutoProbe,8139cp)
  312. endef
  313. define KernelPackage/8139cp/description
  314. Kernel module for RealTek RTL-8139C+ PCI Fast Ethernet adapters
  315. endef
  316. $(eval $(call KernelPackage,8139cp))
  317. define KernelPackage/r8169
  318. SUBMENU:=$(NETWORK_DEVICES_MENU)
  319. TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
  320. DEPENDS:=@PCI_SUPPORT +kmod-mii +r8169-firmware
  321. KCONFIG:=CONFIG_R8169 \
  322. CONFIG_R8169_NAPI=y \
  323. CONFIG_R8169_VLAN=n
  324. FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko
  325. AUTOLOAD:=$(call AutoProbe,r8169)
  326. endef
  327. define KernelPackage/r8169/description
  328. Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters
  329. endef
  330. $(eval $(call KernelPackage,r8169))
  331. define KernelPackage/ne2k-pci
  332. SUBMENU:=$(NETWORK_DEVICES_MENU)
  333. TITLE:=ne2k-pci Ethernet Adapter kernel support
  334. DEPENDS:=@PCI_SUPPORT
  335. KCONFIG:=CONFIG_NE2K_PCI
  336. FILES:= \
  337. $(LINUX_DIR)/drivers/net/ethernet/8390/ne2k-pci.ko \
  338. $(LINUX_DIR)/drivers/net/ethernet/8390/8390.ko
  339. AUTOLOAD:=$(call AutoProbe,8390 ne2k-pci)
  340. endef
  341. define KernelPackage/ne2k-pci/description
  342. Kernel modules for NE2000 PCI Ethernet Adapter kernel
  343. endef
  344. $(eval $(call KernelPackage,ne2k-pci))
  345. define KernelPackage/e1000
  346. SUBMENU:=$(NETWORK_DEVICES_MENU)
  347. TITLE:=Intel(R) PRO/1000 PCI cards kernel support
  348. DEPENDS:=@PCI_SUPPORT
  349. KCONFIG:=CONFIG_E1000 \
  350. CONFIG_E1000_DISABLE_PACKET_SPLIT=n \
  351. CONFIG_E1000_NAPI=y
  352. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000/e1000.ko
  353. AUTOLOAD:=$(call AutoLoad,35,e1000)
  354. endef
  355. define KernelPackage/e1000/description
  356. Kernel modules for Intel(R) PRO/1000 PCI Ethernet adapters.
  357. endef
  358. $(eval $(call KernelPackage,e1000))
  359. define KernelPackage/e1000e
  360. SUBMENU:=$(NETWORK_DEVICES_MENU)
  361. TITLE:=Intel(R) PRO/1000 PCIe cards kernel support
  362. DEPENDS:=@PCIE_SUPPORT +kmod-ptp
  363. KCONFIG:=CONFIG_E1000E
  364. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko
  365. AUTOLOAD:=$(call AutoProbe,e1000e)
  366. endef
  367. define KernelPackage/e1000e/description
  368. Kernel modules for Intel(R) PRO/1000 PCIe Ethernet adapters.
  369. endef
  370. $(eval $(call KernelPackage,e1000e))
  371. define KernelPackage/igb
  372. SUBMENU:=$(NETWORK_DEVICES_MENU)
  373. TITLE:=Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support
  374. DEPENDS:=@PCI_SUPPORT +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp
  375. KCONFIG:=CONFIG_IGB \
  376. CONFIG_IGB_HWMON=n \
  377. CONFIG_IGB_DCA=n
  378. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igb/igb.ko
  379. AUTOLOAD:=$(call AutoLoad,35,igb)
  380. endef
  381. define KernelPackage/igb/description
  382. Kernel modules for Intel(R) 82575/82576 PCI-Express Gigabit Ethernet adapters.
  383. endef
  384. $(eval $(call KernelPackage,igb))
  385. define KernelPackage/b44
  386. TITLE:=Broadcom 44xx driver
  387. KCONFIG:=CONFIG_B44
  388. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx_mips74k +!TARGET_brcm47xx:kmod-ssb +kmod-mii +kmod-libphy
  389. SUBMENU:=$(NETWORK_DEVICES_MENU)
  390. FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/b44.ko
  391. AUTOLOAD:=$(call AutoLoad,19,b44,1)
  392. endef
  393. define KernelPackage/b44/description
  394. Kernel modules for Broadcom 44xx Ethernet adapters.
  395. endef
  396. $(eval $(call KernelPackage,b44))
  397. define KernelPackage/3c59x
  398. SUBMENU:=$(NETWORK_DEVICES_MENU)
  399. TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
  400. DEPENDS:=@PCI_SUPPORT +kmod-mii
  401. KCONFIG:=CONFIG_VORTEX
  402. FILES:=$(LINUX_DIR)/drivers/net/ethernet/3com/3c59x.ko
  403. AUTOLOAD:=$(call AutoProbe,3c59x)
  404. endef
  405. define KernelPackage/3c59x/description
  406. This option enables driver support for a large number of 10mbps and
  407. 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
  408. - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
  409. - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
  410. - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
  411. - "Tornado" (3c905) PCI
  412. - "Hurricane" (3c555/3cSOHO) PCI
  413. endef
  414. $(eval $(call KernelPackage,3c59x))
  415. define KernelPackage/pcnet32
  416. SUBMENU:=$(NETWORK_DEVICES_MENU)
  417. TITLE:=AMD PCnet32 PCI support
  418. DEPENDS:=@(PCI_SUPPORT||TARGET_malta) +kmod-mii
  419. KCONFIG:=CONFIG_PCNET32
  420. FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/pcnet32.ko
  421. AUTOLOAD:=$(call AutoProbe,pcnet32)
  422. endef
  423. define KernelPackage/pcnet32/description
  424. Kernel modules for AMD PCnet32 Ethernet adapters
  425. endef
  426. $(eval $(call KernelPackage,pcnet32))
  427. define KernelPackage/tg3
  428. TITLE:=Broadcom Tigon3 Gigabit Ethernet
  429. KCONFIG:=CONFIG_TIGON3
  430. DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +kmod-hwmon-core +kmod-ptp
  431. SUBMENU:=$(NETWORK_DEVICES_MENU)
  432. FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
  433. AUTOLOAD:=$(call AutoLoad,19,tg3,1)
  434. endef
  435. define KernelPackage/tg3/description
  436. Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters
  437. endef
  438. $(eval $(call KernelPackage,tg3))
  439. define KernelPackage/hfcpci
  440. TITLE:=HFC PCI cards (single port) support for mISDN
  441. KCONFIG:=CONFIG_MISDN_HFCPCI
  442. DEPENDS:=+kmod-misdn
  443. SUBMENU:=$(NETWORK_DEVICES_MENU)
  444. FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcpci.ko
  445. AUTOLOAD:=$(call AutoLoad,31,hfcpci)
  446. endef
  447. define KernelPackage/hfcpci/description
  448. Kernel modules for Cologne AG's HFC pci cards (single port)
  449. using the mISDN V2 stack
  450. endef
  451. $(eval $(call KernelPackage,hfcpci))
  452. define KernelPackage/hfcmulti
  453. TITLE:=HFC multiport cards (HFC-4S/8S/E1) support for mISDN
  454. KCONFIG:=CONFIG_MISDN_HFCMULTI
  455. DEPENDS:=+kmod-misdn
  456. SUBMENU:=$(NETWORK_DEVICES_MENU)
  457. FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.ko
  458. AUTOLOAD:=$(call AutoLoad,31,hfcmulti)
  459. endef
  460. define KernelPackage/hfcmulti/description
  461. Kernel modules for Cologne AG's HFC multiport cards (HFC-4S/8S/E1)
  462. using the mISDN V2 stack
  463. endef
  464. $(eval $(call KernelPackage,hfcmulti))
  465. define KernelPackage/gigaset
  466. SUBMENU:=$(NETWORK_DEVICES_MENU)
  467. TITLE:=Siemens Gigaset support for isdn4linux
  468. DEPENDS:=@USB_SUPPORT +kmod-isdn4linux +kmod-lib-crc-ccitt +kmod-usb-core
  469. URL:=http://gigaset307x.sourceforge.net/
  470. KCONFIG:= \
  471. CONFIG_ISDN_DRV_GIGASET \
  472. CONFIG_GIGASET_BASE \
  473. CONFIG_GIGASET_M101 \
  474. CONFIG_GIGASET_M105 \
  475. CONFIG_GIGASET_UNDOCREQ=y \
  476. CONFIG_GIGASET_I4L=y
  477. FILES:= \
  478. $(LINUX_DIR)/drivers/isdn/gigaset/gigaset.ko \
  479. $(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.ko \
  480. $(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.ko \
  481. $(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.ko
  482. AUTOLOAD:=$(call AutoProbe,gigaset bas_gigaset ser_gigaset usb_gigaset)
  483. endef
  484. define KernelPackage/gigaset/description
  485. This driver supports the Siemens Gigaset SX205/255 family of
  486. ISDN DECT bases, including the predecessors Gigaset 3070/3075
  487. and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus
  488. 721X.
  489. endef
  490. $(eval $(call KernelPackage,gigaset))
  491. define KernelPackage/macvlan
  492. SUBMENU:=$(NETWORK_DEVICES_MENU)
  493. TITLE:=MAC-VLAN support
  494. KCONFIG:=CONFIG_MACVLAN
  495. FILES:=$(LINUX_DIR)/drivers/net/macvlan.ko
  496. AUTOLOAD:=$(call AutoProbe,macvlan)
  497. endef
  498. define KernelPackage/macvlan/description
  499. A kernel module which allows one to create virtual interfaces that
  500. map packets to or from specific MAC addresses to a particular interface
  501. endef
  502. $(eval $(call KernelPackage,macvlan))
  503. define KernelPackage/tulip
  504. TITLE:=Tulip family network device support
  505. DEPENDS:=@PCI_SUPPORT +kmod-mii
  506. SUBMENU:=$(NETWORK_DEVICES_MENU)
  507. KCONFIG:= \
  508. CONFIG_NET_TULIP=y \
  509. CONFIG_DE2104X \
  510. CONFIG_DE2104X_DSL=0 \
  511. CONFIG_TULIP \
  512. CONFIG_TULIP_MWI=y \
  513. CONFIG_TULIP_MMIO=y \
  514. CONFIG_TULIP_NAPI=y \
  515. CONFIG_TULIP_NAPI_HW_MITIGATION=y \
  516. CONFIG_DE4X5=n \
  517. CONFIG_WINBOND_840 \
  518. CONFIG_DM9102 \
  519. CONFIG_ULI526X
  520. FILES:= \
  521. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/tulip.ko \
  522. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/de2104x.ko \
  523. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/dmfe.ko \
  524. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/uli526x.ko \
  525. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/winbond-840.ko
  526. AUTOLOAD:=$(call AutoProbe,tulip)
  527. endef
  528. define KernelPackage/tulip/description
  529. Kernel modules for the Tulip family of network cards,
  530. including DECchip Tulip, DIGITAL EtherWORKS, Winbond W89c840,
  531. Davicom DM910x/DM980x and ULi M526x controller support.
  532. endef
  533. $(eval $(call KernelPackage,tulip))
  534. define KernelPackage/solos-pci
  535. SUBMENU:=$(NETWORK_DEVICES_MENU)
  536. TITLE:=Solos ADSL2+ multiport modem
  537. DEPENDS:=@PCI_SUPPORT +kmod-atm
  538. KCONFIG:=CONFIG_ATM_SOLOS
  539. FILES:=$(LINUX_DIR)/drivers/atm/solos-pci.ko
  540. AUTOLOAD:=$(call AutoProbe,solos-pci)
  541. endef
  542. define KernelPackage/solos-pci/description
  543. Kernel module for Traverse Technologies' Solos PCI cards
  544. and Geos ADSL2+ x86 motherboard
  545. endef
  546. $(eval $(call KernelPackage,solos-pci))
  547. define KernelPackage/dummy
  548. SUBMENU:=$(NETWORK_DEVICES_MENU)
  549. TITLE:=Dummy network device
  550. KCONFIG:=CONFIG_DUMMY
  551. FILES:=$(LINUX_DIR)/drivers/net/dummy.ko
  552. AUTOLOAD:=$(call AutoLoad,34,dummy)
  553. endef
  554. define KernelPackage/dummy/description
  555. The dummy network device
  556. endef
  557. $(eval $(call KernelPackage,dummy))
  558. define KernelPackage/ifb
  559. SUBMENU:=$(NETWORK_DEVICES_MENU)
  560. TITLE:=Intermediate Functional Block support
  561. KCONFIG:= \
  562. CONFIG_IFB \
  563. CONFIG_NET_CLS=y
  564. FILES:=$(LINUX_DIR)/drivers/net/ifb.ko
  565. AUTOLOAD:=$(call AutoLoad,34,ifb)
  566. endef
  567. define KernelPackage/ifb/description
  568. The Intermediate Functional Block
  569. endef
  570. $(eval $(call KernelPackage,ifb))
  571. define KernelPackage/dm9000
  572. SUBMENU:=$(NETWORK_DEVICES_MENU)
  573. TITLE:=Davicom 9000 Ethernet support
  574. DEPENDS:=@PCI_SUPPORT +kmod-mii
  575. KCONFIG:=CONFIG_DM9000 \
  576. CONFIG_DM9000_DEBUGLEVEL=4 \
  577. CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL=y
  578. FILES:=$(LINUX_DIR)/drivers/net/ethernet/davicom/dm9000.ko
  579. AUTOLOAD:=$(call AutoLoad,34,dm9000)
  580. endef
  581. define KernelPackage/dm9000/description
  582. Kernel driver for Davicom 9000 Ethernet adapters.
  583. endef
  584. $(eval $(call KernelPackage,dm9000))
  585. define KernelPackage/forcedeth
  586. SUBMENU:=$(NETWORK_DEVICES_MENU)
  587. TITLE:=nForce Ethernet support
  588. DEPENDS:=@PCI_SUPPORT
  589. KCONFIG:=CONFIG_FORCEDETH
  590. FILES:=$(LINUX_DIR)/drivers/net/ethernet/nvidia/forcedeth.ko
  591. AUTOLOAD:=$(call AutoProbe,forcedeth)
  592. endef
  593. define KernelPackage/forcedeth/description
  594. Kernel driver for Nvidia Ethernet support
  595. endef
  596. $(eval $(call KernelPackage,forcedeth))
  597. define KernelPackage/of-mdio
  598. SUBMENU:=$(NETWORK_DEVICES_MENU)
  599. TITLE:=OpenFirmware MDIO support
  600. DEPENDS:=+kmod-libphy
  601. KCONFIG:=CONFIG_OF_MDIO
  602. FILES:=$(LINUX_DIR)/drivers/of/of_mdio.ko
  603. AUTOLOAD:=$(call AutoLoad,41,of_mdio)
  604. endef
  605. define KernelPackage/of-mdio/description
  606. Kernel driver for OpenFirmware MDIO support
  607. endef
  608. $(eval $(call KernelPackage,of-mdio))
  609. define KernelPackage/vmxnet3
  610. SUBMENU:=$(NETWORK_DEVICES_MENU)
  611. TITLE:=VMware VMXNET3 ethernet driver
  612. DEPENDS:=@PCI_SUPPORT
  613. KCONFIG:=CONFIG_VMXNET3
  614. FILES:=$(LINUX_DIR)/drivers/net/vmxnet3/vmxnet3.ko
  615. AUTOLOAD:=$(call AutoLoad,35,vmxnet3)
  616. endef
  617. define KernelPackage/vmxnet3/description
  618. Kernel modules for VMware VMXNET3 ethernet adapters.
  619. endef
  620. $(eval $(call KernelPackage,vmxnet3))
  621. define KernelPackage/spi-ks8995
  622. SUBMENU:=$(NETWORK_DEVICES_MENU)
  623. TITLE:=Micrel/Kendin KS8995 Ethernet switch control
  624. FILES:=$(LINUX_DIR)/drivers/net/phy/spi_ks8995.ko
  625. KCONFIG:=CONFIG_MICREL_KS8995MA \
  626. CONFIG_SPI=y \
  627. CONFIG_SPI_MASTER=y
  628. AUTOLOAD:=$(call AutoLoad,50,spi_ks8995)
  629. endef
  630. define KernelPackage/spi-ks8995/description
  631. Kernel module for Micrel/Kendin KS8995 ethernet switch
  632. endef
  633. $(eval $(call KernelPackage,spi-ks8995))
  634. define KernelPackage/ethoc
  635. SUBMENU:=$(NETWORK_DEVICES_MENU)
  636. TITLE:=Opencore.org ethoc driver
  637. DEPENDS:=+kmod-libphy
  638. FILES:=$(LINUX_DIR)/drivers/net/ethernet/ethoc.ko
  639. KCONFIG:=CONFIG_ETHOC
  640. AUTOLOAD:=$(call AutoProbe,ethoc)
  641. endef
  642. define KernelPackage/ethoc/description
  643. Kernel module for the Opencores.org ethernet adapter
  644. endef
  645. $(eval $(call KernelPackage,ethoc))
  646. define KernelPackage/bnx2
  647. SUBMENU:=$(NETWORK_DEVICES_MENU)
  648. TITLE:=BCM5706/5708/5709/5716 ethernet adapter driver
  649. DEPENDS:=@PCI_SUPPORT +bnx2-firmware
  650. FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/bnx2.ko
  651. KCONFIG:=CONFIG_BNX2
  652. AUTOLOAD:=$(call AutoProbe,bnx2)
  653. endef
  654. define KernelPackage/bnx2/description
  655. Kernel module for the BCM5706/5708/5709/5716 ethernet adapter
  656. endef
  657. $(eval $(call KernelPackage,bnx2))