mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 00:34:20 +08:00
1643accdaa
The OCTEON II SOC has USB EHCI and OHCI controllers connected directly to the internal I/O bus. This patch adds the necessary 'glue' logic to allow ehci-hcd and ohci-hcd drivers to work on OCTEON II. The OCTEON normally runs big-endian, and the ehci/ohci internal registers have host endianness, so we need to select USB_EHCI_BIG_ENDIAN_MMIO. The ehci and ohci blocks share a common clocking and PHY infrastructure. Initialization of the host controller and PHY clocks is common between the two and is factored out into the octeon2-common.c file. Setting of USB_ARCH_HAS_OHCI and USB_ARCH_HAS_EHCI is done in arch/mips/Kconfig in a following patch. Signed-off-by: David Daney <ddaney@caviumnetworks.com> To: linux-usb@vger.kernel.org To: dbrownell@users.sourceforge.net Patchwork: http://patchwork.linux-mips.org/patch/1675/ Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
#
|
|
# Makefile for USB Host Controller Drivers
|
|
#
|
|
|
|
ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG
|
|
|
|
isp1760-y := isp1760-hcd.o isp1760-if.o
|
|
|
|
fhci-y := fhci-hcd.o fhci-hub.o fhci-q.o
|
|
fhci-y += fhci-mem.o fhci-tds.o fhci-sched.o
|
|
|
|
fhci-$(CONFIG_FHCI_DEBUG) += fhci-dbg.o
|
|
|
|
xhci-hcd-y := xhci.o xhci-mem.o xhci-pci.o
|
|
xhci-hcd-y += xhci-ring.o xhci-hub.o xhci-dbg.o
|
|
|
|
obj-$(CONFIG_USB_WHCI_HCD) += whci/
|
|
|
|
obj-$(CONFIG_PCI) += pci-quirks.o
|
|
|
|
obj-$(CONFIG_USB_EHCI_HCD) += ehci-hcd.o
|
|
obj-$(CONFIG_USB_OXU210HP_HCD) += oxu210hp-hcd.o
|
|
obj-$(CONFIG_USB_ISP116X_HCD) += isp116x-hcd.o
|
|
obj-$(CONFIG_USB_ISP1362_HCD) += isp1362-hcd.o
|
|
obj-$(CONFIG_USB_OHCI_HCD) += ohci-hcd.o
|
|
obj-$(CONFIG_USB_UHCI_HCD) += uhci-hcd.o
|
|
obj-$(CONFIG_USB_FHCI_HCD) += fhci.o
|
|
obj-$(CONFIG_USB_XHCI_HCD) += xhci-hcd.o
|
|
obj-$(CONFIG_USB_SL811_HCD) += sl811-hcd.o
|
|
obj-$(CONFIG_USB_SL811_CS) += sl811_cs.o
|
|
obj-$(CONFIG_USB_U132_HCD) += u132-hcd.o
|
|
obj-$(CONFIG_USB_R8A66597_HCD) += r8a66597-hcd.o
|
|
obj-$(CONFIG_USB_ISP1760_HCD) += isp1760.o
|
|
obj-$(CONFIG_USB_HWA_HCD) += hwa-hc.o
|
|
obj-$(CONFIG_USB_IMX21_HCD) += imx21-hcd.o
|
|
obj-$(CONFIG_USB_FSL_MPH_DR_OF) += fsl-mph-dr-of.o
|
|
obj-$(CONFIG_USB_OCTEON2_COMMON) += octeon2-common.o
|