2 # Copyright (C) 2006-2014 OpenWrt.org
3 # Copyright (C) 2016 LEDE project
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
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
)
19 define KernelPackage
/ata-oxnas-sata
/description
20 SATA support for OX934 core found in the OX82x
/PLX782x SoCs
23 $(eval
$(call KernelPackage
,ata-oxnas-sata
))
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
)
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
41 $(eval
$(call KernelPackage
,usb2-oxnas
))