[PATCH] pci: Add DMA alias quirk for Adaptec 3805

From: Alex Williamson
Date: Mon Jul 18 2016 - 10:32:50 EST


Just like the 3405 quirk added in commit d3d2ab43ddae ("PCI: Add DMA
alias quirk for Adaptec 3405").

Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
Link: https://www.redhat.com/archives/vfio-users/2016-July/msg00046.html
---
drivers/pci/quirks.c | 3 +++
1 file changed, 3 insertions(+)

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 98b0af0..b69321c 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -3752,6 +3752,9 @@ static const struct pci_device_id fixed_dma_alias_tbl[] = {
{ PCI_DEVICE_SUB(PCI_VENDOR_ID_ADAPTEC2, 0x0285,
PCI_VENDOR_ID_ADAPTEC2, 0x02bb), /* Adaptec 3405 */
.driver_data = PCI_DEVFN(1, 0) },
+ { PCI_DEVICE_SUB(PCI_VENDOR_ID_ADAPTEC2, 0x0285,
+ PCI_VENDOR_ID_ADAPTEC2, 0x02bc), /* Adaptec 3805 */
+ .driver_data = PCI_DEVFN(1, 0) },
{ 0 }
};