aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@openwrt.org>2011-12-19 23:39:13 +0000
committerHauke Mehrtens <hauke@openwrt.org>2011-12-19 23:39:13 +0000
commit0803c1b5117918e417602432fcceb9d1f5ad69bb (patch)
tree73e95f08b46a45f7e4c5a006a89487f33ee81ef3 /package/kernel
parenta8b46480d3b892dfc0ea90b70c98f2231a83a25b (diff)
downloadupstream-0803c1b5117918e417602432fcceb9d1f5ad69bb.tar.gz
upstream-0803c1b5117918e417602432fcceb9d1f5ad69bb.tar.bz2
upstream-0803c1b5117918e417602432fcceb9d1f5ad69bb.zip
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
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/usb.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index 834baa984f..fd027bca61 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))
+