From 9da7868465f5ba68cd6efd12172c61bf0f1c2001 Mon Sep 17 00:00:00 2001 From: hauke Date: Mon, 19 Dec 2011 23:39:13 +0000 Subject: brcm47xx: add new usb driver for bcma bus and replace ssb usb driver. This new usb driver uses an extra device so the ehci and the ohci driver are not depending on ech other any more. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29575 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/usb.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'package/kernel/modules') diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 834baa984..fd027bca6 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -88,6 +88,7 @@ $(eval $(call KernelPackage,usb-uhci,1)) define KernelPackage/usb-ohci TITLE:=Support for OHCI controllers + DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx KCONFIG:= \ CONFIG_USB_OHCI \ CONFIG_USB_OHCI_HCD \ @@ -199,6 +200,7 @@ $(eval $(call KernelPackage,usb-isp116x-hcd)) define KernelPackage/usb2 TITLE:=Support for USB2 controllers + DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx KCONFIG:=CONFIG_USB_EHCI_HCD \ CONFIG_USB_EHCI_AR71XX=y \ CONFIG_USB_OCTEON_EHCI=y \ @@ -983,3 +985,20 @@ define KernelPackage/usb-rt305x-dwc_otg/description endef $(eval $(call KernelPackage,usb-rt305x-dwc_otg)) + +define KernelPackage/usb-brcm47xx + SUBMENU:=$(USB_MENU) + TITLE:=Support for USB on bcm47xx + DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx + KCONFIG:= \ + CONFIG_USB_HCD_BCMA \ + CONFIG_USB_HCD_SSB + FILES:= \ + $(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko \ + $(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko + AUTOLOAD:=$(call AutoLoad,19,bcma-hcd ssb-hcd,1) + $(call AddDepends/usb) +endef + +$(eval $(call KernelPackage,usb-brcm47xx)) + -- cgit v1.2.3