2 # Copyright (C) 2006-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 define KernelPackage
/usb-rt305x-dwc_otg
9 TITLE
:=RT305X USB controller driver
10 DEPENDS
:=@TARGET_ramips_rt305x @LINUX_3_9
13 CONFIG_DWC_OTG_HOST_ONLY
=y \
14 CONFIG_DWC_OTG_DEVICE_ONLY
=n \
15 CONFIG_DWC_OTG_DEBUG
=n
16 FILES
:=$(LINUX_DIR
)/drivers
/usb
/dwc_otg
/dwc_otg.ko
17 AUTOLOAD
:=$(call AutoLoad
,54,dwc_otg
,1)
18 $(call AddDepends
/usb
)
21 define KernelPackage
/usb-rt305x-dwc_otg
/description
22 This driver provides USB Device Controller support for the
23 Synopsys DesignWare USB OTG Core used in the Ralink RT305X SoCs.
26 $(eval
$(call KernelPackage
,usb-rt305x-dwc_otg
))
28 I2C_RALINK_MODULES
:= \
29 CONFIG_I2C_RALINK
:drivers
/i2c
/busses
/i2c-ralink
31 define KernelPackage
/i2c-ralink
32 $(call i2c_defaults
,$(I2C_RALINK_MODULES
),59)
33 TITLE
:=Ralink I2C Controller
34 DEPENDS
:=@TARGET_ramips kmod-i2c-core
37 define KernelPackage
/i2c-ralink
/description
38 Kernel modules for enable ralink i2c controller.
41 $(eval
$(call KernelPackage
,i2c-ralink
))