ar71xx: package the AR934x NAND driver module
[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:=CONFIG_MTD_NAND_AR934X
44 DEPENDS:=@TARGET_ar71xx +kmod-nand
45 FILES:=$(LINUX_DIR)/drivers/mtd/nand/ar934x_nfc.ko
46 AUTOLOAD:=$(call AutoLoad,30,ar934x_nfc)
47 endef
48
49 define KernelPackage/nand-ar934x/description
50 Atheros AR934x NAND flash controller driver.
51 endef
52
53 $(eval $(call KernelPackage,nand-ar934x))
54
55
56 define KernelPackage/spi-vsc7385
57 SUBMENU:=$(SPI_MENU)
58 TITLE:=Vitesse VSC7385 ethernet switch driver
59 DEPENDS:=@TARGET_ar71xx
60 KCONFIG:=CONFIG_SPI_VSC7385
61 FILES:=$(LINUX_DIR)/drivers/spi/spi-vsc7385.ko
62 AUTOLOAD:=$(call AutoLoad,93,spi-vsc7385)
63 endef
64
65 define KernelPackage/spi-vsc7385/description
66 This package contains the SPI driver for the Vitesse VSC7385 ethernet switch.
67 endef
68
69 $(eval $(call KernelPackage,spi-vsc7385))
70
71
72 define KernelPackage/wdt-ath79
73 SUBMENU:=$(OTHER_MENU)
74 TITLE:=Atheros AR7XXX/AR9XXX watchdog timer
75 DEPENDS:=@TARGET_ar71xx
76 KCONFIG:=CONFIG_ATH79_WDT
77 FILES:=$(LINUX_DIR)/drivers/$(WATCHDOG_DIR)/ath79_wdt.ko
78 AUTOLOAD:=$(call AutoLoad,50,ath79_wdt)
79 endef
80
81 define KernelPackage/wdt-ath79/description
82 Kernel module for AR7XXX/AR9XXX watchdog timer.
83 endef
84
85 $(eval $(call KernelPackage,wdt-ath79))
86