modules.mk 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #
  2. # Copyright (C) 2010 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. define KernelPackage/ata-octeon-cf
  8. SUBMENU:=$(BLOCK_MENU)
  9. TITLE:=Octeon Compact Flash support
  10. DEPENDS:=@TARGET_octeon
  11. KCONFIG:=CONFIG_PATA_OCTEON_CF
  12. FILES:=$(LINUX_DIR)/drivers/ata/pata_octeon_cf.ko
  13. AUTOLOAD:=$(call AutoLoad,41,pata_octeon_cf,1)
  14. $(call AddDepends/ata)
  15. endef
  16. define KernelPackage/ata-octeon-cf/description
  17. Octeon Compact Flash support.
  18. endef
  19. $(eval $(call KernelPackage,ata-octeon-cf))
  20. define KernelPackage/usb-octeon
  21. SUBMENU:=$(USB_MENU)
  22. TITLE:=Support for the Octeon USB OTG controller
  23. DEPENDS:=@TARGET_octeon
  24. KCONFIG:=CONFIG_USB_DWC_OTG
  25. FILES:=$(LINUX_DIR)/drivers/usb/host/dwc_otg/dwc_otg.ko
  26. AUTOLOAD:=$(call AutoLoad,50,dwc_otg)
  27. $(call AddDepends/usb)
  28. endef
  29. define KernelPackage/usb-octeon/description
  30. Kernel support for the Octeon USB host controller
  31. endef
  32. $(eval $(call KernelPackage,usb-octeon))
  33. I2C_OCTEON_MODULES:=\
  34. CONFIG_I2C_OCTEON:drivers/i2c/busses/i2c-octeon
  35. define KernelPackage/octeon-i2c
  36. $(call i2c_defaults,$(I2C_OCTEON_MODULES),59)
  37. TITLE:=I2C master driver for Cavium Octeon
  38. DEPENDS:=@TARGET_octeon +kmod-i2c-core
  39. endef
  40. define KernelPackage/octeon-i2c/description
  41. Kernel module to use the I2C master driver on Cavium Octeon
  42. endef
  43. $(eval $(call KernelPackage,octeon-i2c))