[ar71xx] move target specific spi modules
[openwrt.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 NETGWR WNDR3700 board.
35 endef
36
37 $(eval $(call KernelPackage,leds-wndr3700-usb))
38
39
40 define KernelPackage/spi-vsc7385
41   SUBMENU:=$(SPI_MENU)
42   TITLE:=Vitesse VSC7385 ethernet switch driver
43   DEPENDS:=@TARGET_ar71xx
44   KCONFIG:=CONFIG_SPI_VSC7385
45   FILES:=$(LINUX_DIR)/drivers/spi/spi-vsc7385.ko
46   AUTOLOAD:=$(call AutoLoad,93,spi-vsc7385)
47 endef
48
49 define KernelPackage/spi-vsc7385/description
50   This package contains the SPI driver for the Vitesse VSC7385 ethernet switch.
51 endef
52
53 $(eval $(call KernelPackage,spi-vsc7385))