aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/modules.mk
blob: e7c959579b4344f49eda5692a89c221e043e1d89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
define KernelPackage/ata-oxnas-sata
  SUBMENU:=$(BLOCK_MENU)
  TITLE:=oxnas Serial ATA support
  KCONFIG:=CONFIG_SATA_OXNAS
  DEPENDS:=@TARGET_oxnas
  FILES:=$(LINUX_DIR)/drivers/ata/sata_oxnas.ko
  AUTOLOAD:=$(call AutoLoad,41,sata_oxnas,1)
  $(call AddDepends/ata)
endef

define KernelPackage/ata-oxnas-sata/description
 SATA support for OX934 core found in the OX8xx/PLX782x SoCs
endef

$(eval $(call KernelPackage,ata-oxnas-sata))


define KernelPackage/usb2-oxnas
  SUBMENU:=$(BLOCK_MENU)
  TITLE:=OX820 EHCI driver
  DEPENDS:=@TARGET_oxnas_ox820 +kmod-usb2
  KCONFIG:=CONFIG_USB_EHCI_OXNAS
  FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-oxnas.ko
  AUTOLOAD:=$(call AutoLoad,55,ehci-oxnas,1)
  $(call AddDepends/usb)
endef

define KernelPackage/usb2-oxnas/description
 This driver provides USB Device Controller support for the
 EHCI USB host built-in to the OX820 SoC.
endef

$(eval $(call KernelPackage,usb2-oxnas))