PCI: Add function 1 DMA alias quirk for Marvell devices
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 28 May 2014 20:54:00 +0000 (14:54 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 28 May 2014 21:48:03 +0000 (15:48 -0600)
commitcc346a4714a59d08c118e8f33fd86692d3563133
tree104675486d80deb162579fd245f351344a47711c
parentec637fb2d4f7a7167c323dc1d22837d1270a21bc
PCI: Add function 1 DMA alias quirk for Marvell devices

Several Marvell devices and a JMicron device have a similar DMA requester
ID problem to Ricoh, except they use function 1 as the PCIe requester ID.
Add a quirk for these to populate the DMA alias with the correct devfn.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=42679
Tested-by: George Spelvin <linux@horizon.com>
Tested-by: Andreas Schrägle <ajs124.ajs124@gmail.com>
Tested-by: Tobias N <qemu@suppser.de>
Tested-by: <daxcore@online.de>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c