modules.mk 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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/ledtrig-adm5120-switch
  8. SUBMENU:=$(OTHER_MENU)
  9. TITLE:=LED ADM5120 Switch Port Status Trigger
  10. DEPENDS:=@TARGET_adm5120
  11. KCONFIG:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH
  12. FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-adm5120-switch.ko
  13. AUTOLOAD:=$(call AutoLoad,50,ledtrig-adm5120-switch)
  14. endef
  15. define KernelPackage/ledtrig-adm5120-switch/description
  16. Kernel module to allow LEDs to be controlled by the port states
  17. of the ADM5120 built-in ethernet switch.
  18. endef
  19. $(eval $(call KernelPackage,ledtrig-adm5120-switch))
  20. define KernelPackage/pata-rb153-cf
  21. SUBMENU:=$(BLOCK_MENU)
  22. TITLE:=RouterBOARD 153 CF Slot support
  23. DEPENDS:=@TARGET_adm5120_rb1xx
  24. KCONFIG:=CONFIG_PATA_RB153_CF
  25. FILES:=$(LINUX_DIR)/drivers/ata/pata_rb153_cf.ko
  26. AUTOLOAD:=$(call AutoLoad,30,pata_rb153_cf,1)
  27. $(call AddDepends/ata)
  28. endef
  29. define KernelPackage/pata-rb153-cf/description
  30. Kernel support for the RouterBoard 153 CF slot.
  31. endef
  32. $(eval $(call KernelPackage,pata-rb153-cf,1))
  33. define KernelPackage/usb-adm5120
  34. SUBMENU:=$(USB_MENU)
  35. TITLE:=Support for the ADM5120 HCD controller
  36. DEPENDS:=@TARGET_adm5120
  37. KCONFIG:=CONFIG_USB_ADM5120_HCD
  38. FILES:=$(LINUX_DIR)/drivers/usb/host/adm5120-hcd.ko
  39. AUTOLOAD:=$(call AutoLoad,50,adm5120-hcd,1)
  40. $(call AddDepends/usb)
  41. endef
  42. define KernelPackage/usb-adm5120/description
  43. Kernel support for the ADM5120 HCD USB controller
  44. endef
  45. $(eval $(call KernelPackage,usb-adm5120))