From: Alex Williamson Date: Thu, 22 May 2014 23:07:49 +0000 (-0600) Subject: PCI: Add function 0 DMA alias quirk for Ricoh devices X-Git-Tag: omap-for-v3.16/fixes-against-rc1~38^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec637fb2d4f7a7167c323dc1d22837d1270a21bc;p=pandora-kernel.git PCI: Add function 0 DMA alias quirk for Ricoh devices The existing quirk for these devices (pci_get_dma_source()) doesn't really solve the problem; re-implement it using the DMA alias iterator. We'll come back later and remove the existing quirk and dma_source interface. Note that device ID 0xe822 is typically function 0 and 0xe230 has been tested to not need the quirk and are therefore removed versus the equivalent dma_source quirk. If there exist in other configurations we can re-add them. Link: https://bugzilla.redhat.com/show_bug.cgi?id=605888 Tested-by: Pat Erley Signed-off-by: Alex Williamson Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed