Signed-off-by: Alexander Gordeev <lasa...@lvk.cs.msu.su> --- package/kernel/modules/usb.mk | 24 ++++++++++++++++++++---- 1 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 439d022..6d574ff 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -103,19 +103,35 @@ endef $(eval $(call KernelPackage,usb-ohci,1)) +define KernelPackage/nop-usb-xceiv + TITLE:=NOP USB Transceiver Driver + KCONFIG:=CONFIG_NOP_USB_XCEIV + FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko + AUTOLOAD:=$(call AutoLoad,52,nop-usb-xceiv) + $(call AddDepends/usb) +endef + +define KernelPackage/nop-usb-xceiv/description + this driver is to be used by all the usb transceiver which are either + built-in with usb ip or which are autonomous and doesn't require any + phy programming such as ISP1x04 etc. +endef + +$(eval $(call KernelPackage,nop-usb-xceiv)) + + define KernelPackage/musb-hdrc TITLE:=Support for Mentor Graphics silicon dual role USB KCONFIG:= \ CONFIG_USB_MUSB_HDRC \ - CONFIG_NOP_USB_XCEIV \ CONFIG_USB_TUSB6010=y \ CONFIG_MUSB_PIO_ONLY=n \ CONFIG_USB_MUSB_OTG=y \ CONFIG_USB_MUSB_DEBUG=y DEPENDS:=@TARGET_omap24xx - FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko $(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko - AUTOLOAD:=$(call AutoLoad,54,nop-usb-xceiv musb_hdrc) - $(call AddDepends/usb) + FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko + AUTOLOAD:=$(call AutoLoad,54,musb_hdrc) + $(call AddDepends/usb,+kmod-nop-usb-xceiv) endef define KernelPackage/musb-hdrc/description -- 1.7.2.3 _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel