modules.mk 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. define KernelPackage/leds-rb750
  8. SUBMENU:=$(LEDS_MENU)
  9. TITLE:=RouterBOARD 750 LED support
  10. DEPENDS:=@TARGET_ar71xx
  11. KCONFIG:=CONFIG_LEDS_RB750
  12. FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.ko
  13. AUTOLOAD:=$(call AutoLoad,60,leds-rb750)
  14. endef
  15. define KernelPackage/leds-rb750/description
  16. Kernel module for the LEDs on the MikroTik RouterBOARD 750.
  17. endef
  18. $(eval $(call KernelPackage,leds-rb750))
  19. define KernelPackage/leds-wndr3700-usb
  20. SUBMENU:=$(LEDS_MENU)
  21. TITLE:=WNDR3700 USB LED support
  22. DEPENDS:=@TARGET_ar71xx
  23. KCONFIG:=CONFIG_LEDS_WNDR3700_USB
  24. FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.ko
  25. AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb)
  26. endef
  27. define KernelPackage/leds-wndr3700-usb/description
  28. Kernel module for the USB LED on the NETGEAR WNDR3700 board.
  29. endef
  30. $(eval $(call KernelPackage,leds-wndr3700-usb))
  31. define KernelPackage/nand-ar934x
  32. SUBMENU:=$(OTHER_MENU)
  33. TITLE:=Atheros AR934x NAND flash controller driver
  34. KCONFIG:=\
  35. CONFIG_MTD_NAND_AR934X \
  36. CONFIG_MTD_NAND_AR934X_HW_ECC=y
  37. DEPENDS:=@TARGET_ar71xx +kmod-nand
  38. FILES:=$(LINUX_DIR)/drivers/mtd/nand/ar934x_nfc.ko
  39. AUTOLOAD:=$(call AutoLoad,25,ar934x_nfc)
  40. endef
  41. define KernelPackage/nand-ar934x/description
  42. Atheros AR934x NAND flash controller driver.
  43. endef
  44. $(eval $(call KernelPackage,nand-ar934x))
  45. define KernelPackage/spi-vsc7385
  46. SUBMENU:=$(SPI_MENU)
  47. TITLE:=Vitesse VSC7385 ethernet switch driver
  48. DEPENDS:=@TARGET_ar71xx
  49. KCONFIG:=CONFIG_SPI_VSC7385
  50. FILES:=$(LINUX_DIR)/drivers/spi/spi-vsc7385.ko
  51. AUTOLOAD:=$(call AutoLoad,93,spi-vsc7385)
  52. endef
  53. define KernelPackage/spi-vsc7385/description
  54. This package contains the SPI driver for the Vitesse VSC7385 ethernet switch.
  55. endef
  56. $(eval $(call KernelPackage,spi-vsc7385))