netdevices.mk 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993
  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/mdio-gpio
  87. SUBMENU:=$(NETWORK_DEVICES_MENU)
  88. TITLE:= Supports GPIO lib-based MDIO busses
  89. DEPENDS:=+kmod-libphy @GPIO_SUPPORT +(TARGET_armvirt||TARGET_brcm2708_bcm2708||TARGET_samsung):kmod-of-mdio
  90. KCONFIG:= \
  91. CONFIG_MDIO_BITBANG \
  92. CONFIG_MDIO_GPIO
  93. FILES:= \
  94. $(LINUX_DIR)/drivers/net/phy/mdio-gpio.ko \
  95. $(LINUX_DIR)/drivers/net/phy/mdio-bitbang.ko
  96. AUTOLOAD:=$(call AutoProbe,mdio-gpio)
  97. endef
  98. define KernelPackage/mdio-gpio/description
  99. Supports GPIO lib-based MDIO busses
  100. endef
  101. $(eval $(call KernelPackage,mdio-gpio))
  102. define KernelPackage/et131x
  103. SUBMENU:=$(NETWORK_DEVICES_MENU)
  104. TITLE:=Agere ET131x Gigabit Ethernet driver
  105. URL:=http://sourceforge.net/projects/et131x
  106. FILES:= \
  107. $(LINUX_DIR)/drivers/net/ethernet/agere/et131x.ko
  108. KCONFIG:= \
  109. CONFIG_ET131X \
  110. CONFIG_ET131X_DEBUG=n
  111. DEPENDS:=@PCI_SUPPORT +kmod-libphy
  112. AUTOLOAD:=$(call AutoProbe,et131x)
  113. endef
  114. define KernelPackage/et131x/description
  115. This package contains the et131x kernel module
  116. endef
  117. $(eval $(call KernelPackage,et131x))
  118. define KernelPackage/phylib-broadcom
  119. SUBMENU:=$(NETWORK_DEVICES_MENU)
  120. TITLE:=Broadcom Ethernet PHY library
  121. KCONFIG:=CONFIG_BCM_NET_PHYLIB
  122. HIDDEN:=1
  123. DEPENDS:=+kmod-libphy
  124. FILES:=$(LINUX_DIR)/drivers/net/phy/bcm-phy-lib.ko
  125. AUTOLOAD:=$(call AutoLoad,17,bcm-phy-lib)
  126. endef
  127. $(eval $(call KernelPackage,phylib-broadcom))
  128. define KernelPackage/phy-broadcom
  129. SUBMENU:=$(NETWORK_DEVICES_MENU)
  130. TITLE:=Broadcom Ethernet PHY driver
  131. KCONFIG:=CONFIG_BROADCOM_PHY
  132. DEPENDS:=+kmod-libphy +kmod-phylib-broadcom
  133. FILES:=$(LINUX_DIR)/drivers/net/phy/broadcom.ko
  134. AUTOLOAD:=$(call AutoLoad,18,broadcom,1)
  135. endef
  136. define KernelPackage/phy-broadcom/description
  137. Currently supports the BCM5411, BCM5421, BCM5461, BCM5464, BCM5481,
  138. BCM5482 and BCM57780 PHYs.
  139. endef
  140. $(eval $(call KernelPackage,phy-broadcom))
  141. define KernelPackage/phy-realtek
  142. SUBMENU:=$(NETWORK_DEVICES_MENU)
  143. TITLE:=Realtek Ethernet PHY driver
  144. KCONFIG:=CONFIG_REALTEK_PHY
  145. DEPENDS:=+kmod-libphy
  146. FILES:=$(LINUX_DIR)/drivers/net/phy/realtek.ko
  147. AUTOLOAD:=$(call AutoLoad,18,realtek,1)
  148. endef
  149. define KernelPackage/phy-realtek/description
  150. Supports the Realtek 821x PHY.
  151. endef
  152. $(eval $(call KernelPackage,phy-realtek))
  153. define KernelPackage/swconfig
  154. SUBMENU:=$(NETWORK_DEVICES_MENU)
  155. TITLE:=switch configuration API
  156. DEPENDS:=+kmod-libphy
  157. KCONFIG:=CONFIG_SWCONFIG
  158. FILES:=$(LINUX_DIR)/drivers/net/phy/swconfig.ko
  159. AUTOLOAD:=$(call AutoLoad,41,swconfig)
  160. endef
  161. define KernelPackage/swconfig/description
  162. Switch configuration API module
  163. endef
  164. $(eval $(call KernelPackage,swconfig))
  165. define KernelPackage/switch-mvsw61xx
  166. SUBMENU:=$(NETWORK_DEVICES_MENU)
  167. TITLE:=Marvell 88E61xx switch support
  168. DEPENDS:=+kmod-swconfig
  169. KCONFIG:=CONFIG_MVSW61XX_PHY
  170. FILES:=$(LINUX_DIR)/drivers/net/phy/mvsw61xx.ko
  171. AUTOLOAD:=$(call AutoLoad,42,mvsw61xx)
  172. endef
  173. define KernelPackage/switch-mvsw61xx/description
  174. Marvell 88E61xx switch support
  175. endef
  176. $(eval $(call KernelPackage,switch-mvsw61xx))
  177. define KernelPackage/switch-ip17xx
  178. SUBMENU:=$(NETWORK_DEVICES_MENU)
  179. TITLE:=IC+ IP17XX switch support
  180. DEPENDS:=+kmod-swconfig
  181. KCONFIG:=CONFIG_IP17XX_PHY
  182. FILES:=$(LINUX_DIR)/drivers/net/phy/ip17xx.ko
  183. AUTOLOAD:=$(call AutoLoad,42,ip17xx)
  184. endef
  185. define KernelPackage/switch-ip17xx/description
  186. IC+ IP175C/IP178C switch support
  187. endef
  188. $(eval $(call KernelPackage,switch-ip17xx))
  189. define KernelPackage/switch-rtl8306
  190. SUBMENU:=$(NETWORK_DEVICES_MENU)
  191. TITLE:=Realtek RTL8306S switch support
  192. DEPENDS:=+kmod-swconfig
  193. KCONFIG:=CONFIG_RTL8306_PHY
  194. FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8306.ko
  195. AUTOLOAD:=$(call AutoLoad,43,rtl8306)
  196. endef
  197. define KernelPackage/switch-rtl8306/description
  198. Realtek RTL8306S switch support
  199. endef
  200. $(eval $(call KernelPackage,switch-rtl8306))
  201. define KernelPackage/switch-rtl8366-smi
  202. SUBMENU:=$(NETWORK_DEVICES_MENU)
  203. TITLE:=Realtek RTL8366 SMI switch interface support
  204. DEPENDS:=@GPIO_SUPPORT +kmod-swconfig +(TARGET_armvirt||TARGET_brcm2708_bcm2708||TARGET_samsung):kmod-of-mdio
  205. KCONFIG:=CONFIG_RTL8366_SMI
  206. FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366_smi.ko
  207. AUTOLOAD:=$(call AutoLoad,42,rtl8366_smi)
  208. endef
  209. define KernelPackage/switch-rtl8366_smi/description
  210. Realtek RTL8366 series SMI switch interface support
  211. endef
  212. $(eval $(call KernelPackage,switch-rtl8366-smi))
  213. define KernelPackage/switch-rtl8366rb
  214. SUBMENU:=$(NETWORK_DEVICES_MENU)
  215. TITLE:=Realtek RTL8366RB switch support
  216. DEPENDS:=+kmod-switch-rtl8366-smi
  217. KCONFIG:=CONFIG_RTL8366RB_PHY
  218. FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366rb.ko
  219. AUTOLOAD:=$(call AutoLoad,43,rtl8366rb)
  220. endef
  221. define KernelPackage/switch-rtl8366rb/description
  222. Realtek RTL8366RB switch support
  223. endef
  224. $(eval $(call KernelPackage,switch-rtl8366rb))
  225. define KernelPackage/switch-rtl8366s
  226. SUBMENU:=$(NETWORK_DEVICES_MENU)
  227. TITLE:=Realtek RTL8366S switch support
  228. DEPENDS:=+kmod-switch-rtl8366-smi
  229. KCONFIG:=CONFIG_RTL8366S_PHY
  230. FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8366s.ko
  231. AUTOLOAD:=$(call AutoLoad,43,rtl8366s)
  232. endef
  233. define KernelPackage/switch-rtl8366s/description
  234. Realtek RTL8366S switch support
  235. endef
  236. $(eval $(call KernelPackage,switch-rtl8366s))
  237. define KernelPackage/switch-rtl8367b
  238. SUBMENU:=$(NETWORK_DEVICES_MENU)
  239. TITLE:=Realtek RTL8367R/B switch support
  240. DEPENDS:=+kmod-switch-rtl8366-smi
  241. KCONFIG:=CONFIG_RTL8367B_PHY
  242. FILES:=$(LINUX_DIR)/drivers/net/phy/rtl8367b.ko
  243. AUTOLOAD:=$(call AutoLoad,43,rtl8367b)
  244. endef
  245. define KernelPackage/switch-rtl8367b/description
  246. Realtek RTL8367R/B switch support
  247. endef
  248. $(eval $(call KernelPackage,switch-rtl8367b))
  249. define KernelPackage/natsemi
  250. SUBMENU:=$(NETWORK_DEVICES_MENU)
  251. TITLE:=National Semiconductor DP8381x series
  252. DEPENDS:=@PCI_SUPPORT
  253. KCONFIG:=CONFIG_NATSEMI
  254. FILES:=$(LINUX_DIR)/drivers/net/ethernet/natsemi/natsemi.ko
  255. AUTOLOAD:=$(call AutoLoad,20,natsemi)
  256. endef
  257. define KernelPackage/natsemi/description
  258. Kernel modules for National Semiconductor DP8381x series PCI Ethernet
  259. adapters.
  260. endef
  261. $(eval $(call KernelPackage,natsemi))
  262. define KernelPackage/r6040
  263. SUBMENU:=$(NETWORK_DEVICES_MENU)
  264. TITLE:=RDC Fast-Ethernet support
  265. DEPENDS:=@PCI_SUPPORT +kmod-libphy
  266. KCONFIG:=CONFIG_R6040 \
  267. CONFIG_R6040_NAPI=y
  268. FILES:=$(LINUX_DIR)/drivers/net/ethernet/rdc/r6040.ko
  269. AUTOLOAD:=$(call AutoProbe,r6040)
  270. endef
  271. define KernelPackage/r6040/description
  272. Kernel modules for RDC Fast-Ethernet adapters.
  273. endef
  274. $(eval $(call KernelPackage,r6040))
  275. define KernelPackage/niu
  276. SUBMENU:=$(NETWORK_DEVICES_MENU)
  277. TITLE:=Sun Neptune 10Gbit Ethernet support
  278. DEPENDS:=@PCI_SUPPORT
  279. KCONFIG:=CONFIG_NIU
  280. FILES:=$(LINUX_DIR)/drivers/net/ethernet/sun/niu.ko
  281. AUTOLOAD:=$(call AutoProbe,niu)
  282. endef
  283. define KernelPackage/niu/description
  284. This enables support for cards based upon Sun's Neptune chipset.
  285. endef
  286. $(eval $(call KernelPackage,niu))
  287. define KernelPackage/sis900
  288. SUBMENU:=$(NETWORK_DEVICES_MENU)
  289. TITLE:=SiS 900 Ethernet support
  290. DEPENDS:=@PCI_SUPPORT +kmod-mii
  291. KCONFIG:=CONFIG_SIS900
  292. FILES:=$(LINUX_DIR)/drivers/net/ethernet/sis/sis900.ko
  293. AUTOLOAD:=$(call AutoProbe,sis900)
  294. endef
  295. define KernelPackage/sis900/description
  296. Kernel modules for Sis 900 Ethernet adapters.
  297. endef
  298. $(eval $(call KernelPackage,sis900))
  299. define KernelPackage/sky2
  300. SUBMENU:=$(NETWORK_DEVICES_MENU)
  301. TITLE:=SysKonnect Yukon2 support
  302. DEPENDS:=@PCI_SUPPORT
  303. KCONFIG:=CONFIG_SKY2
  304. FILES:=$(LINUX_DIR)/drivers/net/ethernet/marvell/sky2.ko
  305. AUTOLOAD:=$(call AutoProbe,sky2)
  306. endef
  307. define KernelPackage/sky2/description
  308. This driver supports Gigabit Ethernet adapters based on the
  309. Marvell Yukon 2 chipset:
  310. Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/
  311. 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21
  312. There is companion driver for the older Marvell Yukon and
  313. Genesis based adapters: skge.
  314. endef
  315. $(eval $(call KernelPackage,sky2))
  316. define KernelPackage/via-rhine
  317. SUBMENU:=$(NETWORK_DEVICES_MENU)
  318. TITLE:=Via Rhine ethernet support
  319. DEPENDS:=@PCI_SUPPORT +kmod-mii
  320. KCONFIG:=CONFIG_VIA_RHINE \
  321. CONFIG_VIA_RHINE_MMIO=y
  322. FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-rhine.ko
  323. AUTOLOAD:=$(call AutoProbe,via-rhine)
  324. endef
  325. define KernelPackage/via-rhine/description
  326. Kernel modules for Via Rhine Ethernet chipsets
  327. endef
  328. $(eval $(call KernelPackage,via-rhine))
  329. define KernelPackage/via-velocity
  330. SUBMENU:=$(NETWORK_DEVICES_MENU)
  331. TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support
  332. DEPENDS:=@PCI_SUPPORT +kmod-lib-crc-ccitt
  333. KCONFIG:=CONFIG_VIA_VELOCITY
  334. FILES:=$(LINUX_DIR)/drivers/net/ethernet/via/via-velocity.ko
  335. AUTOLOAD:=$(call AutoProbe,via-velocity)
  336. endef
  337. define KernelPackage/via-velocity/description
  338. Kernel modules for VIA Velocity Gigabit Ethernet chipsets
  339. endef
  340. $(eval $(call KernelPackage,via-velocity))
  341. define KernelPackage/8139too
  342. SUBMENU:=$(NETWORK_DEVICES_MENU)
  343. TITLE:=RealTek RTL-8139 PCI Fast Ethernet Adapter kernel support
  344. DEPENDS:=@PCI_SUPPORT +kmod-mii
  345. KCONFIG:=CONFIG_8139TOO \
  346. CONFIG_8139TOO_PIO=y \
  347. CONFIG_8139TOO_TUNE_TWISTER=n \
  348. CONFIG_8139TOO_8129=n \
  349. CONFIG_8139_OLD_RX_RESET=n
  350. FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139too.ko
  351. AUTOLOAD:=$(call AutoProbe,8139too)
  352. endef
  353. define KernelPackage/8139too/description
  354. Kernel modules for RealTek RTL-8139 PCI Fast Ethernet adapters
  355. endef
  356. $(eval $(call KernelPackage,8139too))
  357. define KernelPackage/8139cp
  358. SUBMENU:=$(NETWORK_DEVICES_MENU)
  359. TITLE:=RealTek RTL-8139C+ PCI Fast Ethernet Adapter kernel support
  360. DEPENDS:=@PCI_SUPPORT +kmod-mii
  361. KCONFIG:=CONFIG_8139CP
  362. FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/8139cp.ko
  363. AUTOLOAD:=$(call AutoProbe,8139cp)
  364. endef
  365. define KernelPackage/8139cp/description
  366. Kernel module for RealTek RTL-8139C+ PCI Fast Ethernet adapters
  367. endef
  368. $(eval $(call KernelPackage,8139cp))
  369. define KernelPackage/r8169
  370. SUBMENU:=$(NETWORK_DEVICES_MENU)
  371. TITLE:=RealTek RTL-8169 PCI Gigabit Ethernet Adapter kernel support
  372. DEPENDS:=@PCI_SUPPORT +kmod-mii +r8169-firmware +LINUX_4_19:kmod-phy-realtek
  373. KCONFIG:=CONFIG_R8169 \
  374. CONFIG_R8169_NAPI=y \
  375. CONFIG_R8169_VLAN=n
  376. FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko
  377. AUTOLOAD:=$(call AutoProbe,r8169)
  378. endef
  379. define KernelPackage/r8169/description
  380. Kernel modules for RealTek RTL-8169 PCI Gigabit Ethernet adapters
  381. endef
  382. $(eval $(call KernelPackage,r8169))
  383. define KernelPackage/ne2k-pci
  384. SUBMENU:=$(NETWORK_DEVICES_MENU)
  385. TITLE:=ne2k-pci Ethernet Adapter kernel support
  386. DEPENDS:=@PCI_SUPPORT
  387. KCONFIG:=CONFIG_NE2K_PCI
  388. FILES:= \
  389. $(LINUX_DIR)/drivers/net/ethernet/8390/ne2k-pci.ko \
  390. $(LINUX_DIR)/drivers/net/ethernet/8390/8390.ko
  391. AUTOLOAD:=$(call AutoProbe,8390 ne2k-pci)
  392. endef
  393. define KernelPackage/ne2k-pci/description
  394. Kernel modules for NE2000 PCI Ethernet Adapter kernel
  395. endef
  396. $(eval $(call KernelPackage,ne2k-pci))
  397. define KernelPackage/e100
  398. SUBMENU:=$(NETWORK_DEVICES_MENU)
  399. TITLE:=Intel(R) PRO/100+ cards kernel support
  400. DEPENDS:=@PCI_SUPPORT +kmod-mii +e100-firmware
  401. KCONFIG:=CONFIG_E100
  402. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e100.ko
  403. AUTOLOAD:=$(call AutoProbe,e100)
  404. endef
  405. define KernelPackage/e100/description
  406. Kernel modules for Intel(R) PRO/100+ Ethernet adapters
  407. endef
  408. $(eval $(call KernelPackage,e100))
  409. define KernelPackage/e1000
  410. SUBMENU:=$(NETWORK_DEVICES_MENU)
  411. TITLE:=Intel(R) PRO/1000 PCI cards kernel support
  412. DEPENDS:=@PCI_SUPPORT
  413. KCONFIG:=CONFIG_E1000 \
  414. CONFIG_E1000_DISABLE_PACKET_SPLIT=n \
  415. CONFIG_E1000_NAPI=y
  416. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000/e1000.ko
  417. AUTOLOAD:=$(call AutoLoad,35,e1000)
  418. endef
  419. define KernelPackage/e1000/description
  420. Kernel modules for Intel(R) PRO/1000 PCI Ethernet adapters.
  421. endef
  422. $(eval $(call KernelPackage,e1000))
  423. define KernelPackage/e1000e
  424. SUBMENU:=$(NETWORK_DEVICES_MENU)
  425. TITLE:=Intel(R) PRO/1000 PCIe cards kernel support
  426. DEPENDS:=@PCIE_SUPPORT +kmod-ptp
  427. KCONFIG:=CONFIG_E1000E
  428. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko
  429. AUTOLOAD:=$(call AutoProbe,e1000e)
  430. MODPARAMS.e1000e:= \
  431. IntMode=1 \
  432. InterruptThrottleRate=4,4,4,4,4,4,4,4
  433. endef
  434. define KernelPackage/e1000e/description
  435. Kernel modules for Intel(R) PRO/1000 PCIe Ethernet adapters.
  436. endef
  437. $(eval $(call KernelPackage,e1000e))
  438. define KernelPackage/igb
  439. SUBMENU:=$(NETWORK_DEVICES_MENU)
  440. TITLE:=Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support
  441. DEPENDS:=@PCI_SUPPORT +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp +kmod-hwmon-core
  442. KCONFIG:=CONFIG_IGB \
  443. CONFIG_IGB_HWMON=y \
  444. CONFIG_IGB_DCA=n
  445. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igb/igb.ko
  446. AUTOLOAD:=$(call AutoLoad,35,igb)
  447. endef
  448. define KernelPackage/igb/description
  449. Kernel modules for Intel(R) 82575/82576 PCI-Express Gigabit Ethernet adapters.
  450. endef
  451. $(eval $(call KernelPackage,igb))
  452. define KernelPackage/igbvf
  453. SUBMENU:=$(NETWORK_DEVICES_MENU)
  454. TITLE:=Intel(R) 82576 Virtual Function Ethernet support
  455. DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp
  456. KCONFIG:=CONFIG_IGBVF \
  457. CONFIG_IGB_HWMON=y \
  458. CONFIG_IGB_DCA=n
  459. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igbvf/igbvf.ko
  460. AUTOLOAD:=$(call AutoLoad,35,igbvf)
  461. endef
  462. define KernelPackage/igbvf/description
  463. Kernel modules for Intel(R) 82576 Virtual Function Ethernet adapters.
  464. endef
  465. $(eval $(call KernelPackage,igbvf))
  466. define KernelPackage/ixgbe
  467. SUBMENU:=$(NETWORK_DEVICES_MENU)
  468. TITLE:=Intel(R) 82598/82599 PCI-Express 10 Gigabit Ethernet support
  469. DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-ptp +kmod-hwmon-core
  470. KCONFIG:=CONFIG_IXGBE \
  471. CONFIG_IXGBE_VXLAN=n \
  472. CONFIG_IXGBE_HWMON=y \
  473. CONFIG_IXGBE_DCA=n
  474. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
  475. AUTOLOAD:=$(call AutoLoad,35,ixgbe)
  476. endef
  477. define KernelPackage/ixgbe/description
  478. Kernel modules for Intel(R) 82598/82599 PCI-Express 10 Gigabit Ethernet adapters.
  479. endef
  480. $(eval $(call KernelPackage,ixgbe))
  481. define KernelPackage/ixgbevf
  482. SUBMENU:=$(NETWORK_DEVICES_MENU)
  483. TITLE:=Intel(R) 82599 Virtual Function Ethernet support
  484. DEPENDS:=@PCI_SUPPORT +kmod-ixgbe
  485. KCONFIG:=CONFIG_IXGBEVF \
  486. CONFIG_IXGBE_VXLAN=n \
  487. CONFIG_IXGBE_HWMON=y \
  488. CONFIG_IXGBE_DCA=n
  489. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko
  490. AUTOLOAD:=$(call AutoLoad,35,ixgbevf)
  491. endef
  492. define KernelPackage/ixgbevf/description
  493. Kernel modules for Intel(R) 82599 Virtual Function Ethernet adapters.
  494. endef
  495. $(eval $(call KernelPackage,ixgbevf))
  496. define KernelPackage/b44
  497. TITLE:=Broadcom 44xx driver
  498. KCONFIG:=CONFIG_B44
  499. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx_mips74k +!TARGET_brcm47xx:kmod-ssb +kmod-mii +kmod-libphy
  500. SUBMENU:=$(NETWORK_DEVICES_MENU)
  501. FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/b44.ko
  502. AUTOLOAD:=$(call AutoLoad,19,b44,1)
  503. endef
  504. define KernelPackage/b44/description
  505. Kernel modules for Broadcom 44xx Ethernet adapters.
  506. endef
  507. $(eval $(call KernelPackage,b44))
  508. define KernelPackage/3c59x
  509. SUBMENU:=$(NETWORK_DEVICES_MENU)
  510. TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
  511. DEPENDS:=@PCI_SUPPORT +kmod-mii
  512. KCONFIG:=CONFIG_VORTEX
  513. FILES:=$(LINUX_DIR)/drivers/net/ethernet/3com/3c59x.ko
  514. AUTOLOAD:=$(call AutoProbe,3c59x)
  515. endef
  516. define KernelPackage/3c59x/description
  517. This option enables driver support for a large number of 10mbps and
  518. 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
  519. - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
  520. - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
  521. - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
  522. - "Tornado" (3c905) PCI
  523. - "Hurricane" (3c555/3cSOHO) PCI
  524. endef
  525. $(eval $(call KernelPackage,3c59x))
  526. define KernelPackage/pcnet32
  527. SUBMENU:=$(NETWORK_DEVICES_MENU)
  528. TITLE:=AMD PCnet32 PCI support
  529. DEPENDS:=@(PCI_SUPPORT||TARGET_malta) +kmod-mii
  530. KCONFIG:=CONFIG_PCNET32
  531. FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/pcnet32.ko
  532. AUTOLOAD:=$(call AutoProbe,pcnet32)
  533. endef
  534. define KernelPackage/pcnet32/description
  535. Kernel modules for AMD PCnet32 Ethernet adapters
  536. endef
  537. $(eval $(call KernelPackage,pcnet32))
  538. define KernelPackage/tg3
  539. TITLE:=Broadcom Tigon3 Gigabit Ethernet
  540. KCONFIG:=CONFIG_TIGON3 \
  541. CONFIG_TIGON3_HWMON=n
  542. DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +(LINUX_3_18||LINUX_4_9):kmod-hwmon-core +kmod-ptp
  543. SUBMENU:=$(NETWORK_DEVICES_MENU)
  544. FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
  545. AUTOLOAD:=$(call AutoLoad,19,tg3,1)
  546. endef
  547. define KernelPackage/tg3/description
  548. Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters
  549. endef
  550. $(eval $(call KernelPackage,tg3))
  551. define KernelPackage/hfcpci
  552. TITLE:=HFC PCI cards (single port) support for mISDN
  553. KCONFIG:=CONFIG_MISDN_HFCPCI
  554. DEPENDS:=+kmod-misdn
  555. SUBMENU:=$(NETWORK_DEVICES_MENU)
  556. FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcpci.ko
  557. AUTOLOAD:=$(call AutoLoad,31,hfcpci)
  558. endef
  559. define KernelPackage/hfcpci/description
  560. Kernel modules for Cologne AG's HFC pci cards (single port)
  561. using the mISDN V2 stack
  562. endef
  563. $(eval $(call KernelPackage,hfcpci))
  564. define KernelPackage/hfcmulti
  565. TITLE:=HFC multiport cards (HFC-4S/8S/E1) support for mISDN
  566. KCONFIG:=CONFIG_MISDN_HFCMULTI
  567. DEPENDS:=+kmod-misdn
  568. SUBMENU:=$(NETWORK_DEVICES_MENU)
  569. FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.ko
  570. AUTOLOAD:=$(call AutoLoad,31,hfcmulti)
  571. endef
  572. define KernelPackage/hfcmulti/description
  573. Kernel modules for Cologne AG's HFC multiport cards (HFC-4S/8S/E1)
  574. using the mISDN V2 stack
  575. endef
  576. $(eval $(call KernelPackage,hfcmulti))
  577. define KernelPackage/gigaset
  578. SUBMENU:=$(NETWORK_DEVICES_MENU)
  579. TITLE:=Siemens Gigaset support for isdn4linux
  580. DEPENDS:=@USB_SUPPORT +kmod-isdn4linux +kmod-lib-crc-ccitt +kmod-usb-core
  581. URL:=http://gigaset307x.sourceforge.net/
  582. KCONFIG:= \
  583. CONFIG_ISDN_DRV_GIGASET \
  584. CONFIG_GIGASET_BASE \
  585. CONFIG_GIGASET_M101 \
  586. CONFIG_GIGASET_M105 \
  587. CONFIG_GIGASET_UNDOCREQ=y \
  588. CONFIG_GIGASET_I4L=y
  589. FILES:= \
  590. $(LINUX_DIR)/drivers/isdn/gigaset/gigaset.ko \
  591. $(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.ko \
  592. $(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.ko \
  593. $(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.ko
  594. AUTOLOAD:=$(call AutoProbe,gigaset bas_gigaset ser_gigaset usb_gigaset)
  595. endef
  596. define KernelPackage/gigaset/description
  597. This driver supports the Siemens Gigaset SX205/255 family of
  598. ISDN DECT bases, including the predecessors Gigaset 3070/3075
  599. and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus
  600. 721X.
  601. endef
  602. $(eval $(call KernelPackage,gigaset))
  603. define KernelPackage/macvlan
  604. SUBMENU:=$(NETWORK_DEVICES_MENU)
  605. TITLE:=MAC-VLAN support
  606. KCONFIG:=CONFIG_MACVLAN
  607. FILES:=$(LINUX_DIR)/drivers/net/macvlan.ko
  608. AUTOLOAD:=$(call AutoProbe,macvlan)
  609. endef
  610. define KernelPackage/macvlan/description
  611. A kernel module which allows one to create virtual interfaces that
  612. map packets to or from specific MAC addresses to a particular interface
  613. endef
  614. $(eval $(call KernelPackage,macvlan))
  615. define KernelPackage/tulip
  616. TITLE:=Tulip family network device support
  617. DEPENDS:=@PCI_SUPPORT +kmod-mii
  618. SUBMENU:=$(NETWORK_DEVICES_MENU)
  619. KCONFIG:= \
  620. CONFIG_NET_TULIP=y \
  621. CONFIG_DE2104X \
  622. CONFIG_DE2104X_DSL=0 \
  623. CONFIG_TULIP \
  624. CONFIG_TULIP_MWI=y \
  625. CONFIG_TULIP_MMIO=y \
  626. CONFIG_TULIP_NAPI=y \
  627. CONFIG_TULIP_NAPI_HW_MITIGATION=y \
  628. CONFIG_DE4X5=n \
  629. CONFIG_WINBOND_840 \
  630. CONFIG_DM9102 \
  631. CONFIG_ULI526X
  632. FILES:= \
  633. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/tulip.ko \
  634. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/de2104x.ko \
  635. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/dmfe.ko \
  636. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/uli526x.ko \
  637. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/winbond-840.ko
  638. AUTOLOAD:=$(call AutoProbe,tulip)
  639. endef
  640. define KernelPackage/tulip/description
  641. Kernel modules for the Tulip family of network cards,
  642. including DECchip Tulip, DIGITAL EtherWORKS, Winbond W89c840,
  643. Davicom DM910x/DM980x and ULi M526x controller support.
  644. endef
  645. $(eval $(call KernelPackage,tulip))
  646. define KernelPackage/solos-pci
  647. SUBMENU:=$(NETWORK_DEVICES_MENU)
  648. TITLE:=Solos ADSL2+ multiport modem
  649. DEPENDS:=@PCI_SUPPORT +kmod-atm
  650. KCONFIG:=CONFIG_ATM_SOLOS
  651. FILES:=$(LINUX_DIR)/drivers/atm/solos-pci.ko
  652. AUTOLOAD:=$(call AutoProbe,solos-pci)
  653. endef
  654. define KernelPackage/solos-pci/description
  655. Kernel module for Traverse Technologies' Solos PCI cards
  656. and Geos ADSL2+ x86 motherboard
  657. endef
  658. $(eval $(call KernelPackage,solos-pci))
  659. define KernelPackage/dummy
  660. SUBMENU:=$(NETWORK_DEVICES_MENU)
  661. TITLE:=Dummy network device
  662. KCONFIG:=CONFIG_DUMMY
  663. FILES:=$(LINUX_DIR)/drivers/net/dummy.ko
  664. AUTOLOAD:=$(call AutoLoad,34,dummy)
  665. endef
  666. define KernelPackage/dummy/description
  667. The dummy network device
  668. endef
  669. $(eval $(call KernelPackage,dummy))
  670. define KernelPackage/ifb
  671. SUBMENU:=$(NETWORK_DEVICES_MENU)
  672. TITLE:=Intermediate Functional Block support
  673. KCONFIG:= \
  674. CONFIG_IFB \
  675. CONFIG_NET_CLS=y
  676. FILES:=$(LINUX_DIR)/drivers/net/ifb.ko
  677. AUTOLOAD:=$(call AutoLoad,34,ifb)
  678. endef
  679. define KernelPackage/ifb/description
  680. The Intermediate Functional Block
  681. endef
  682. $(eval $(call KernelPackage,ifb))
  683. define KernelPackage/dm9000
  684. SUBMENU:=$(NETWORK_DEVICES_MENU)
  685. TITLE:=Davicom 9000 Ethernet support
  686. DEPENDS:=+kmod-mii
  687. KCONFIG:=CONFIG_DM9000 \
  688. CONFIG_DM9000_DEBUGLEVEL=4 \
  689. CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL=y
  690. FILES:=$(LINUX_DIR)/drivers/net/ethernet/davicom/dm9000.ko
  691. AUTOLOAD:=$(call AutoLoad,34,dm9000)
  692. endef
  693. define KernelPackage/dm9000/description
  694. Kernel driver for Davicom 9000 Ethernet adapters.
  695. endef
  696. $(eval $(call KernelPackage,dm9000))
  697. define KernelPackage/forcedeth
  698. SUBMENU:=$(NETWORK_DEVICES_MENU)
  699. TITLE:=nForce Ethernet support
  700. DEPENDS:=@PCI_SUPPORT
  701. KCONFIG:=CONFIG_FORCEDETH
  702. FILES:=$(LINUX_DIR)/drivers/net/ethernet/nvidia/forcedeth.ko
  703. AUTOLOAD:=$(call AutoProbe,forcedeth)
  704. endef
  705. define KernelPackage/forcedeth/description
  706. Kernel driver for Nvidia Ethernet support
  707. endef
  708. $(eval $(call KernelPackage,forcedeth))
  709. define KernelPackage/of-mdio
  710. SUBMENU:=$(NETWORK_DEVICES_MENU)
  711. TITLE:=OpenFirmware MDIO support
  712. DEPENDS:=+kmod-libphy
  713. KCONFIG:=CONFIG_OF_MDIO
  714. FILES:= \
  715. $(LINUX_DIR)/drivers/net/phy/fixed_phy.ko@ge4.9 \
  716. $(LINUX_DIR)/drivers/of/of_mdio.ko
  717. AUTOLOAD:=$(call AutoLoad,41,of_mdio)
  718. endef
  719. define KernelPackage/of-mdio/description
  720. Kernel driver for OpenFirmware MDIO support
  721. endef
  722. $(eval $(call KernelPackage,of-mdio))
  723. define KernelPackage/vmxnet3
  724. SUBMENU:=$(NETWORK_DEVICES_MENU)
  725. TITLE:=VMware VMXNET3 ethernet driver
  726. DEPENDS:=@PCI_SUPPORT
  727. KCONFIG:=CONFIG_VMXNET3
  728. FILES:=$(LINUX_DIR)/drivers/net/vmxnet3/vmxnet3.ko
  729. AUTOLOAD:=$(call AutoLoad,35,vmxnet3)
  730. endef
  731. define KernelPackage/vmxnet3/description
  732. Kernel modules for VMware VMXNET3 ethernet adapters.
  733. endef
  734. $(eval $(call KernelPackage,vmxnet3))
  735. define KernelPackage/spi-ks8995
  736. SUBMENU:=$(NETWORK_DEVICES_MENU)
  737. TITLE:=Micrel/Kendin KS8995 Ethernet switch control
  738. FILES:=$(LINUX_DIR)/drivers/net/phy/spi_ks8995.ko
  739. KCONFIG:=CONFIG_MICREL_KS8995MA \
  740. CONFIG_SPI=y \
  741. CONFIG_SPI_MASTER=y
  742. AUTOLOAD:=$(call AutoLoad,50,spi_ks8995)
  743. endef
  744. define KernelPackage/spi-ks8995/description
  745. Kernel module for Micrel/Kendin KS8995 ethernet switch
  746. endef
  747. $(eval $(call KernelPackage,spi-ks8995))
  748. define KernelPackage/ethoc
  749. SUBMENU:=$(NETWORK_DEVICES_MENU)
  750. TITLE:=Opencore.org ethoc driver
  751. DEPENDS:=+kmod-libphy
  752. FILES:=$(LINUX_DIR)/drivers/net/ethernet/ethoc.ko
  753. KCONFIG:=CONFIG_ETHOC
  754. AUTOLOAD:=$(call AutoProbe,ethoc)
  755. endef
  756. define KernelPackage/ethoc/description
  757. Kernel module for the Opencores.org ethernet adapter
  758. endef
  759. $(eval $(call KernelPackage,ethoc))
  760. define KernelPackage/bnx2
  761. SUBMENU:=$(NETWORK_DEVICES_MENU)
  762. TITLE:=BCM5706/5708/5709/5716 ethernet adapter driver
  763. DEPENDS:=@PCI_SUPPORT +bnx2-firmware
  764. FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/bnx2.ko
  765. KCONFIG:=CONFIG_BNX2
  766. AUTOLOAD:=$(call AutoProbe,bnx2)
  767. endef
  768. define KernelPackage/bnx2/description
  769. Kernel module for the BCM5706/5708/5709/5716 ethernet adapter
  770. endef
  771. $(eval $(call KernelPackage,bnx2))