summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2011-12-19 23:39:13 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2011-12-19 23:39:13 +0000
commit5b8686c303af8e3a94e5d6b1f762610f9831c439 (patch)
tree0505a287c4bbd0aba2e2e5483bbcb0c475999409 /package
parent1aa5a61754d4995d8144a48dde0565211da0d5a8 (diff)
downloadmtk-20170518-5b8686c303af8e3a94e5d6b1f762610f9831c439.zip
mtk-20170518-5b8686c303af8e3a94e5d6b1f762610f9831c439.tar.gz
mtk-20170518-5b8686c303af8e3a94e5d6b1f762610f9831c439.tar.bz2
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. SVN-Revision: 29575
Diffstat (limited to 'package')
-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 834baa9..fd027bc 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))
+