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