oxnas: add kmod-ledtrig-timer to default package set
[lede.git] / target / linux / oxnas / modules.mk
1 #
2 # Copyright (C) 2006-2014 OpenWrt.org
3 # Copyright (C) 2016 LEDE project
4 #
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
7 #
8
9 define KernelPackage/ata-oxnas-sata
10   SUBMENU:=$(BLOCK_MENU)
11   TITLE:=oxnas Serial ATA support
12   KCONFIG:=CONFIG_SATA_OXNAS
13   DEPENDS:=@TARGET_oxnas
14   FILES:=$(LINUX_DIR)/drivers/ata/sata_oxnas.ko
15   AUTOLOAD:=$(call AutoLoad,41,sata_oxnas,1)
16   $(call AddDepends/ata)
17 endef
18
19 define KernelPackage/ata-oxnas-sata/description
20  SATA support for OX934 core found in the OX82x/PLX782x SoCs
21 endef
22
23 $(eval $(call KernelPackage,ata-oxnas-sata))
24
25
26 define KernelPackage/usb2-oxnas
27   SUBMENU:=$(BLOCK_MENU)
28   TITLE:=OXNAS USB controller driver
29   DEPENDS:=@TARGET_oxnas +kmod-usb2
30   KCONFIG:=CONFIG_USB_EHCI_OXNAS
31   FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-oxnas.ko
32   AUTOLOAD:=$(call AutoLoad,55,ehci-oxnas,1)
33   $(call AddDepends/usb)
34 endef
35
36 define KernelPackage/usb2-oxnas/description
37  This driver provides USB Device Controller support for the
38  EHCI USB host built-in to the PLXTECH NAS782x SoC
39 endef
40
41 $(eval $(call KernelPackage,usb2-oxnas))