mirror of https://github.com/hak5/openwrt-owl.git
make hcd driver work with v3.8
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36019owl
parent
d0fe00d8b2
commit
cd40e47a48
|
@ -23,13 +23,14 @@ define KernelPackage/ltq-hcd-template
|
||||||
VARIANT:=$(1)
|
VARIANT:=$(1)
|
||||||
DEPENDS:=@TARGET_lantiq_$(2) +kmod-usb-core
|
DEPENDS:=@TARGET_lantiq_$(2) +kmod-usb-core
|
||||||
FILES:=$(PKG_BUILD_DIR)/ltq_hcd_$(1).ko
|
FILES:=$(PKG_BUILD_DIR)/ltq_hcd_$(1).ko
|
||||||
AUTOLOAD:=$(call AutoLoad,50,ltq_hcd_$(1))
|
AUTOLOAD:=$(call AutoLoad,50,ltq_hcd_$(1),1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
KernelPackage/ltq-hcd-ase=$(call KernelPackage/ltq-hcd-template,ase,ase)
|
KernelPackage/ltq-hcd-ase=$(call KernelPackage/ltq-hcd-template,ase,ase)
|
||||||
KernelPackage/ltq-hcd-danube=$(call KernelPackage/ltq-hcd-template,danube,xway)
|
KernelPackage/ltq-hcd-danube=$(call KernelPackage/ltq-hcd-template,danube,xway)
|
||||||
KernelPackage/ltq-hcd-ar9=$(call KernelPackage/ltq-hcd-template,ar9,xway)
|
KernelPackage/ltq-hcd-ar9=$(call KernelPackage/ltq-hcd-template,ar9,xway)
|
||||||
KernelPackage/ltq-hcd-vr9=$(call KernelPackage/ltq-hcd-template,vr9,xway)
|
KernelPackage/ltq-hcd-vr9=$(call KernelPackage/ltq-hcd-template,vr9,xway)
|
||||||
|
KernelPackage/ltq-hcd-ar10=$(call KernelPackage/ltq-hcd-template,ar10,xway)
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(INSTALL_DIR) $(PKG_BUILD_DIR)
|
$(INSTALL_DIR) $(PKG_BUILD_DIR)
|
||||||
|
@ -49,3 +50,4 @@ $(eval $(call KernelPackage,ltq-hcd-ase))
|
||||||
$(eval $(call KernelPackage,ltq-hcd-danube))
|
$(eval $(call KernelPackage,ltq-hcd-danube))
|
||||||
$(eval $(call KernelPackage,ltq-hcd-ar9))
|
$(eval $(call KernelPackage,ltq-hcd-ar9))
|
||||||
$(eval $(call KernelPackage,ltq-hcd-vr9))
|
$(eval $(call KernelPackage,ltq-hcd-vr9))
|
||||||
|
$(eval $(call KernelPackage,ltq-hcd-ar10))
|
||||||
|
|
|
@ -315,6 +315,8 @@ static int ifxusb_driver_probe(struct platform_device *_pdev)
|
||||||
np = of_find_compatible_node(NULL, NULL, "lantiq,ifxhcd-arx100");
|
np = of_find_compatible_node(NULL, NULL, "lantiq,ifxhcd-arx100");
|
||||||
#elif defined __IS_VR9__
|
#elif defined __IS_VR9__
|
||||||
np = of_find_compatible_node(NULL, NULL, "lantiq,ifxhcd-xrx200");
|
np = of_find_compatible_node(NULL, NULL, "lantiq,ifxhcd-xrx200");
|
||||||
|
#elif defined __IS_AR10__
|
||||||
|
np = of_find_compatible_node(NULL, NULL, "lantiq,ifxhcd-arx300");
|
||||||
#endif
|
#endif
|
||||||
if (!np) {
|
if (!np) {
|
||||||
dev_err(&_pdev->dev, "failed to find hcd device node\n");
|
dev_err(&_pdev->dev, "failed to find hcd device node\n");
|
||||||
|
|
Loading…
Reference in New Issue