usb.mk 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630
  1. #
  2. # Copyright (C) 2006-2014 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. USB_MENU:=USB Support
  8. USBNET_DIR:=net/usb
  9. USBHID_DIR?=hid/usbhid
  10. USBINPUT_DIR?=input/misc
  11. define KernelPackage/usb-core
  12. SUBMENU:=$(USB_MENU)
  13. TITLE:=Support for USB
  14. DEPENDS:=@USB_SUPPORT
  15. KCONFIG:=CONFIG_USB CONFIG_XPS_USB_HCD_XILINX=n CONFIG_USB_FHCI_HCD=n
  16. FILES:= \
  17. $(LINUX_DIR)/drivers/usb/core/usbcore.ko \
  18. $(LINUX_DIR)/drivers/usb/common/usb-common.ko
  19. AUTOLOAD:=$(call AutoLoad,20,usb-common usbcore,1)
  20. $(call AddDepends/nls)
  21. endef
  22. define KernelPackage/usb-core/description
  23. Kernel support for USB
  24. endef
  25. $(eval $(call KernelPackage,usb-core))
  26. define AddDepends/usb
  27. SUBMENU:=$(USB_MENU)
  28. DEPENDS+=+kmod-usb-core $(1)
  29. endef
  30. define KernelPackage/usb-musb-hdrc
  31. TITLE:=Support for Mentor Graphics silicon dual role USB
  32. KCONFIG:= \
  33. CONFIG_USB_MUSB_HDRC \
  34. CONFIG_USB_INVENTRA_DMA=n \
  35. CONFIG_USB_TI_CPPI41_DMA=n \
  36. CONFIG_MUSB_PIO_ONLY=y \
  37. CONFIG_USB_MUSB_DUAL_ROLE=y \
  38. CONFIG_USB_MUSB_GADGET=n \
  39. CONFIG_USB_MUSB_HOST=n \
  40. CONFIG_USB_MUSB_DEBUG=y
  41. DEPENDS:= \
  42. @(TARGET_omap||TARGET_omap24xx) +kmod-usb-gadget \
  43. +TARGET_omap24xx:kmod-usb-musb-tusb6010
  44. FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko
  45. AUTOLOAD:=$(call AutoLoad,46,musb_hdrc)
  46. $(call AddDepends/usb)
  47. endef
  48. define KernelPackage/usb-musb-hdrc/description
  49. Kernel support for Mentor Graphics silicon dual role USB device.
  50. endef
  51. $(eval $(call KernelPackage,usb-musb-hdrc))
  52. define KernelPackage/usb-musb-platformglue
  53. TITLE:=MUSB platform glue layer
  54. KCONFIG:= \
  55. CONFIG_USB_MUSB_TUSB6010=n \
  56. CONFIG_USB_MUSB_OMAP2PLUS=n \
  57. CONFIG_USB_MUSB_AM35X=n \
  58. CONFIG_USB_MUSB_DSPS \
  59. CONFIG_USB_MUSB_UX500=n
  60. DEPENDS:=@TARGET_omap +kmod-usb-phy-nop +kmod-usb-musb-hdrc +kmod-usb-phy-am335x
  61. FILES:= \
  62. $(LINUX_DIR)/drivers/usb/musb/musb_dsps.ko \
  63. $(LINUX_DIR)/drivers/usb/musb/musb_am335x.ko
  64. AUTOLOAD:=$(call AutoLoad,45,phy-omap-control musb_dsps musb_am335x)
  65. $(call AddDepends/usb)
  66. endef
  67. define KernelPackage/usb-musb-platformglue/description
  68. MUSB platform glue modules
  69. endef
  70. $(eval $(call KernelPackage,usb-musb-platformglue))
  71. define KernelPackage/usb-musb-tusb6010
  72. TITLE:=Support for TUSB 6010
  73. KCONFIG:=CONFIG_USB_MUSB_TUSB6010
  74. DEPENDS:=@TARGET_omap24xx
  75. $(call AddDepends/usb)
  76. endef
  77. define KernelPackage/usb-musb-tusb6010/description
  78. TUSB6010 support
  79. endef
  80. $(eval $(call KernelPackage,usb-musb-tusb6010))
  81. define KernelPackage/usb-phy-nop
  82. TITLE:=Support for USB NOP transceiver
  83. KCONFIG:=CONFIG_NOP_USB_XCEIV
  84. HIDDEN:=1
  85. FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-generic.ko
  86. AUTOLOAD:=$(call AutoLoad,43,phy-generic)
  87. $(call AddDepends/usb)
  88. endef
  89. define KernelPackage/usb-phy-nop/description
  90. Support for USB NOP transceiver
  91. endef
  92. $(eval $(call KernelPackage,usb-phy-nop))
  93. define KernelPackage/usb-phy-am335x
  94. TITLE:=Support for AM335x USB PHY
  95. KCONFIG:= \
  96. CONFIG_AM335X_PHY_USB \
  97. CONFIG_AM335X_CONTROL_USB
  98. DEPENDS:=@TARGET_omap +kmod-usb-phy-nop
  99. FILES:= \
  100. $(LINUX_DIR)/drivers/usb/phy/phy-am335x.ko \
  101. $(LINUX_DIR)/drivers/usb/phy/phy-am335x-control.ko
  102. AUTOLOAD:=$(call AutoLoad,44,phy-am335x)
  103. $(call AddDepends/usb)
  104. endef
  105. define KernelPackage/usb-phy-am335x/description
  106. Support for AM335x USB PHY
  107. endef
  108. $(eval $(call KernelPackage,usb-phy-am335x))
  109. define KernelPackage/usb-phy-omap-usb2
  110. TITLE:=Support for OMAP2 USB PHY
  111. KCONFIG:= \
  112. CONFIG_OMAP_USB2 \
  113. CONFIG_OMAP_CONTROL_PHY
  114. DEPENDS:=@TARGET_omap
  115. FILES:= \
  116. $(LINUX_DIR)/drivers/phy/phy-omap-usb2.ko \
  117. $(LINUX_DIR)/drivers/phy/phy-omap-control.ko
  118. AUTOLOAD:=$(call AutoLoad,45,phy-omap-control phy-omap-usb2)
  119. $(call AddDepends/usb)
  120. endef
  121. define KernelPackage/usb-phy-omap-usb2/description
  122. Support for AM335x USB PHY
  123. endef
  124. $(eval $(call KernelPackage,usb-phy-omap-usb2))
  125. define KernelPackage/usb-phy-omap-usb3
  126. TITLE:=Support for OMAP USB3 PHY
  127. KCONFIG:=CONFIG_OMAP_USB3
  128. DEPENDS:=@TARGET_omap +kmod-usb-phy-omap-usb2
  129. FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-omap-usb3.ko
  130. AUTOLOAD:=$(call AutoLoad,45,phy-omap-usb3)
  131. $(call AddDepends/usb)
  132. endef
  133. define KernelPackage/usb-phy-omap-usb3/description
  134. Support for OMAP USB3 PHY
  135. endef
  136. $(eval $(call KernelPackage,usb-phy-omap-usb3))
  137. define KernelPackage/usb-phy-twl4030
  138. TITLE:=Support for TWL4030 OTG PHY
  139. KCONFIG:=CONFIG_TWL4030_USB
  140. DEPENDS:=@TARGET_omap +kmod-usb-phy-omap-usb2 +kmod-usb-musb-hdrc
  141. FILES:=$(LINUX_DIR)/drivers/phy/phy-twl4030-usb.ko
  142. AUTOLOAD:=$(call AutoLoad,45,phy-twl4030-usb)
  143. $(call AddDepends/usb)
  144. endef
  145. define KernelPackage/usb-phy-twl4030/description
  146. Support for TWL4030/TWL5030/TPS659x0 OTG PHY
  147. endef
  148. $(eval $(call KernelPackage,usb-phy-twl4030))
  149. define KernelPackage/usb-phy-twl6030
  150. TITLE:=Support for TWL6030 OTG PHY
  151. KCONFIG:=CONFIG_TWL6030_USB
  152. DEPENDS:=@TARGET_omap +kmod-usb-phy-omap-usb2 +kmod-usb-musb-hdrc
  153. FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-twl6030-usb.ko
  154. AUTOLOAD:=$(call AutoLoad,45,phy-twl6030-usb)
  155. $(call AddDepends/usb)
  156. endef
  157. define KernelPackage/usb-phy-twl6030/description
  158. Support for TWL6030 OTG PHY
  159. endef
  160. $(eval $(call KernelPackage,usb-phy-twl6030))
  161. define KernelPackage/usb-gadget
  162. TITLE:=USB Gadget support
  163. KCONFIG:=CONFIG_USB_GADGET
  164. FILES:=\
  165. $(LINUX_DIR)/drivers/usb/gadget/udc/udc-core.ko
  166. AUTOLOAD:=$(call AutoLoad,45,udc-core)
  167. DEPENDS:=@USB_GADGET_SUPPORT
  168. $(call AddDepends/usb)
  169. endef
  170. define KernelPackage/usb-gadget/description
  171. Kernel support for USB Gadget mode
  172. endef
  173. $(eval $(call KernelPackage,usb-gadget))
  174. define KernelPackage/usb-lib-composite
  175. TITLE:=USB lib composite
  176. KCONFIG:=CONFIG_USB_LIBCOMPOSITE
  177. DEPENDS:=+kmod-usb-gadget +kmod-fs-configfs
  178. FILES:=$(LINUX_DIR)/drivers/usb/gadget/libcomposite.ko
  179. AUTOLOAD:=$(call AutoLoad,50,libcomposite)
  180. $(call AddDepends/usb)
  181. endef
  182. define KernelPackage/usb-lib-composite/description
  183. Lib Composite
  184. endef
  185. $(eval $(call KernelPackage,usb-lib-composite))
  186. define KernelPackage/usb-eth-gadget
  187. TITLE:=USB Ethernet Gadget support
  188. KCONFIG:= \
  189. CONFIG_USB_ETH \
  190. CONFIG_USB_ETH_RNDIS=y \
  191. CONFIG_USB_ETH_EEM=n
  192. DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite
  193. FILES:= \
  194. $(LINUX_DIR)/drivers/usb/gadget/function/u_ether.ko \
  195. $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm.ko \
  196. $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_ecm_subset.ko \
  197. $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_rndis.ko \
  198. $(LINUX_DIR)/drivers/usb/gadget/legacy/g_ether.ko
  199. AUTOLOAD:=$(call AutoLoad,52,usb_f_ecm g_ether)
  200. $(call AddDepends/usb)
  201. endef
  202. define KernelPackage/usb-eth-gadget/description
  203. Kernel support for USB Ethernet Gadget
  204. endef
  205. $(eval $(call KernelPackage,usb-eth-gadget))
  206. define KernelPackage/usb-serial-gadget
  207. TITLE:=USB Serial Gadget support
  208. KCONFIG:=CONFIG_USB_G_SERIAL
  209. DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite
  210. FILES:= \
  211. $(LINUX_DIR)/drivers/usb/gadget/function/u_serial.ko \
  212. $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_acm.ko \
  213. $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_obex.ko \
  214. $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_serial.ko \
  215. $(LINUX_DIR)/drivers/usb/gadget/legacy/g_serial.ko
  216. AUTOLOAD:=$(call AutoLoad,52,usb_f_acm g_serial)
  217. $(call AddDepends/usb)
  218. endef
  219. define KernelPackage/usb-serial-gadget/description
  220. Kernel support for USB Serial Gadget.
  221. endef
  222. $(eval $(call KernelPackage,usb-serial-gadget))
  223. define KernelPackage/usb-mass-storage-gadget
  224. TITLE:=USB Mass Storage support
  225. KCONFIG:=CONFIG_USB_MASS_STORAGE
  226. DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite
  227. FILES:= \
  228. $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_mass_storage.ko \
  229. $(LINUX_DIR)/drivers/usb/gadget/legacy/g_mass_storage.ko
  230. AUTOLOAD:=$(call AutoLoad,52,usb_f_mass_storage g_mass_storage)
  231. $(call AddDepends/usb)
  232. endef
  233. define KernelPackage/usb-mass-storage-gadget/description
  234. Kernel support for USB Gadget Mass Storage
  235. endef
  236. $(eval $(call KernelPackage,usb-mass-storage-gadget))
  237. define KernelPackage/usb-storage-gadget
  238. TITLE:=USB Mass Storage Gadget support
  239. KCONFIG:=CONFIG_USB_F_MASS_STORAGE
  240. DEPENDS:=+kmod-usb-gadget +kmod-usb-lib-composite
  241. FILES:= \
  242. $(LINUX_DIR)/drivers/usb/gadget/function/usb_f_mass_storage.ko \
  243. $(LINUX_DIR)/drivers/usb/gadget/legacy/g_mass_storage.ko
  244. AUTOLOAD:=$(call AutoLoad,52,usb_f_mass_storage g_mass_storage)
  245. $(call AddDepends/usb)
  246. endef
  247. define KernelPackage/usb-storage-gadget/description
  248. Kernel support for USB Mass Storage Gadget.
  249. endef
  250. $(eval $(call KernelPackage,usb-storage-gadget))
  251. define KernelPackage/usb-uhci
  252. TITLE:=Support for UHCI controllers
  253. KCONFIG:= \
  254. CONFIG_USB_UHCI_ALT \
  255. CONFIG_USB_UHCI_HCD
  256. FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
  257. AUTOLOAD:=$(call AutoLoad,50,uhci-hcd,1)
  258. $(call AddDepends/usb)
  259. endef
  260. define KernelPackage/usb-uhci/description
  261. Kernel support for USB UHCI controllers
  262. endef
  263. $(eval $(call KernelPackage,usb-uhci,1))
  264. define KernelPackage/usb-ohci
  265. TITLE:=Support for OHCI controllers
  266. DEPENDS:= \
  267. +TARGET_bcm53xx:kmod-usb-bcma \
  268. +TARGET_brcm47xx:kmod-usb-bcma \
  269. +TARGET_brcm47xx:kmod-usb-ssb
  270. KCONFIG:= \
  271. CONFIG_USB_OHCI \
  272. CONFIG_USB_OHCI_HCD \
  273. CONFIG_USB_OHCI_ATH79=y \
  274. CONFIG_USB_OHCI_HCD_AT91=y \
  275. CONFIG_USB_OHCI_BCM63XX=y \
  276. CONFIG_USB_OCTEON_OHCI=y \
  277. CONFIG_USB_OHCI_HCD_OMAP3=y \
  278. CONFIG_USB_OHCI_HCD_PLATFORM=y
  279. FILES:= \
  280. $(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko \
  281. $(LINUX_DIR)/drivers/usb/host/ohci-platform.ko
  282. ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ohci-at91.ko),)
  283. FILES+=$(LINUX_DIR)/drivers/usb/host/ohci-at91.ko
  284. endif
  285. AUTOLOAD:=$(call AutoLoad,50,ohci-hcd ohci-platform ohci-at91,1)
  286. $(call AddDepends/usb)
  287. endef
  288. define KernelPackage/usb-ohci/description
  289. Kernel support for USB OHCI controllers
  290. endef
  291. $(eval $(call KernelPackage,usb-ohci,1))
  292. define KernelPackage/usb-ohci-pci
  293. TITLE:=Support for PCI OHCI controllers
  294. DEPENDS:=@PCI_SUPPORT +kmod-usb-ohci
  295. KCONFIG:=CONFIG_USB_OHCI_HCD_PCI
  296. FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-pci.ko
  297. AUTOLOAD:=$(call AutoLoad,51,ohci-pci,1)
  298. $(call AddDepends/usb)
  299. endef
  300. define KernelPackage/usb-ohci-pci/description
  301. Kernel support for PCI OHCI controllers
  302. endef
  303. $(eval $(call KernelPackage,usb-ohci-pci))
  304. define KernelPackage/usb2-fsl
  305. TITLE:=Support for Freescale USB2 controllers
  306. DEPENDS:=@TARGET_mpc85xx
  307. HIDDEN:=1
  308. KCONFIG:=CONFIG_USB_FSL_MPH_DR_OF
  309. FILES:=$(LINUX_DIR)/drivers/usb/host/fsl-mph-dr-of.ko
  310. AUTOLOAD:=$(call AutoLoad,39,fsl-mph-dr-of,1)
  311. $(call AddDepends/usb)
  312. endef
  313. define KernelPackage/usb2-fsl/description
  314. Kernel support for Freescale USB2 (EHCI) controllers
  315. endef
  316. $(eval $(call KernelPackage,usb2-fsl))
  317. define KernelPackage/usb2-omap
  318. TITLE:=Support for USB2 for OMAP
  319. DEPENDS:=@TARGET_omap +kmod-usb-phy-nop +kmod-usb-phy-am335x +kmod-usb2
  320. KCONFIG:=\
  321. CONFIG_MFD_OMAP_USB_HOST=y \
  322. CONFIG_USB_EHCI_HCD_OMAP
  323. FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-omap.ko
  324. AUTOLOAD:=$(call AutoLoad,39,ehci-omap)
  325. $(call AddDepends/usb)
  326. endef
  327. define KernelPackage/usb2-omap/description
  328. Kernel support for OMAP USB2 (EHCI) controllers
  329. endef
  330. $(eval $(call KernelPackage,usb2-omap))
  331. define KernelPackage/usb-bcma
  332. TITLE:=Support for BCMA USB controllers
  333. DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx||TARGET_bcm53xx
  334. HIDDEN:=1
  335. KCONFIG:=CONFIG_USB_HCD_BCMA
  336. FILES:= \
  337. $(if $(CONFIG_USB_HCD_BCMA),$(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko)
  338. AUTOLOAD:=$(call AutoLoad,19,$(if $(CONFIG_USB_HCD_BCMA),bcma-hcd),1)
  339. $(call AddDepends/usb)
  340. endef
  341. $(eval $(call KernelPackage,usb-bcma))
  342. define KernelPackage/usb-ssb
  343. TITLE:=Support for SSB USB controllers
  344. DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx
  345. HIDDEN:=1
  346. KCONFIG:=CONFIG_USB_HCD_SSB
  347. FILES:= \
  348. $(if $(CONFIG_USB_HCD_SSB),$(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko)
  349. AUTOLOAD:=$(call AutoLoad,19,$(if $(CONFIG_USB_HCD_SSB),ssb-hcd),1)
  350. $(call AddDepends/usb)
  351. endef
  352. $(eval $(call KernelPackage,usb-ssb))
  353. define KernelPackage/usb2
  354. TITLE:=Support for USB2 controllers
  355. DEPENDS:=\
  356. +TARGET_brcm47xx:kmod-usb-bcma \
  357. +TARGET_brcm47xx:kmod-usb-ssb \
  358. +TARGET_bcm53xx:kmod-usb-bcma \
  359. +TARGET_mpc85xx:kmod-usb2-fsl
  360. KCONFIG:=\
  361. CONFIG_USB_EHCI_HCD \
  362. CONFIG_USB_EHCI_ATH79=y \
  363. CONFIG_USB_EHCI_BCM63XX=y \
  364. CONFIG_USB_IMX21_HCD=y \
  365. CONFIG_USB_EHCI_MXC=y \
  366. CONFIG_USB_OCTEON_EHCI=y \
  367. CONFIG_USB_EHCI_HCD_ORION=y \
  368. CONFIG_USB_EHCI_HCD_PLATFORM=y \
  369. CONFIG_USB_EHCI_HCD_AT91=y \
  370. CONFIG_USB_EHCI_FSL
  371. FILES:= \
  372. $(LINUX_DIR)/drivers/usb/host/ehci-hcd.ko \
  373. $(LINUX_DIR)/drivers/usb/host/ehci-platform.ko
  374. ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ehci-orion.ko),)
  375. FILES+=$(LINUX_DIR)/drivers/usb/host/ehci-orion.ko
  376. endif
  377. ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ehci-atmel.ko),)
  378. FILES+=$(LINUX_DIR)/drivers/usb/host/ehci-atmel.ko
  379. endif
  380. ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/host/ehci-fsl.ko),)
  381. FILES+=$(LINUX_DIR)/drivers/usb/host/ehci-fsl.ko
  382. endif
  383. AUTOLOAD:=$(call AutoLoad,40,ehci-hcd ehci-platform ehci-orion ehci-atmel ehci-fsl,1)
  384. $(call AddDepends/usb)
  385. endef
  386. define KernelPackage/usb2/description
  387. Kernel support for USB2 (EHCI) controllers
  388. endef
  389. $(eval $(call KernelPackage,usb2))
  390. define KernelPackage/usb2-pci
  391. TITLE:=Support for PCI USB2 controllers
  392. DEPENDS:=@PCI_SUPPORT +kmod-usb2
  393. KCONFIG:=CONFIG_USB_EHCI_PCI
  394. FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-pci.ko
  395. AUTOLOAD:=$(call AutoLoad,42,ehci-pci,1)
  396. $(call AddDepends/usb)
  397. endef
  398. define KernelPackage/usb2-pci/description
  399. Kernel support for PCI USB2 (EHCI) controllers
  400. endef
  401. $(eval $(call KernelPackage,usb2-pci))
  402. define KernelPackage/usb-dwc2
  403. TITLE:=DWC2 USB controller driver
  404. DEPENDS:=+(TARGET_brcm2708||TARGET_at91||TARGET_brcm63xx||TARGET_mxs||TARGET_imx6||TARGET_omap||TARGET_socfpga):kmod-usb-gadget
  405. KCONFIG:= \
  406. CONFIG_USB_DWC2 \
  407. CONFIG_USB_DWC2_PCI \
  408. CONFIG_USB_DWC2_PLATFORM \
  409. CONFIG_USB_DWC2_DEBUG=n \
  410. CONFIG_USB_DWC2_VERBOSE=n \
  411. CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n \
  412. CONFIG_USB_DWC2_DEBUG_PERIODIC=n
  413. CONFIG_USB_DWC2_DUAL_ROLE=y
  414. FILES:= \
  415. $(LINUX_DIR)/drivers/usb/dwc2/dwc2.ko \
  416. $(LINUX_DIR)/drivers/usb/dwc2/dwc2_platform.ko@lt4.3
  417. AUTOLOAD:=$(call AutoLoad,54,dwc2 dwc2_platform@lt4.3,1)
  418. $(call AddDepends/usb)
  419. endef
  420. define KernelPackage/usb-dwc2/description
  421. This driver provides USB Device Controller support for the
  422. Synopsys DesignWare USB OTG Core
  423. endef
  424. $(eval $(call KernelPackage,usb-dwc2))
  425. define KernelPackage/usb-dwc3
  426. TITLE:=DWC3 USB controller driver
  427. KCONFIG:= \
  428. CONFIG_USB_DWC3 \
  429. CONFIG_USB_DWC3_HOST=y \
  430. CONFIG_USB_DWC3_GADGET=n \
  431. CONFIG_USB_DWC3_DUAL_ROLE=n \
  432. CONFIG_USB_DWC3_DEBUG=n \
  433. CONFIG_USB_DWC3_VERBOSE=n
  434. FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3.ko
  435. AUTOLOAD:=$(call AutoLoad,54,dwc3,1)
  436. $(call AddDepends/usb)
  437. endef
  438. define KernelPackage/usb-dwc3/description
  439. This driver provides support for the Dual Role SuperSpeed
  440. USB Controller based on the Synopsys DesignWare USB3 IP Core
  441. endef
  442. $(eval $(call KernelPackage,usb-dwc3))
  443. define KernelPackage/usb-acm
  444. TITLE:=Support for modems/isdn controllers
  445. KCONFIG:=CONFIG_USB_ACM
  446. FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-acm.ko
  447. AUTOLOAD:=$(call AutoProbe,cdc-acm)
  448. $(call AddDepends/usb)
  449. endef
  450. define KernelPackage/usb-acm/description
  451. Kernel support for USB ACM devices (modems/isdn controllers)
  452. endef
  453. $(eval $(call KernelPackage,usb-acm))
  454. define KernelPackage/usb-wdm
  455. TITLE:=USB Wireless Device Management
  456. KCONFIG:=CONFIG_USB_WDM
  457. FILES:=$(LINUX_DIR)/drivers/usb/class/cdc-wdm.ko
  458. AUTOLOAD:=$(call AutoProbe,cdc-wdm)
  459. $(call AddDepends/usb)
  460. $(call AddDepends/usb-net)
  461. endef
  462. define KernelPackage/usb-wdm/description
  463. USB Wireless Device Management support
  464. endef
  465. $(eval $(call KernelPackage,usb-wdm))
  466. define KernelPackage/usb-audio
  467. TITLE:=Support for USB audio devices
  468. KCONFIG:= \
  469. CONFIG_USB_AUDIO \
  470. CONFIG_SND_USB=y \
  471. CONFIG_SND_USB_AUDIO
  472. $(call AddDepends/usb)
  473. $(call AddDepends/sound)
  474. FILES:= \
  475. $(LINUX_DIR)/sound/usb/snd-usbmidi-lib.ko \
  476. $(LINUX_DIR)/sound/usb/snd-usb-audio.ko
  477. AUTOLOAD:=$(call AutoProbe,snd-usbmidi-lib snd-usb-audio)
  478. endef
  479. define KernelPackage/usb-audio/description
  480. Kernel support for USB audio devices
  481. endef
  482. $(eval $(call KernelPackage,usb-audio))
  483. define KernelPackage/usb-printer
  484. TITLE:=Support for printers
  485. KCONFIG:=CONFIG_USB_PRINTER
  486. FILES:=$(LINUX_DIR)/drivers/usb/class/usblp.ko
  487. AUTOLOAD:=$(call AutoProbe,usblp)
  488. $(call AddDepends/usb)
  489. endef
  490. define KernelPackage/usb-printer/description
  491. Kernel support for USB printers
  492. endef
  493. $(eval $(call KernelPackage,usb-printer))
  494. define KernelPackage/usb-serial
  495. TITLE:=Support for USB-to-Serial converters
  496. KCONFIG:=CONFIG_USB_SERIAL
  497. FILES:=$(LINUX_DIR)/drivers/usb/serial/usbserial.ko
  498. AUTOLOAD:=$(call AutoProbe,usbserial)
  499. $(call AddDepends/usb)
  500. endef
  501. define KernelPackage/usb-serial/description
  502. Kernel support for USB-to-Serial converters
  503. endef
  504. $(eval $(call KernelPackage,usb-serial))
  505. define AddDepends/usb-serial
  506. SUBMENU:=$(USB_MENU)
  507. DEPENDS+=kmod-usb-serial $(1)
  508. endef
  509. define KernelPackage/usb-serial-belkin
  510. TITLE:=Support for Belkin devices
  511. KCONFIG:=CONFIG_USB_SERIAL_BELKIN
  512. FILES:=$(LINUX_DIR)/drivers/usb/serial/belkin_sa.ko
  513. AUTOLOAD:=$(call AutoProbe,belkin_sa)
  514. $(call AddDepends/usb-serial)
  515. endef
  516. define KernelPackage/usb-serial-belkin/description
  517. Kernel support for Belkin USB-to-Serial converters
  518. endef
  519. $(eval $(call KernelPackage,usb-serial-belkin))
  520. define KernelPackage/usb-serial-ch341
  521. TITLE:=Support for CH341 devices
  522. KCONFIG:=CONFIG_USB_SERIAL_CH341
  523. FILES:=$(LINUX_DIR)/drivers/usb/serial/ch341.ko
  524. AUTOLOAD:=$(call AutoProbe,ch341)
  525. $(call AddDepends/usb-serial)
  526. endef
  527. define KernelPackage/usb-serial-ch341/description
  528. Kernel support for Winchiphead CH341 USB-to-Serial converters
  529. endef
  530. $(eval $(call KernelPackage,usb-serial-ch341))
  531. define KernelPackage/usb-serial-ftdi
  532. TITLE:=Support for FTDI devices
  533. KCONFIG:=CONFIG_USB_SERIAL_FTDI_SIO
  534. FILES:=$(LINUX_DIR)/drivers/usb/serial/ftdi_sio.ko
  535. AUTOLOAD:=$(call AutoProbe,ftdi_sio)
  536. $(call AddDepends/usb-serial)
  537. endef
  538. define KernelPackage/usb-serial-ftdi/description
  539. Kernel support for FTDI USB-to-Serial converters
  540. endef
  541. $(eval $(call KernelPackage,usb-serial-ftdi))
  542. define KernelPackage/usb-serial-garmin
  543. TITLE:=Support for Garmin GPS devices
  544. KCONFIG:=CONFIG_USB_SERIAL_GARMIN
  545. FILES:=$(LINUX_DIR)/drivers/usb/serial/garmin_gps.ko
  546. AUTOLOAD:=$(call AutoProbe,garmin_gps)
  547. $(call AddDepends/usb-serial)
  548. endef
  549. define KernelPackage/usb-serial-garmin/description
  550. Should work with most Garmin GPS devices which have a native USB port.
  551. endef
  552. $(eval $(call KernelPackage,usb-serial-garmin))
  553. define KernelPackage/usb-serial-simple
  554. TITLE:=USB Serial Simple (Motorola phone)
  555. KCONFIG:=CONFIG_USB_SERIAL_SIMPLE
  556. FILES:=$(LINUX_DIR)/drivers/usb/serial/usb-serial-simple.ko
  557. AUTOLOAD:=$(call AutoProbe,usb-serial-simple)
  558. $(call AddDepends/usb-serial)
  559. endef
  560. define KernelPackage/usb-serial-simple/description
  561. Kernel support for "very simple devices".
  562. Specifically, it supports:
  563. - Suunto ANT+ USB device.
  564. - Medtronic CareLink USB device (3.18)
  565. - Fundamental Software dongle.
  566. - Google USB serial devices (3.19)
  567. - HP4x calculators
  568. - a number of Motorola phones
  569. - Novatel Wireless GPS receivers (3.18)
  570. - Siemens USB/MPI adapter.
  571. - ViVOtech ViVOpay USB device.
  572. - Infineon Modem Flashloader USB interface
  573. - ZIO Motherboard USB serial interface
  574. endef
  575. $(eval $(call KernelPackage,usb-serial-simple))
  576. define KernelPackage/usb-serial-ti-usb
  577. TITLE:=Support for TI USB 3410/5052
  578. KCONFIG:=CONFIG_USB_SERIAL_TI
  579. FILES:=$(LINUX_DIR)/drivers/usb/serial/ti_usb_3410_5052.ko
  580. AUTOLOAD:=$(call AutoProbe,ti_usb_3410_5052)
  581. $(call AddDepends/usb-serial)
  582. endef
  583. define KernelPackage/usb-serial-ti-usb/description
  584. Kernel support for TI USB 3410/5052 devices
  585. endef
  586. $(eval $(call KernelPackage,usb-serial-ti-usb))
  587. define KernelPackage/usb-serial-ipw
  588. TITLE:=Support for IPWireless 3G devices
  589. KCONFIG:=CONFIG_USB_SERIAL_IPW
  590. FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.ko
  591. AUTOLOAD:=$(call AutoProbe,ipw)
  592. $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
  593. endef
  594. $(eval $(call KernelPackage,usb-serial-ipw))
  595. define KernelPackage/usb-serial-mct
  596. TITLE:=Support for Magic Control Tech. devices
  597. KCONFIG:=CONFIG_USB_SERIAL_MCT_U232
  598. FILES:=$(LINUX_DIR)/drivers/usb/serial/mct_u232.ko
  599. AUTOLOAD:=$(call AutoProbe,mct_u232)
  600. $(call AddDepends/usb-serial)
  601. endef
  602. define KernelPackage/usb-serial-mct/description
  603. Kernel support for Magic Control Technology USB-to-Serial converters
  604. endef
  605. $(eval $(call KernelPackage,usb-serial-mct))
  606. define KernelPackage/usb-serial-mos7720
  607. TITLE:=Support for Moschip MOS7720 devices
  608. KCONFIG:=CONFIG_USB_SERIAL_MOS7720
  609. FILES:=$(LINUX_DIR)/drivers/usb/serial/mos7720.ko
  610. AUTOLOAD:=$(call AutoProbe,mos7720)
  611. $(call AddDepends/usb-serial)
  612. endef
  613. define KernelPackage/usb-serial-mos7720/description
  614. Kernel support for Moschip MOS7720 USB-to-Serial converters
  615. endef
  616. $(eval $(call KernelPackage,usb-serial-mos7720))
  617. define KernelPackage/usb-serial-pl2303
  618. TITLE:=Support for Prolific PL2303 devices
  619. KCONFIG:=CONFIG_USB_SERIAL_PL2303
  620. FILES:=$(LINUX_DIR)/drivers/usb/serial/pl2303.ko
  621. AUTOLOAD:=$(call AutoProbe,pl2303)
  622. $(call AddDepends/usb-serial)
  623. endef
  624. define KernelPackage/usb-serial-pl2303/description
  625. Kernel support for Prolific PL2303 USB-to-Serial converters
  626. endef
  627. $(eval $(call KernelPackage,usb-serial-pl2303))
  628. define KernelPackage/usb-serial-cp210x
  629. TITLE:=Support for Silicon Labs cp210x devices
  630. KCONFIG:=CONFIG_USB_SERIAL_CP210X
  631. FILES:=$(LINUX_DIR)/drivers/usb/serial/cp210x.ko
  632. AUTOLOAD:=$(call AutoProbe,cp210x)
  633. $(call AddDepends/usb-serial)
  634. endef
  635. define KernelPackage/usb-serial-cp210x/description
  636. Kernel support for Silicon Labs cp210x USB-to-Serial converters
  637. endef
  638. $(eval $(call KernelPackage,usb-serial-cp210x))
  639. define KernelPackage/usb-serial-ark3116
  640. TITLE:=Support for ArkMicroChips ARK3116 devices
  641. KCONFIG:=CONFIG_USB_SERIAL_ARK3116
  642. FILES:=$(LINUX_DIR)/drivers/usb/serial/ark3116.ko
  643. AUTOLOAD:=$(call AutoProbe,ark3116)
  644. $(call AddDepends/usb-serial)
  645. endef
  646. define KernelPackage/usb-serial-ark3116/description
  647. Kernel support for ArkMicroChips ARK3116 USB-to-Serial converters
  648. endef
  649. $(eval $(call KernelPackage,usb-serial-ark3116))
  650. define KernelPackage/usb-serial-oti6858
  651. TITLE:=Support for Ours Technology OTI6858 devices
  652. KCONFIG:=CONFIG_USB_SERIAL_OTI6858
  653. FILES:=$(LINUX_DIR)/drivers/usb/serial/oti6858.ko
  654. AUTOLOAD:=$(call AutoProbe,oti6858)
  655. $(call AddDepends/usb-serial)
  656. endef
  657. define KernelPackage/usb-serial-oti6858/description
  658. Kernel support for Ours Technology OTI6858 USB-to-Serial converters
  659. endef
  660. $(eval $(call KernelPackage,usb-serial-oti6858))
  661. define KernelPackage/usb-serial-sierrawireless
  662. TITLE:=Support for Sierra Wireless devices
  663. KCONFIG:=CONFIG_USB_SERIAL_SIERRAWIRELESS
  664. FILES:=$(LINUX_DIR)/drivers/usb/serial/sierra.ko
  665. AUTOLOAD:=$(call AutoProbe,sierra)
  666. $(call AddDepends/usb-serial)
  667. endef
  668. define KernelPackage/usb-serial-sierrawireless/description
  669. Kernel support for Sierra Wireless devices
  670. endef
  671. $(eval $(call KernelPackage,usb-serial-sierrawireless))
  672. define KernelPackage/usb-serial-visor
  673. TITLE:=Support for Handspring Visor devices
  674. KCONFIG:=CONFIG_USB_SERIAL_VISOR
  675. FILES:=$(LINUX_DIR)/drivers/usb/serial/visor.ko
  676. AUTOLOAD:=$(call AutoProbe,visor)
  677. $(call AddDepends/usb-serial)
  678. endef
  679. define KernelPackage/usb-serial-visor/description
  680. Kernel support for Handspring Visor PDAs
  681. endef
  682. $(eval $(call KernelPackage,usb-serial-visor))
  683. define KernelPackage/usb-serial-cypress-m8
  684. TITLE:=Support for CypressM8 USB-Serial
  685. KCONFIG:=CONFIG_USB_SERIAL_CYPRESS_M8
  686. FILES:=$(LINUX_DIR)/drivers/usb/serial/cypress_m8.ko
  687. AUTOLOAD:=$(call AutoProbe,cypress_m8)
  688. $(call AddDepends/usb-serial)
  689. endef
  690. define KernelPackage/usb-serial-cypress-m8/description
  691. Kernel support for devices with Cypress M8 USB to Serial chip
  692. (for example, the Delorme Earthmate LT-20 GPS)
  693. Supported microcontrollers in the CY4601 family are:
  694. CY7C63741 CY7C63742 CY7C63743 CY7C64013
  695. endef
  696. $(eval $(call KernelPackage,usb-serial-cypress-m8))
  697. define KernelPackage/usb-serial-keyspan
  698. TITLE:=Support for Keyspan USB-to-Serial devices
  699. KCONFIG:= \
  700. CONFIG_USB_SERIAL_KEYSPAN \
  701. CONFIG_USB_SERIAL_KEYSPAN_USA28 \
  702. CONFIG_USB_SERIAL_KEYSPAN_USA28X \
  703. CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
  704. CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
  705. CONFIG_USB_SERIAL_KEYSPAN_USA19 \
  706. CONFIG_USB_SERIAL_KEYSPAN_USA18X \
  707. CONFIG_USB_SERIAL_KEYSPAN_USA19W \
  708. CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
  709. CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
  710. CONFIG_USB_SERIAL_KEYSPAN_MPR \
  711. CONFIG_USB_SERIAL_KEYSPAN_USA49W \
  712. CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
  713. FILES:= \
  714. $(LINUX_DIR)/drivers/usb/serial/keyspan.ko \
  715. $(wildcard $(LINUX_DIR)/drivers/usb/misc/ezusb.ko)
  716. AUTOLOAD:=$(call AutoProbe,ezusb keyspan)
  717. $(call AddDepends/usb-serial)
  718. endef
  719. define KernelPackage/usb-serial-keyspan/description
  720. Kernel support for Keyspan USB-to-Serial devices
  721. endef
  722. $(eval $(call KernelPackage,usb-serial-keyspan))
  723. define KernelPackage/usb-serial-wwan
  724. TITLE:=Support for GSM and CDMA modems
  725. KCONFIG:=CONFIG_USB_SERIAL_WWAN
  726. FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko
  727. AUTOLOAD:=$(call AutoProbe,usb_wwan)
  728. $(call AddDepends/usb-serial)
  729. endef
  730. define KernelPackage/usb-serial-wwan/description
  731. Kernel support for USB GSM and CDMA modems
  732. endef
  733. $(eval $(call KernelPackage,usb-serial-wwan))
  734. define KernelPackage/usb-serial-option
  735. TITLE:=Support for Option HSDPA modems
  736. DEPENDS:=+kmod-usb-serial-wwan
  737. KCONFIG:=CONFIG_USB_SERIAL_OPTION
  738. FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko
  739. AUTOLOAD:=$(call AutoProbe,option)
  740. $(call AddDepends/usb-serial)
  741. endef
  742. define KernelPackage/usb-serial-option/description
  743. Kernel support for Option HSDPA modems
  744. endef
  745. $(eval $(call KernelPackage,usb-serial-option))
  746. define KernelPackage/usb-serial-qualcomm
  747. TITLE:=Support for Qualcomm USB serial
  748. KCONFIG:=CONFIG_USB_SERIAL_QUALCOMM
  749. FILES:=$(LINUX_DIR)/drivers/usb/serial/qcserial.ko
  750. AUTOLOAD:=$(call AutoProbe,qcserial)
  751. $(call AddDepends/usb-serial,+kmod-usb-serial-wwan)
  752. endef
  753. define KernelPackage/usb-serial-qualcomm/description
  754. Kernel support for Qualcomm USB Serial devices (Gobi)
  755. endef
  756. $(eval $(call KernelPackage,usb-serial-qualcomm))
  757. define KernelPackage/usb-storage
  758. TITLE:=USB Storage support
  759. DEPENDS:= +kmod-scsi-core
  760. KCONFIG:=CONFIG_USB_STORAGE
  761. FILES:=$(LINUX_DIR)/drivers/usb/storage/usb-storage.ko
  762. AUTOLOAD:=$(call AutoProbe,usb-storage,1)
  763. $(call AddDepends/usb)
  764. endef
  765. define KernelPackage/usb-storage/description
  766. Kernel support for USB Mass Storage devices
  767. endef
  768. $(eval $(call KernelPackage,usb-storage))
  769. define KernelPackage/usb-storage-extras
  770. SUBMENU:=$(USB_MENU)
  771. TITLE:=Extra drivers for usb-storage
  772. DEPENDS:=+kmod-usb-storage
  773. KCONFIG:= \
  774. CONFIG_USB_STORAGE_ALAUDA \
  775. CONFIG_USB_STORAGE_CYPRESS_ATACB \
  776. CONFIG_USB_STORAGE_DATAFAB \
  777. CONFIG_USB_STORAGE_FREECOM \
  778. CONFIG_USB_STORAGE_ISD200 \
  779. CONFIG_USB_STORAGE_JUMPSHOT \
  780. CONFIG_USB_STORAGE_KARMA \
  781. CONFIG_USB_STORAGE_SDDR09 \
  782. CONFIG_USB_STORAGE_SDDR55 \
  783. CONFIG_USB_STORAGE_USBAT
  784. FILES:= \
  785. $(LINUX_DIR)/drivers/usb/storage/ums-alauda.ko \
  786. $(LINUX_DIR)/drivers/usb/storage/ums-cypress.ko \
  787. $(LINUX_DIR)/drivers/usb/storage/ums-datafab.ko \
  788. $(LINUX_DIR)/drivers/usb/storage/ums-freecom.ko \
  789. $(LINUX_DIR)/drivers/usb/storage/ums-isd200.ko \
  790. $(LINUX_DIR)/drivers/usb/storage/ums-jumpshot.ko \
  791. $(LINUX_DIR)/drivers/usb/storage/ums-karma.ko \
  792. $(LINUX_DIR)/drivers/usb/storage/ums-sddr09.ko \
  793. $(LINUX_DIR)/drivers/usb/storage/ums-sddr55.ko \
  794. $(LINUX_DIR)/drivers/usb/storage/ums-usbat.ko
  795. AUTOLOAD:=$(call AutoProbe,ums-alauda ums-cypress ums-datafab \
  796. ums-freecom ums-isd200 ums-jumpshot \
  797. ums-karma ums-sddr09 ums-sddr55 ums-usbat)
  798. endef
  799. define KernelPackage/usb-storage-extras/description
  800. Say Y here if you want to have some more drivers,
  801. such as for SmartMedia card readers
  802. endef
  803. $(eval $(call KernelPackage,usb-storage-extras))
  804. define KernelPackage/usb-atm
  805. TITLE:=Support for ATM on USB bus
  806. DEPENDS:=+kmod-atm
  807. KCONFIG:=CONFIG_USB_ATM
  808. FILES:=$(LINUX_DIR)/drivers/usb/atm/usbatm.ko
  809. AUTOLOAD:=$(call AutoProbe,usbatm)
  810. $(call AddDepends/usb)
  811. endef
  812. define KernelPackage/usb-atm/description
  813. Kernel support for USB DSL modems
  814. endef
  815. $(eval $(call KernelPackage,usb-atm))
  816. define AddDepends/usb-atm
  817. SUBMENU:=$(USB_MENU)
  818. DEPENDS+=kmod-usb-atm $(1)
  819. endef
  820. define KernelPackage/usb-atm-speedtouch
  821. TITLE:=SpeedTouch USB ADSL modems support
  822. KCONFIG:=CONFIG_USB_SPEEDTOUCH
  823. FILES:=$(LINUX_DIR)/drivers/usb/atm/speedtch.ko
  824. AUTOLOAD:=$(call AutoProbe,speedtch)
  825. $(call AddDepends/usb-atm)
  826. endef
  827. define KernelPackage/usb-atm-speedtouch/description
  828. Kernel support for SpeedTouch USB ADSL modems
  829. endef
  830. $(eval $(call KernelPackage,usb-atm-speedtouch))
  831. define KernelPackage/usb-atm-ueagle
  832. TITLE:=Eagle 8051 based USB ADSL modems support
  833. FILES:=$(LINUX_DIR)/drivers/usb/atm/ueagle-atm.ko
  834. KCONFIG:=CONFIG_USB_UEAGLEATM
  835. AUTOLOAD:=$(call AutoProbe,ueagle-atm)
  836. $(call AddDepends/usb-atm)
  837. endef
  838. define KernelPackage/usb-atm-ueagle/description
  839. Kernel support for Eagle 8051 based USB ADSL modems
  840. endef
  841. $(eval $(call KernelPackage,usb-atm-ueagle))
  842. define KernelPackage/usb-atm-cxacru
  843. TITLE:=cxacru
  844. FILES:=$(LINUX_DIR)/drivers/usb/atm/cxacru.ko
  845. KCONFIG:=CONFIG_USB_CXACRU
  846. AUTOLOAD:=$(call AutoProbe,cxacru)
  847. $(call AddDepends/usb-atm)
  848. endef
  849. define KernelPackage/usb-atm-cxacru/description
  850. Kernel support for cxacru based USB ADSL modems
  851. endef
  852. $(eval $(call KernelPackage,usb-atm-cxacru))
  853. define KernelPackage/usb-net
  854. TITLE:=Kernel modules for USB-to-Ethernet convertors
  855. DEPENDS:=+kmod-mii
  856. KCONFIG:=CONFIG_USB_USBNET \
  857. CONFIG_USB_NET_DRIVERS
  858. AUTOLOAD:=$(call AutoProbe,usbnet)
  859. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/usbnet.ko
  860. $(call AddDepends/usb)
  861. endef
  862. define KernelPackage/usb-net/description
  863. Kernel modules for USB-to-Ethernet convertors
  864. endef
  865. $(eval $(call KernelPackage,usb-net))
  866. define AddDepends/usb-net
  867. SUBMENU:=$(USB_MENU)
  868. DEPENDS+=kmod-usb-net $(1)
  869. endef
  870. define KernelPackage/usb-net-asix
  871. TITLE:=Kernel module for USB-to-Ethernet Asix convertors
  872. DEPENDS:=+kmod-libphy
  873. KCONFIG:=CONFIG_USB_NET_AX8817X
  874. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/asix.ko
  875. AUTOLOAD:=$(call AutoProbe,asix)
  876. $(call AddDepends/usb-net)
  877. endef
  878. define KernelPackage/usb-net-asix/description
  879. Kernel module for USB-to-Ethernet Asix convertors
  880. endef
  881. $(eval $(call KernelPackage,usb-net-asix))
  882. define KernelPackage/usb-net-asix-ax88179
  883. TITLE:=Kernel module for USB-to-Gigabit-Ethernet Asix convertors
  884. DEPENDS:=+kmod-libphy
  885. KCONFIG:=CONFIG_USB_NET_AX88179_178A
  886. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/ax88179_178a.ko
  887. AUTOLOAD:=$(call AutoProbe,ax88179_178a)
  888. $(call AddDepends/usb-net)
  889. endef
  890. define KernelPackage/usb-net-asix-ax88179/description
  891. Kernel module for USB-to-Ethernet ASIX AX88179 based USB 3.0/2.0
  892. to Gigabit Ethernet adapters.
  893. endef
  894. $(eval $(call KernelPackage,usb-net-asix-ax88179))
  895. define KernelPackage/usb-net-hso
  896. TITLE:=Kernel module for Option USB High Speed Mobile Devices
  897. KCONFIG:=CONFIG_USB_HSO
  898. FILES:= \
  899. $(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.ko
  900. AUTOLOAD:=$(call AutoProbe,hso)
  901. $(call AddDepends/usb-net)
  902. $(call AddDepends/rfkill)
  903. endef
  904. define KernelPackage/usb-net-hso/description
  905. Kernel module for Option USB High Speed Mobile Devices
  906. endef
  907. $(eval $(call KernelPackage,usb-net-hso))
  908. define KernelPackage/usb-net-kaweth
  909. TITLE:=Kernel module for USB-to-Ethernet Kaweth convertors
  910. KCONFIG:=CONFIG_USB_KAWETH
  911. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/kaweth.ko
  912. AUTOLOAD:=$(call AutoProbe,kaweth)
  913. $(call AddDepends/usb-net)
  914. endef
  915. define KernelPackage/usb-net-kaweth/description
  916. Kernel module for USB-to-Ethernet Kaweth convertors
  917. endef
  918. $(eval $(call KernelPackage,usb-net-kaweth))
  919. define KernelPackage/usb-net-pegasus
  920. TITLE:=Kernel module for USB-to-Ethernet Pegasus convertors
  921. KCONFIG:=CONFIG_USB_PEGASUS
  922. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/pegasus.ko
  923. AUTOLOAD:=$(call AutoProbe,pegasus)
  924. $(call AddDepends/usb-net)
  925. endef
  926. define KernelPackage/usb-net-pegasus/description
  927. Kernel module for USB-to-Ethernet Pegasus convertors
  928. endef
  929. $(eval $(call KernelPackage,usb-net-pegasus))
  930. define KernelPackage/usb-net-mcs7830
  931. TITLE:=Kernel module for USB-to-Ethernet MCS7830 convertors
  932. KCONFIG:=CONFIG_USB_NET_MCS7830
  933. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/mcs7830.ko
  934. AUTOLOAD:=$(call AutoProbe,mcs7830)
  935. $(call AddDepends/usb-net)
  936. endef
  937. define KernelPackage/usb-net-mcs7830/description
  938. Kernel module for USB-to-Ethernet MCS7830 convertors
  939. endef
  940. $(eval $(call KernelPackage,usb-net-mcs7830))
  941. define KernelPackage/usb-net-smsc95xx
  942. TITLE:=SMSC LAN95XX based USB 2.0 10/100 ethernet devices
  943. KCONFIG:=CONFIG_USB_NET_SMSC95XX
  944. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/smsc95xx.ko
  945. AUTOLOAD:=$(call AutoProbe,smsc95xx)
  946. $(call AddDepends/usb-net, +kmod-lib-crc16)
  947. endef
  948. define KernelPackage/usb-net-smsc95xx/description
  949. Kernel module for SMSC LAN95XX based devices
  950. endef
  951. $(eval $(call KernelPackage,usb-net-smsc95xx))
  952. define KernelPackage/usb-net-dm9601-ether
  953. TITLE:=Support for DM9601 ethernet connections
  954. KCONFIG:=CONFIG_USB_NET_DM9601
  955. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/dm9601.ko
  956. AUTOLOAD:=$(call AutoProbe,dm9601)
  957. $(call AddDepends/usb-net)
  958. endef
  959. define KernelPackage/usb-net-dm9601-ether/description
  960. Kernel support for USB DM9601 devices
  961. endef
  962. $(eval $(call KernelPackage,usb-net-dm9601-ether))
  963. define KernelPackage/usb-net-cdc-ether
  964. TITLE:=Support for cdc ethernet connections
  965. KCONFIG:=CONFIG_USB_NET_CDCETHER
  966. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ether.ko
  967. AUTOLOAD:=$(call AutoProbe,cdc_ether)
  968. $(call AddDepends/usb-net)
  969. endef
  970. define KernelPackage/usb-net-cdc-ether/description
  971. Kernel support for USB CDC Ethernet devices
  972. endef
  973. $(eval $(call KernelPackage,usb-net-cdc-ether))
  974. define KernelPackage/usb-net-cdc-eem
  975. TITLE:=Support for CDC EEM connections
  976. KCONFIG:=CONFIG_USB_NET_CDC_EEM
  977. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_eem.ko
  978. AUTOLOAD:=$(call AutoProbe,cdc_eem)
  979. $(call AddDepends/usb-net)
  980. endef
  981. define KernelPackage/usb-net-cdc-eem/description
  982. Kernel support for USB CDC EEM
  983. endef
  984. $(eval $(call KernelPackage,usb-net-cdc-eem))
  985. define KernelPackage/usb-net-cdc-subset
  986. TITLE:=Support for CDC Ethernet subset connections
  987. KCONFIG:= \
  988. CONFIG_USB_NET_CDC_SUBSET \
  989. CONFIG_USB_ARMLINUX
  990. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_subset.ko
  991. AUTOLOAD:=$(call AutoProbe,cdc_subset)
  992. $(call AddDepends/usb-net)
  993. endef
  994. define KernelPackage/usb-net-cdc-subset/description
  995. Kernel support for Simple USB Network Links (CDC Ethernet subset)
  996. endef
  997. $(eval $(call KernelPackage,usb-net-cdc-subset))
  998. define KernelPackage/usb-net-qmi-wwan
  999. TITLE:=QMI WWAN driver
  1000. KCONFIG:=CONFIG_USB_NET_QMI_WWAN
  1001. FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/qmi_wwan.ko
  1002. AUTOLOAD:=$(call AutoProbe,qmi_wwan)
  1003. $(call AddDepends/usb-net,+kmod-usb-wdm)
  1004. endef
  1005. define KernelPackage/usb-net-qmi-wwan/description
  1006. QMI WWAN driver for Qualcomm MSM based 3G and LTE modems
  1007. endef
  1008. $(eval $(call KernelPackage,usb-net-qmi-wwan))
  1009. define KernelPackage/usb-net-rtl8150
  1010. TITLE:=Kernel module for USB-to-Ethernet Realtek convertors
  1011. KCONFIG:=CONFIG_USB_RTL8150
  1012. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/rtl8150.ko
  1013. AUTOLOAD:=$(call AutoProbe,rtl8150)
  1014. $(call AddDepends/usb-net)
  1015. endef
  1016. define KernelPackage/usb-net-rtl8150/description
  1017. Kernel module for USB-to-Ethernet Realtek 8150 convertors
  1018. endef
  1019. $(eval $(call KernelPackage,usb-net-rtl8150))
  1020. define KernelPackage/usb-net-rtl8152
  1021. TITLE:=Kernel module for USB-to-Ethernet Realtek convertors
  1022. KCONFIG:=CONFIG_USB_RTL8152
  1023. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/r8152.ko
  1024. AUTOLOAD:=$(call AutoProbe,r8152)
  1025. $(call AddDepends/usb-net)
  1026. endef
  1027. define KernelPackage/usb-net-rtl8152/description
  1028. Kernel module for USB-to-Ethernet Realtek 8152 USB2.0/3.0 convertors
  1029. endef
  1030. $(eval $(call KernelPackage,usb-net-rtl8152))
  1031. define KernelPackage/usb-net-sr9700
  1032. TITLE:=Support for CoreChip SR9700 ethernet devices
  1033. KCONFIG:=CONFIG_USB_NET_SR9700
  1034. FILES:=$(LINUX_DIR)/drivers/$(USBNET_DIR)/sr9700.ko
  1035. AUTOLOAD:=$(call AutoProbe,sr9700)
  1036. $(call AddDepends/usb-net)
  1037. endef
  1038. define KernelPackage/usb-net-sr9700/description
  1039. Kernel module for CoreChip-sz SR9700 based USB 1.1 10/100 ethernet devices
  1040. endef
  1041. $(eval $(call KernelPackage,usb-net-sr9700))
  1042. define KernelPackage/usb-net-rndis
  1043. TITLE:=Support for RNDIS connections
  1044. KCONFIG:=CONFIG_USB_NET_RNDIS_HOST
  1045. FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/rndis_host.ko
  1046. AUTOLOAD:=$(call AutoProbe,rndis_host)
  1047. $(call AddDepends/usb-net,+kmod-usb-net-cdc-ether)
  1048. endef
  1049. define KernelPackage/usb-net-rndis/description
  1050. Kernel support for RNDIS connections
  1051. endef
  1052. $(eval $(call KernelPackage,usb-net-rndis))
  1053. define KernelPackage/usb-net-cdc-mbim
  1054. SUBMENU:=$(USB_MENU)
  1055. TITLE:=Kernel module for MBIM Devices
  1056. KCONFIG:=CONFIG_USB_NET_CDC_MBIM
  1057. FILES:= \
  1058. $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_mbim.ko
  1059. AUTOLOAD:=$(call AutoProbe,cdc_mbim)
  1060. $(call AddDepends/usb-net,+kmod-usb-wdm +kmod-usb-net-cdc-ncm)
  1061. endef
  1062. define KernelPackage/usb-net-cdc-mbim/description
  1063. Kernel module for Option USB High Speed Mobile Devices
  1064. endef
  1065. $(eval $(call KernelPackage,usb-net-cdc-mbim))
  1066. define KernelPackage/usb-net-cdc-ncm
  1067. TITLE:=Support for CDC NCM connections
  1068. KCONFIG:=CONFIG_USB_NET_CDC_NCM
  1069. FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/cdc_ncm.ko
  1070. AUTOLOAD:=$(call AutoProbe,cdc_ncm)
  1071. $(call AddDepends/usb-net)
  1072. endef
  1073. define KernelPackage/usb-net-cdc-ncm/description
  1074. Kernel support for CDC NCM connections
  1075. endef
  1076. $(eval $(call KernelPackage,usb-net-cdc-ncm))
  1077. define KernelPackage/usb-net-huawei-cdc-ncm
  1078. TITLE:=Support for Huawei CDC NCM connections
  1079. KCONFIG:=CONFIG_USB_NET_HUAWEI_CDC_NCM
  1080. FILES:= $(LINUX_DIR)/drivers/$(USBNET_DIR)/huawei_cdc_ncm.ko
  1081. AUTOLOAD:=$(call AutoProbe,huawei_cdc_ncm)
  1082. $(call AddDepends/usb-net,+kmod-usb-net-cdc-ncm +kmod-usb-wdm)
  1083. endef
  1084. define KernelPackage/usb-net-huawei-cdc-ncm/description
  1085. Kernel support for Huawei CDC NCM connections
  1086. endef
  1087. $(eval $(call KernelPackage,usb-net-huawei-cdc-ncm))
  1088. define KernelPackage/usb-net-sierrawireless
  1089. TITLE:=Support for Sierra Wireless devices
  1090. KCONFIG:=CONFIG_USB_SIERRA_NET
  1091. FILES:=$(LINUX_DIR)/drivers/net/usb/sierra_net.ko
  1092. AUTOLOAD:=$(call AutoProbe,sierra_net)
  1093. $(call AddDepends/usb-net)
  1094. endef
  1095. define KernelPackage/usb-net-sierrawireless/description
  1096. Kernel support for Sierra Wireless devices
  1097. endef
  1098. $(eval $(call KernelPackage,usb-net-sierrawireless))
  1099. define KernelPackage/usb-net-ipheth
  1100. TITLE:=Apple iPhone USB Ethernet driver
  1101. KCONFIG:=CONFIG_USB_IPHETH
  1102. FILES:=$(LINUX_DIR)/drivers/net/usb/ipheth.ko
  1103. AUTOLOAD:=$(call AutoProbe,ipheth)
  1104. $(call AddDepends/usb-net)
  1105. endef
  1106. define KernelPackage/usb-net-ipheth/description
  1107. Kernel support for Apple iPhone USB Ethernet driver
  1108. endef
  1109. $(eval $(call KernelPackage,usb-net-ipheth))
  1110. define KernelPackage/usb-net-kalmia
  1111. TITLE:=Samsung Kalmia based LTE USB modem
  1112. KCONFIG:=CONFIG_USB_NET_KALMIA
  1113. FILES:=$(LINUX_DIR)/drivers/net/usb/kalmia.ko
  1114. AUTOLOAD:=$(call AutoProbe,kalmia)
  1115. $(call AddDepends/usb-net)
  1116. endef
  1117. define KernelPackage/usb-net-kalmia/description
  1118. Kernel support for Samsung Kalmia based LTE USB modem
  1119. endef
  1120. $(eval $(call KernelPackage,usb-net-kalmia))
  1121. define KernelPackage/usb-hid
  1122. TITLE:=Support for USB Human Input Devices
  1123. KCONFIG:=CONFIG_HID_SUPPORT=y CONFIG_USB_HID CONFIG_USB_HIDDEV=y
  1124. DEPENDS:=+kmod-hid +kmod-hid-generic +kmod-input-evdev
  1125. FILES:=$(LINUX_DIR)/drivers/$(USBHID_DIR)/usbhid.ko
  1126. AUTOLOAD:=$(call AutoProbe,usbhid)
  1127. $(call AddDepends/usb)
  1128. endef
  1129. define KernelPackage/usb-hid/description
  1130. Kernel support for USB HID devices such as keyboards and mice
  1131. endef
  1132. $(eval $(call KernelPackage,usb-hid))
  1133. define KernelPackage/usb-yealink
  1134. TITLE:=USB Yealink VOIP phone
  1135. DEPENDS:=+kmod-input-evdev
  1136. KCONFIG:=CONFIG_USB_YEALINK CONFIG_INPUT_YEALINK CONFIG_INPUT=m CONFIG_INPUT_MISC=y
  1137. FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/yealink.ko
  1138. AUTOLOAD:=$(call AutoProbe,yealink)
  1139. $(call AddDepends/usb)
  1140. endef
  1141. define KernelPackage/usb-yealink/description
  1142. Kernel support for Yealink VOIP phone
  1143. endef
  1144. $(eval $(call KernelPackage,usb-yealink))
  1145. define KernelPackage/usb-cm109
  1146. TITLE:=Support for CM109 device
  1147. DEPENDS:=+kmod-input-evdev
  1148. KCONFIG:=CONFIG_USB_CM109 CONFIG_INPUT_CM109 CONFIG_INPUT=m CONFIG_INPUT_MISC=y
  1149. FILES:=$(LINUX_DIR)/drivers/$(USBINPUT_DIR)/cm109.ko
  1150. AUTOLOAD:=$(call AutoProbe,cm109)
  1151. $(call AddDepends/usb)
  1152. endef
  1153. define KernelPackage/usb-cm109/description
  1154. Kernel support for CM109 VOIP phone
  1155. endef
  1156. $(eval $(call KernelPackage,usb-cm109))
  1157. define KernelPackage/usb-test
  1158. TITLE:=USB Testing Driver
  1159. DEPENDS:=@DEVEL
  1160. KCONFIG:=CONFIG_USB_TEST
  1161. FILES:=$(LINUX_DIR)/drivers/usb/misc/usbtest.ko
  1162. $(call AddDepends/usb)
  1163. endef
  1164. define KernelPackage/usb-test/description
  1165. Kernel support for testing USB Host Controller software
  1166. endef
  1167. $(eval $(call KernelPackage,usb-test))
  1168. define KernelPackage/usbip
  1169. TITLE := USB-over-IP kernel support
  1170. KCONFIG:= \
  1171. CONFIG_USBIP_CORE \
  1172. CONFIG_USBIP_DEBUG=n
  1173. FILES:=$(LINUX_DIR)/drivers/usb/usbip/usbip-core.ko
  1174. AUTOLOAD:=$(call AutoProbe,usbip-core)
  1175. $(call AddDepends/usb)
  1176. endef
  1177. $(eval $(call KernelPackage,usbip))
  1178. define KernelPackage/usbip-client
  1179. TITLE := USB-over-IP client driver
  1180. DEPENDS := +kmod-usbip
  1181. KCONFIG := CONFIG_USBIP_VHCI_HCD
  1182. FILES :=$(LINUX_DIR)/drivers/usb/usbip/vhci-hcd.ko
  1183. AUTOLOAD := $(call AutoProbe,vhci-hcd)
  1184. $(call AddDepends/usb)
  1185. endef
  1186. $(eval $(call KernelPackage,usbip-client))
  1187. define KernelPackage/usbip-server
  1188. $(call KernelPackage/usbip/Default)
  1189. TITLE := USB-over-IP host driver
  1190. DEPENDS := +kmod-usbip
  1191. KCONFIG := CONFIG_USBIP_HOST
  1192. FILES :=$(LINUX_DIR)/drivers/usb/usbip/usbip-host.ko
  1193. AUTOLOAD := $(call AutoProbe,usbip-host)
  1194. $(call AddDepends/usb)
  1195. endef
  1196. $(eval $(call KernelPackage,usbip-server))
  1197. define KernelPackage/usb-chipidea-imx
  1198. TITLE:=Support for ChipIdea controllers
  1199. DEPENDS:=@TARGET_imx6||TARGET_mxs +kmod-usb2 +USB_GADGET_SUPPORT:kmod-usb-gadget
  1200. KCONFIG:=\
  1201. CONFIG_USB_CHIPIDEA \
  1202. CONFIG_USB_CHIPIDEA_HOST=y \
  1203. CONFIG_USB_CHIPIDEA_UDC=y \
  1204. CONFIG_USB_CHIPIDEA_DEBUG=y
  1205. FILES:=\
  1206. $(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc.ko \
  1207. $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/ci_hdrc_imx.ko) \
  1208. $(if $(CONFIG_OF),$(LINUX_DIR)/drivers/usb/chipidea/usbmisc_imx.ko)
  1209. AUTOLOAD:=$(call AutoLoad,51,ci_hdrc $(if $(CONFIG_OF),ci_hdrc_imx usbmisc_imx),1)
  1210. $(call AddDepends/usb)
  1211. endef
  1212. define KernelPackage/usb-chipidea-imx/description
  1213. Kernel support for USB ChipIdea controllers
  1214. endef
  1215. $(eval $(call KernelPackage,usb-chipidea-imx,1))
  1216. define KernelPackage/usb-mxs-phy
  1217. TITLE:=Support for Freescale MXS USB PHY
  1218. DEPENDS:=@TARGET_imx6||TARGET_mxs +TARGET_mxs:kmod-usb-chipidea-imx
  1219. KCONFIG:=CONFIG_USB_MXS_PHY
  1220. FILES:=\
  1221. $(LINUX_DIR)/drivers/usb/phy/phy-mxs-usb.ko
  1222. AUTOLOAD:=$(call AutoLoad,52,phy-mxs-usb,1)
  1223. $(call AddDepends/usb)
  1224. endef
  1225. define KernelPackage/usb-mxs-phy/description
  1226. Kernel support for Freescale MXS USB PHY
  1227. endef
  1228. $(eval $(call KernelPackage,usb-mxs-phy,1))
  1229. define KernelPackage/usbmon
  1230. TITLE:=USB traffic monitor
  1231. KCONFIG:=CONFIG_USB_MON
  1232. $(call AddDepends/usb)
  1233. FILES:=$(LINUX_DIR)/drivers/usb/mon/usbmon.ko
  1234. AUTOLOAD:=$(call AutoProbe,usbmon)
  1235. endef
  1236. define KernelPackage/usbmon/description
  1237. Kernel support for USB traffic monitoring
  1238. endef
  1239. $(eval $(call KernelPackage,usbmon))
  1240. XHCI_MODULES := xhci-hcd xhci-pci xhci-plat-hcd
  1241. ifdef CONFIG_TARGET_ramips_mt7621
  1242. XHCI_MODULES += xhci-mtk
  1243. endif
  1244. XHCI_FILES := $(wildcard $(patsubst %,$(LINUX_DIR)/drivers/usb/host/%.ko,$(XHCI_MODULES)))
  1245. XHCI_AUTOLOAD := $(patsubst $(LINUX_DIR)/drivers/usb/host/%.ko,%,$(XHCI_FILES))
  1246. define KernelPackage/usb3
  1247. TITLE:=Support for USB3 controllers
  1248. DEPENDS:= \
  1249. +TARGET_bcm53xx:kmod-usb-bcma \
  1250. +TARGET_omap:kmod-usb-phy-omap-usb3
  1251. KCONFIG:= \
  1252. CONFIG_USB_XHCI_HCD \
  1253. CONFIG_USB_XHCI_PCI \
  1254. CONFIG_USB_XHCI_PLATFORM \
  1255. CONFIG_USB_XHCI_MVEBU=y \
  1256. CONFIG_USB_XHCI_MTK \
  1257. CONFIG_USB_XHCI_HCD_DEBUGGING=n
  1258. FILES:= \
  1259. $(XHCI_FILES)
  1260. AUTOLOAD:=$(call AutoLoad,54,$(XHCI_AUTOLOAD),1)
  1261. $(call AddDepends/usb)
  1262. endef
  1263. define KernelPackage/usb3/description
  1264. Kernel support for USB3 (XHCI) controllers
  1265. endef
  1266. $(eval $(call KernelPackage,usb3))