a161d68493aafb0ef9772637fd37e21bc58f830b
[openwrt/openwrt.git] / target / linux / octeon / 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/ata-octeon-cf
9 SUBMENU:=$(BLOCK_MENU)
10 TITLE:=Octeon Compact Flash support
11 DEPENDS:=@TARGET_octeon
12 KCONFIG:=CONFIG_PATA_OCTEON_CF
13 FILES:=$(LINUX_DIR)/drivers/ata/pata_octeon_cf.$(LINUX_KMOD_SUFFIX)
14 AUTOLOAD:=$(call AutoLoad,41,pata_octeon_cf,1)
15 $(call AddDepends/ata)
16 endef
17
18 define KernelPackage/ata-octeon-cf/description
19 Octeon Compact Flash support.
20 endef
21
22 $(eval $(call KernelPackage,ata-octeon-cf))
23
24
25 define KernelPackage/usb-octeon
26 SUBMENU:=$(USB_MENU)
27 TITLE:=Support for the Octeon USB OTG controller
28 DEPENDS:=@TARGET_octeon
29 KCONFIG:=CONFIG_USB_DWC_OTG
30 FILES:=$(LINUX_DIR)/drivers/usb/host/dwc_otg/dwc_otg.$(LINUX_KMOD_SUFFIX)
31 AUTOLOAD:=$(call AutoLoad,50,dwc_otg)
32 $(call AddDepends/usb)
33 endef
34
35 define KernelPackage/usb-octeon/description
36 Kernel support for the Octeon USB host controller
37 endef
38
39 $(eval $(call KernelPackage,usb-octeon))