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/ata-octeon-cf
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.ko
14 AUTOLOAD:=$(call AutoLoad,41,pata_octeon_cf,1)
15 $(call AddDepends/ata)
18 define KernelPackage/ata-octeon-cf/description
19 Octeon Compact Flash support.
22 $(eval $(call KernelPackage,ata-octeon-cf))
25 define KernelPackage/usb-octeon
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.ko
31 AUTOLOAD:=$(call AutoLoad,50,dwc_otg)
32 $(call AddDepends/usb)
35 define KernelPackage/usb-octeon/description
36 Kernel support for the Octeon USB host controller
39 $(eval $(call KernelPackage,usb-octeon))
42 CONFIG_I2C_OCTEON:drivers/i2c/busses/i2c-octeon
44 define KernelPackage/octeon-i2c
45 $(call i2c_defaults,$(I2C_OCTEON_MODULES),59)
46 TITLE:=I2C master driver for Cavium Octeon
47 DEPENDS:=@TARGET_octeon +kmod-i2c-core
50 define KernelPackage/octeon-i2c/description
51 Kernel module to use the I2C master driver on Cavium Octeon
54 $(eval $(call KernelPackage,octeon-i2c))