modules.mk 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #
  2. # Copyright (C) 2006-2014 OpenWrt.org
  3. # Copyright (C) 2016 LEDE project
  4. #
  5. # This is free software, licensed under the GNU General Public License v2.
  6. # See /LICENSE for more information.
  7. #
  8. define KernelPackage/ata-oxnas-sata
  9. SUBMENU:=$(BLOCK_MENU)
  10. TITLE:=oxnas Serial ATA support
  11. KCONFIG:=CONFIG_SATA_OXNAS
  12. DEPENDS:=@TARGET_oxnas
  13. FILES:=$(LINUX_DIR)/drivers/ata/sata_oxnas.ko
  14. AUTOLOAD:=$(call AutoLoad,41,sata_oxnas,1)
  15. $(call AddDepends/ata)
  16. endef
  17. define KernelPackage/ata-oxnas-sata/description
  18. SATA support for OX934 core found in the OX82x/PLX782x SoCs
  19. endef
  20. $(eval $(call KernelPackage,ata-oxnas-sata))
  21. define KernelPackage/usb2-oxnas
  22. SUBMENU:=$(BLOCK_MENU)
  23. TITLE:=OXNAS USB controller driver
  24. DEPENDS:=@TARGET_oxnas +kmod-usb2
  25. KCONFIG:=CONFIG_USB_EHCI_OXNAS
  26. FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-oxnas.ko
  27. AUTOLOAD:=$(call AutoLoad,55,ehci-oxnas,1)
  28. $(call AddDepends/usb)
  29. endef
  30. define KernelPackage/usb2-oxnas/description
  31. This driver provides USB Device Controller support for the
  32. EHCI USB host built-in to the PLXTECH NAS782x SoC
  33. endef
  34. $(eval $(call KernelPackage,usb2-oxnas))