1
0

netdevices.mk 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947
  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||TARGET_tegra):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||TARGET_tegra):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/ne2k-pci
  370. SUBMENU:=$(NETWORK_DEVICES_MENU)
  371. TITLE:=ne2k-pci Ethernet Adapter kernel support
  372. DEPENDS:=@PCI_SUPPORT
  373. KCONFIG:=CONFIG_NE2K_PCI
  374. FILES:= \
  375. $(LINUX_DIR)/drivers/net/ethernet/8390/ne2k-pci.ko \
  376. $(LINUX_DIR)/drivers/net/ethernet/8390/8390.ko
  377. AUTOLOAD:=$(call AutoProbe,8390 ne2k-pci)
  378. endef
  379. define KernelPackage/ne2k-pci/description
  380. Kernel modules for NE2000 PCI Ethernet Adapter kernel
  381. endef
  382. $(eval $(call KernelPackage,ne2k-pci))
  383. define KernelPackage/e1000
  384. SUBMENU:=$(NETWORK_DEVICES_MENU)
  385. TITLE:=Intel(R) PRO/1000 PCI cards kernel support
  386. DEPENDS:=@PCI_SUPPORT
  387. KCONFIG:=CONFIG_E1000 \
  388. CONFIG_E1000_DISABLE_PACKET_SPLIT=n \
  389. CONFIG_E1000_NAPI=y
  390. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000/e1000.ko
  391. AUTOLOAD:=$(call AutoLoad,35,e1000)
  392. endef
  393. define KernelPackage/e1000/description
  394. Kernel modules for Intel(R) PRO/1000 PCI Ethernet adapters.
  395. endef
  396. $(eval $(call KernelPackage,e1000))
  397. define KernelPackage/e1000e
  398. SUBMENU:=$(NETWORK_DEVICES_MENU)
  399. TITLE:=Intel(R) PRO/1000 PCIe cards kernel support
  400. DEPENDS:=@PCIE_SUPPORT +kmod-ptp
  401. KCONFIG:=CONFIG_E1000E
  402. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko
  403. AUTOLOAD:=$(call AutoProbe,e1000e)
  404. MODPARAMS.e1000e:= \
  405. IntMode=1 \
  406. InterruptThrottleRate=4,4,4,4,4,4,4,4
  407. endef
  408. define KernelPackage/e1000e/description
  409. Kernel modules for Intel(R) PRO/1000 PCIe Ethernet adapters.
  410. endef
  411. $(eval $(call KernelPackage,e1000e))
  412. define KernelPackage/igb
  413. SUBMENU:=$(NETWORK_DEVICES_MENU)
  414. TITLE:=Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support
  415. DEPENDS:=@PCI_SUPPORT +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp +kmod-hwmon-core
  416. KCONFIG:=CONFIG_IGB \
  417. CONFIG_IGB_HWMON=y \
  418. CONFIG_IGB_DCA=n
  419. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igb/igb.ko
  420. AUTOLOAD:=$(call AutoLoad,35,igb)
  421. endef
  422. define KernelPackage/igb/description
  423. Kernel modules for Intel(R) 82575/82576 PCI-Express Gigabit Ethernet adapters.
  424. endef
  425. $(eval $(call KernelPackage,igb))
  426. define KernelPackage/igbvf
  427. SUBMENU:=$(NETWORK_DEVICES_MENU)
  428. TITLE:=Intel(R) 82576 Virtual Function Ethernet support
  429. DEPENDS:=@PCI_SUPPORT @TARGET_x86 +kmod-i2c-core +kmod-i2c-algo-bit +kmod-ptp
  430. KCONFIG:=CONFIG_IGBVF \
  431. CONFIG_IGB_HWMON=y \
  432. CONFIG_IGB_DCA=n
  433. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/igbvf/igbvf.ko
  434. AUTOLOAD:=$(call AutoLoad,35,igbvf)
  435. endef
  436. define KernelPackage/igbvf/description
  437. Kernel modules for Intel(R) 82576 Virtual Function Ethernet adapters.
  438. endef
  439. $(eval $(call KernelPackage,igbvf))
  440. define KernelPackage/ixgbe
  441. SUBMENU:=$(NETWORK_DEVICES_MENU)
  442. TITLE:=Intel(R) 82598/82599 PCI-Express 10 Gigabit Ethernet support
  443. DEPENDS:=@PCI_SUPPORT +kmod-mdio +kmod-ptp +kmod-hwmon-core
  444. KCONFIG:=CONFIG_IXGBE \
  445. CONFIG_IXGBE_VXLAN=n \
  446. CONFIG_IXGBE_HWMON=y \
  447. CONFIG_IXGBE_DCA=n
  448. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
  449. AUTOLOAD:=$(call AutoLoad,35,ixgbe)
  450. endef
  451. define KernelPackage/ixgbe/description
  452. Kernel modules for Intel(R) 82598/82599 PCI-Express 10 Gigabit Ethernet adapters.
  453. endef
  454. $(eval $(call KernelPackage,ixgbe))
  455. define KernelPackage/ixgbevf
  456. SUBMENU:=$(NETWORK_DEVICES_MENU)
  457. TITLE:=Intel(R) 82599 Virtual Function Ethernet support
  458. DEPENDS:=@PCI_SUPPORT +kmod-ixgbe
  459. KCONFIG:=CONFIG_IXGBEVF \
  460. CONFIG_IXGBE_VXLAN=n \
  461. CONFIG_IXGBE_HWMON=y \
  462. CONFIG_IXGBE_DCA=n
  463. FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/ixgbevf/ixgbevf.ko
  464. AUTOLOAD:=$(call AutoLoad,35,ixgbevf)
  465. endef
  466. define KernelPackage/ixgbevf/description
  467. Kernel modules for Intel(R) 82599 Virtual Function Ethernet adapters.
  468. endef
  469. $(eval $(call KernelPackage,ixgbevf))
  470. define KernelPackage/b44
  471. TITLE:=Broadcom 44xx driver
  472. KCONFIG:=CONFIG_B44
  473. DEPENDS:=@PCI_SUPPORT @!TARGET_brcm47xx_mips74k +!TARGET_brcm47xx:kmod-ssb +kmod-mii +kmod-libphy
  474. SUBMENU:=$(NETWORK_DEVICES_MENU)
  475. FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/b44.ko
  476. AUTOLOAD:=$(call AutoLoad,19,b44,1)
  477. endef
  478. define KernelPackage/b44/description
  479. Kernel modules for Broadcom 44xx Ethernet adapters.
  480. endef
  481. $(eval $(call KernelPackage,b44))
  482. define KernelPackage/3c59x
  483. SUBMENU:=$(NETWORK_DEVICES_MENU)
  484. TITLE:=3Com 3c590/3c900 series (592/595/597) Vortex/Boomerang
  485. DEPENDS:=@PCI_SUPPORT +kmod-mii
  486. KCONFIG:=CONFIG_VORTEX
  487. FILES:=$(LINUX_DIR)/drivers/net/ethernet/3com/3c59x.ko
  488. AUTOLOAD:=$(call AutoProbe,3c59x)
  489. endef
  490. define KernelPackage/3c59x/description
  491. This option enables driver support for a large number of 10mbps and
  492. 10/100mbps EISA, PCI and PCMCIA 3Com Ethernet adapters:
  493. - "Vortex" (Fast EtherLink 3c590/3c592/3c595/3c597) EISA and PCI
  494. - "Boomerang" (EtherLink XL 3c900 or 3c905) PCI
  495. - "Cyclone" (3c540/3c900/3c905/3c980/3c575/3c656) PCI and Cardbus
  496. - "Tornado" (3c905) PCI
  497. - "Hurricane" (3c555/3cSOHO) PCI
  498. endef
  499. $(eval $(call KernelPackage,3c59x))
  500. define KernelPackage/pcnet32
  501. SUBMENU:=$(NETWORK_DEVICES_MENU)
  502. TITLE:=AMD PCnet32 PCI support
  503. DEPENDS:=@(PCI_SUPPORT||TARGET_malta) +kmod-mii
  504. KCONFIG:=CONFIG_PCNET32
  505. FILES:=$(LINUX_DIR)/drivers/net/ethernet/amd/pcnet32.ko
  506. AUTOLOAD:=$(call AutoProbe,pcnet32)
  507. endef
  508. define KernelPackage/pcnet32/description
  509. Kernel modules for AMD PCnet32 Ethernet adapters
  510. endef
  511. $(eval $(call KernelPackage,pcnet32))
  512. define KernelPackage/tg3
  513. TITLE:=Broadcom Tigon3 Gigabit Ethernet
  514. KCONFIG:=CONFIG_TIGON3 \
  515. CONFIG_TIGON3_HWMON=n
  516. DEPENDS:=+!TARGET_brcm47xx:kmod-libphy +LINUX_4_9:kmod-hwmon-core +kmod-ptp
  517. SUBMENU:=$(NETWORK_DEVICES_MENU)
  518. FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko
  519. AUTOLOAD:=$(call AutoLoad,19,tg3,1)
  520. endef
  521. define KernelPackage/tg3/description
  522. Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters
  523. endef
  524. $(eval $(call KernelPackage,tg3))
  525. define KernelPackage/hfcpci
  526. TITLE:=HFC PCI cards (single port) support for mISDN
  527. KCONFIG:=CONFIG_MISDN_HFCPCI
  528. DEPENDS:=+kmod-misdn
  529. SUBMENU:=$(NETWORK_DEVICES_MENU)
  530. FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcpci.ko
  531. AUTOLOAD:=$(call AutoLoad,31,hfcpci)
  532. endef
  533. define KernelPackage/hfcpci/description
  534. Kernel modules for Cologne AG's HFC pci cards (single port)
  535. using the mISDN V2 stack
  536. endef
  537. $(eval $(call KernelPackage,hfcpci))
  538. define KernelPackage/hfcmulti
  539. TITLE:=HFC multiport cards (HFC-4S/8S/E1) support for mISDN
  540. KCONFIG:=CONFIG_MISDN_HFCMULTI
  541. DEPENDS:=+kmod-misdn
  542. SUBMENU:=$(NETWORK_DEVICES_MENU)
  543. FILES:=$(LINUX_DIR)/drivers/isdn/hardware/mISDN/hfcmulti.ko
  544. AUTOLOAD:=$(call AutoLoad,31,hfcmulti)
  545. endef
  546. define KernelPackage/hfcmulti/description
  547. Kernel modules for Cologne AG's HFC multiport cards (HFC-4S/8S/E1)
  548. using the mISDN V2 stack
  549. endef
  550. $(eval $(call KernelPackage,hfcmulti))
  551. define KernelPackage/gigaset
  552. SUBMENU:=$(NETWORK_DEVICES_MENU)
  553. TITLE:=Siemens Gigaset support for isdn4linux
  554. DEPENDS:=@USB_SUPPORT +kmod-isdn4linux +kmod-lib-crc-ccitt +kmod-usb-core
  555. URL:=http://gigaset307x.sourceforge.net/
  556. KCONFIG:= \
  557. CONFIG_ISDN_DRV_GIGASET \
  558. CONFIG_GIGASET_BASE \
  559. CONFIG_GIGASET_M101 \
  560. CONFIG_GIGASET_M105 \
  561. CONFIG_GIGASET_UNDOCREQ=y \
  562. CONFIG_GIGASET_I4L=y
  563. FILES:= \
  564. $(LINUX_DIR)/drivers/isdn/gigaset/gigaset.ko \
  565. $(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.ko \
  566. $(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.ko \
  567. $(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.ko
  568. AUTOLOAD:=$(call AutoProbe,gigaset bas_gigaset ser_gigaset usb_gigaset)
  569. endef
  570. define KernelPackage/gigaset/description
  571. This driver supports the Siemens Gigaset SX205/255 family of
  572. ISDN DECT bases, including the predecessors Gigaset 3070/3075
  573. and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus
  574. 721X.
  575. endef
  576. $(eval $(call KernelPackage,gigaset))
  577. define KernelPackage/macvlan
  578. SUBMENU:=$(NETWORK_DEVICES_MENU)
  579. TITLE:=MAC-VLAN support
  580. KCONFIG:=CONFIG_MACVLAN
  581. FILES:=$(LINUX_DIR)/drivers/net/macvlan.ko
  582. AUTOLOAD:=$(call AutoProbe,macvlan)
  583. endef
  584. define KernelPackage/macvlan/description
  585. A kernel module which allows one to create virtual interfaces that
  586. map packets to or from specific MAC addresses to a particular interface
  587. endef
  588. $(eval $(call KernelPackage,macvlan))
  589. define KernelPackage/tulip
  590. TITLE:=Tulip family network device support
  591. DEPENDS:=@PCI_SUPPORT +kmod-mii
  592. SUBMENU:=$(NETWORK_DEVICES_MENU)
  593. KCONFIG:= \
  594. CONFIG_NET_TULIP=y \
  595. CONFIG_DE2104X \
  596. CONFIG_DE2104X_DSL=0 \
  597. CONFIG_TULIP \
  598. CONFIG_TULIP_MWI=y \
  599. CONFIG_TULIP_MMIO=y \
  600. CONFIG_TULIP_NAPI=y \
  601. CONFIG_TULIP_NAPI_HW_MITIGATION=y \
  602. CONFIG_DE4X5=n \
  603. CONFIG_WINBOND_840 \
  604. CONFIG_DM9102 \
  605. CONFIG_ULI526X
  606. FILES:= \
  607. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/tulip.ko \
  608. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/de2104x.ko \
  609. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/dmfe.ko \
  610. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/uli526x.ko \
  611. $(LINUX_DIR)/drivers/net/ethernet/dec/tulip/winbond-840.ko
  612. AUTOLOAD:=$(call AutoProbe,tulip)
  613. endef
  614. define KernelPackage/tulip/description
  615. Kernel modules for the Tulip family of network cards,
  616. including DECchip Tulip, DIGITAL EtherWORKS, Winbond W89c840,
  617. Davicom DM910x/DM980x and ULi M526x controller support.
  618. endef
  619. $(eval $(call KernelPackage,tulip))
  620. define KernelPackage/solos-pci
  621. SUBMENU:=$(NETWORK_DEVICES_MENU)
  622. TITLE:=Solos ADSL2+ multiport modem
  623. DEPENDS:=@PCI_SUPPORT +kmod-atm
  624. KCONFIG:=CONFIG_ATM_SOLOS
  625. FILES:=$(LINUX_DIR)/drivers/atm/solos-pci.ko
  626. AUTOLOAD:=$(call AutoProbe,solos-pci)
  627. endef
  628. define KernelPackage/solos-pci/description
  629. Kernel module for Traverse Technologies' Solos PCI cards
  630. and Geos ADSL2+ x86 motherboard
  631. endef
  632. $(eval $(call KernelPackage,solos-pci))
  633. define KernelPackage/dummy
  634. SUBMENU:=$(NETWORK_DEVICES_MENU)
  635. TITLE:=Dummy network device
  636. KCONFIG:=CONFIG_DUMMY
  637. FILES:=$(LINUX_DIR)/drivers/net/dummy.ko
  638. AUTOLOAD:=$(call AutoLoad,34,dummy)
  639. endef
  640. define KernelPackage/dummy/description
  641. The dummy network device
  642. endef
  643. $(eval $(call KernelPackage,dummy))
  644. define KernelPackage/ifb
  645. SUBMENU:=$(NETWORK_DEVICES_MENU)
  646. TITLE:=Intermediate Functional Block support
  647. KCONFIG:= \
  648. CONFIG_IFB \
  649. CONFIG_NET_CLS=y
  650. FILES:=$(LINUX_DIR)/drivers/net/ifb.ko
  651. AUTOLOAD:=$(call AutoLoad,34,ifb)
  652. endef
  653. define KernelPackage/ifb/description
  654. The Intermediate Functional Block
  655. endef
  656. $(eval $(call KernelPackage,ifb))
  657. define KernelPackage/dm9000
  658. SUBMENU:=$(NETWORK_DEVICES_MENU)
  659. TITLE:=Davicom 9000 Ethernet support
  660. DEPENDS:=+kmod-mii
  661. KCONFIG:=CONFIG_DM9000 \
  662. CONFIG_DM9000_DEBUGLEVEL=4 \
  663. CONFIG_DM9000_FORCE_SIMPLE_PHY_POLL=y
  664. FILES:=$(LINUX_DIR)/drivers/net/ethernet/davicom/dm9000.ko
  665. AUTOLOAD:=$(call AutoLoad,34,dm9000)
  666. endef
  667. define KernelPackage/dm9000/description
  668. Kernel driver for Davicom 9000 Ethernet adapters.
  669. endef
  670. $(eval $(call KernelPackage,dm9000))
  671. define KernelPackage/forcedeth
  672. SUBMENU:=$(NETWORK_DEVICES_MENU)
  673. TITLE:=nForce Ethernet support
  674. DEPENDS:=@PCI_SUPPORT
  675. KCONFIG:=CONFIG_FORCEDETH
  676. FILES:=$(LINUX_DIR)/drivers/net/ethernet/nvidia/forcedeth.ko
  677. AUTOLOAD:=$(call AutoProbe,forcedeth)
  678. endef
  679. define KernelPackage/forcedeth/description
  680. Kernel driver for Nvidia Ethernet support
  681. endef
  682. $(eval $(call KernelPackage,forcedeth))
  683. define KernelPackage/of-mdio
  684. SUBMENU:=$(NETWORK_DEVICES_MENU)
  685. TITLE:=OpenFirmware MDIO support
  686. DEPENDS:=+kmod-libphy
  687. KCONFIG:=CONFIG_OF_MDIO
  688. FILES:= \
  689. $(LINUX_DIR)/drivers/net/phy/fixed_phy.ko@ge4.9 \
  690. $(LINUX_DIR)/drivers/of/of_mdio.ko
  691. AUTOLOAD:=$(call AutoLoad,41,of_mdio)
  692. endef
  693. define KernelPackage/of-mdio/description
  694. Kernel driver for OpenFirmware MDIO support
  695. endef
  696. $(eval $(call KernelPackage,of-mdio))
  697. define KernelPackage/vmxnet3
  698. SUBMENU:=$(NETWORK_DEVICES_MENU)
  699. TITLE:=VMware VMXNET3 ethernet driver
  700. DEPENDS:=@PCI_SUPPORT
  701. KCONFIG:=CONFIG_VMXNET3
  702. FILES:=$(LINUX_DIR)/drivers/net/vmxnet3/vmxnet3.ko
  703. AUTOLOAD:=$(call AutoLoad,35,vmxnet3)
  704. endef
  705. define KernelPackage/vmxnet3/description
  706. Kernel modules for VMware VMXNET3 ethernet adapters.
  707. endef
  708. $(eval $(call KernelPackage,vmxnet3))
  709. define KernelPackage/spi-ks8995
  710. SUBMENU:=$(NETWORK_DEVICES_MENU)
  711. TITLE:=Micrel/Kendin KS8995 Ethernet switch control
  712. FILES:=$(LINUX_DIR)/drivers/net/phy/spi_ks8995.ko
  713. KCONFIG:=CONFIG_MICREL_KS8995MA \
  714. CONFIG_SPI=y \
  715. CONFIG_SPI_MASTER=y
  716. AUTOLOAD:=$(call AutoLoad,50,spi_ks8995)
  717. endef
  718. define KernelPackage/spi-ks8995/description
  719. Kernel module for Micrel/Kendin KS8995 ethernet switch
  720. endef
  721. $(eval $(call KernelPackage,spi-ks8995))
  722. define KernelPackage/ethoc
  723. SUBMENU:=$(NETWORK_DEVICES_MENU)
  724. TITLE:=Opencore.org ethoc driver
  725. DEPENDS:=+kmod-libphy
  726. FILES:=$(LINUX_DIR)/drivers/net/ethernet/ethoc.ko
  727. KCONFIG:=CONFIG_ETHOC
  728. AUTOLOAD:=$(call AutoProbe,ethoc)
  729. endef
  730. define KernelPackage/ethoc/description
  731. Kernel module for the Opencores.org ethernet adapter
  732. endef
  733. $(eval $(call KernelPackage,ethoc))