X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d8d202d0a2aed330e8ca9d68bf9ee730e1661d41..b2e1bfb056bca17d81fdcbf020d9948a88d17304:/package/kernel/modules/usb.mk diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index d397a6d60..45ad0882f 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -355,7 +355,7 @@ $(eval $(call KernelPackage,usb-serial-ftdi)) define KernelPackage/usb-serial-ipw TITLE:=Support for IPWireless 3G devices KCONFIG:=CONFIG_USB_SERIAL_IPW - FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.$(LINUX_KMOD_SUFFIX) + FILES:=$(LINUX_DIR)/drivers/usb/serial/ipw.ko AUTOLOAD:=$(call AutoLoad,65,ipw) $(call AddDepends/usb-serial) endef @@ -546,7 +546,7 @@ $(eval $(call KernelPackage,usb-serial-keyspan)) define KernelPackage/usb-serial-wwan TITLE:=Support for GSM and CDMA modems - DEPENDS:= @LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38 + DEPENDS:= @!LINUX_2_6_30&&!LINUX_2_6_31&&!LINUX_2_6_32 KCONFIG:=CONFIG_USB_SERIAL_WWAN FILES:=$(LINUX_DIR)/drivers/usb/serial/usb_wwan.ko AUTOLOAD:=$(call AutoLoad,61,usb_wwan) @@ -562,7 +562,7 @@ $(eval $(call KernelPackage,usb-serial-wwan)) define KernelPackage/usb-serial-option TITLE:=Support for Option HSDPA modems - DEPENDS:=+LINUX_2_6_35||LINUX_2_6_36||LINUX_2_6_37||LINUX_2_6_38:kmod-usb-serial-wwan + DEPENDS:=+!LINUX_2_6_30&&!LINUX_2_6_31&&!LINUX_2_6_32:kmod-usb-serial-wwan KCONFIG:=CONFIG_USB_SERIAL_OPTION FILES:=$(LINUX_DIR)/drivers/usb/serial/option.ko AUTOLOAD:=$(call AutoLoad,65,option) @@ -947,3 +947,22 @@ endef $(eval $(call KernelPackage,usb-phidget)) +define KernelPackage/usb-rt305x-dwc_otg + TITLE:=RT305X USB controller driver + DEPENDS:=@TARGET_ramips_rt305x + KCONFIG:= \ + CONFIG_DWC_OTG \ + CONFIG_DWC_OTG_HOST_ONLY=y \ + CONFIG_DWC_OTG_DEVICE_ONLY=n \ + CONFIG_DWC_OTG_DEBUG=n + FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko + AUTOLOAD:=$(call AutoLoad,54,dwc_otg,1) + $(call AddDepends/usb) +endef + +define KernelPackage/usb-rt305x-dwc_otg/description + This driver provides USB Device Controller support for the + Synopsys DesignWare USB OTG Core used in the Ralink RT305X SoCs. +endef + +$(eval $(call KernelPackage,usb-rt305x-dwc_otg))