2 # Copyright (C) 2010 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 define KernelPackage/ledtrig-adm5120-switch
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)
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.
22 $(eval $(call KernelPackage,ledtrig-adm5120-switch))
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)
35 define KernelPackage/pata-rb153-cf/description
36 Kernel support for the RouterBoard 153 CF slot.
39 $(eval $(call KernelPackage,pata-rb153-cf,1))
42 define KernelPackage/usb-adm5120
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)
52 define KernelPackage/usb-adm5120/description
53 Kernel support for the ADM5120 HCD USB controller
56 $(eval $(call KernelPackage,usb-adm5120))