usb: lowlevel interface change to support multiple controllers
authorLucas Stach <dev@lynxeye.de>
Tue, 25 Sep 2012 22:14:34 +0000 (00:14 +0200)
committerTom Rini <trini@ti.com>
Mon, 15 Oct 2012 18:54:00 +0000 (11:54 -0700)
commitc7e3b2b58636704d504ac270031d87b716d8b273
treeccbba6153c289fdb23ce766b80094b0a98d53bd2
parent5527efe501c117fc86273e2d7c7b6f30884015c3
usb: lowlevel interface change to support multiple controllers

Carry an index in the lowlevel usb functions to make specify the
respective usb controller.

Also pass through an controller struct from lowlevel_init to the
creation of the root usb device of this controller.

Signed-off-by: Lucas Stach <dev@lynxeye.de>
Reviewed-by: Marek Vasut <marex@denx.de>
17 files changed:
arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c
arch/mips/cpu/mips32/au1x00/au1x00_usb_ohci.c
arch/powerpc/cpu/mpc5xxx/usb_ohci.c
arch/powerpc/cpu/ppc4xx/usb_ohci.c
arch/sparc/cpu/leon3/usb_uhci.c
arch/sparc/lib/bootm.c
board/mpl/common/usb_uhci.c
common/usb.c
common/usb_hub.c
drivers/usb/host/ehci-hcd.c
drivers/usb/host/isp116x-hcd.c
drivers/usb/host/ohci-hcd.c
drivers/usb/host/r8a66597-hcd.c
drivers/usb/host/sl811-hcd.c
drivers/usb/musb/musb_hcd.c
include/usb.h
include/usb/mv_udc.h