]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MIPS: Octeon: Update DMA mapping operations for OCTEON II processors.
authorDavid Daney <david.daney@cavium.com>
Tue, 22 Nov 2011 14:47:04 +0000 (14:47 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 22 Nov 2011 14:47:04 +0000 (14:47 +0000)
commit88375cd66d4f8628d1811c2a1eaf6da8569194a6
treedc91345c9a0db0de9e96351e3109870d72951d8e
parent9c77047a55a3f0d3168071812227209a5641ed05
MIPS: Octeon: Update DMA mapping operations for OCTEON II processors.

OCTEON II has a new dma to phys mapping method for PCIe.  Define
OCTEON_DMA_BAR_TYPE_PCIE2 to denote this case, and handle it.

OCTEON II also needs a swiotlb if the OHCI USB driver is enabled, so
allocate this too.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2983/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/dma-octeon.c
arch/mips/include/asm/octeon/pci-octeon.h