Changeset 29575


Ignore:
Timestamp:
2011-12-20T00:39:13+01:00 (6 years ago)
Author:
hauke
Message:

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.

Location:
trunk
Files:
7 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/usb.mk

    r29366 r29575  
    8989define KernelPackage/usb-ohci 
    9090  TITLE:=Support for OHCI controllers 
     91  DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx 
    9192  KCONFIG:= \ 
    9293        CONFIG_USB_OHCI \ 
     
    200201define KernelPackage/usb2 
    201202  TITLE:=Support for USB2 controllers 
     203  DEPENDS:=+TARGET_brcm47xx:kmod-usb-brcm47xx 
    202204  KCONFIG:=CONFIG_USB_EHCI_HCD \ 
    203205    CONFIG_USB_EHCI_AR71XX=y \ 
     
    984986 
    985987$(eval $(call KernelPackage,usb-rt305x-dwc_otg)) 
     988 
     989define KernelPackage/usb-brcm47xx 
     990  SUBMENU:=$(USB_MENU) 
     991  TITLE:=Support for USB on bcm47xx 
     992  DEPENDS:=@USB_SUPPORT @TARGET_brcm47xx 
     993  KCONFIG:= \ 
     994        CONFIG_USB_HCD_BCMA \ 
     995        CONFIG_USB_HCD_SSB 
     996  FILES:= \ 
     997        $(LINUX_DIR)/drivers/usb/host/bcma-hcd.ko \ 
     998        $(LINUX_DIR)/drivers/usb/host/ssb-hcd.ko 
     999  AUTOLOAD:=$(call AutoLoad,19,bcma-hcd ssb-hcd,1) 
     1000  $(call AddDepends/usb) 
     1001endef 
     1002 
     1003$(eval $(call KernelPackage,usb-brcm47xx)) 
     1004 
  • trunk/target/linux/brcm47xx/patches-3.0/280-activate_ssb_support_in_usb.patch

    r27902 r29575  
    44 1 file changed, 2 insertions(+) 
    55 
     6--- a/drivers/bcma/Kconfig 
     7+++ b/drivers/bcma/Kconfig 
     8@@ -37,6 +37,7 @@ config BCMA_DRIVER_PCI_HOSTMODE 
     9 config BCMA_HOST_SOC 
     10        bool 
     11        depends on BCMA_DRIVER_MIPS 
     12+       select USB_HCD_BCMA if USB_EHCI_HCD || USB_OHCI_HCD 
     13  
     14 config BCMA_SFLASH 
     15        bool 
    616--- a/drivers/ssb/Kconfig 
    717+++ b/drivers/ssb/Kconfig 
    8 @@ -147,6 +147,8 @@ config SSB_SFLASH 
     18@@ -147,6 +147,7 @@ config SSB_SFLASH 
    919 config SSB_EMBEDDED 
    1020        bool 
    1121        depends on SSB_DRIVER_MIPS 
    12 +       select USB_EHCI_HCD_SSB if USB_EHCI_HCD 
    13 +       select USB_OHCI_HCD_SSB if USB_OHCI_HCD 
     22+       select USB_HCD_SSB if USB_EHCI_HCD || USB_OHCI_HCD 
    1423        default y 
    1524  
Note: See TracChangeset for help on using the changeset viewer.