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