diff mbox

pci: Add DMA alias quirk for Adaptec 3805

Message ID 20160718143209.7169.80117.stgit@gimli.home
State Accepted
Headers show

Commit Message

Alex Williamson July 18, 2016, 2:32 p.m. UTC
Just like the 3405 quirk added in commit d3d2ab43ddae ("PCI: Add DMA
alias quirk for Adaptec 3405").

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


--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Bjorn Helgaas July 19, 2016, 10:15 p.m. UTC | #1
On Mon, Jul 18, 2016 at 08:32:45AM -0600, Alex Williamson wrote:
> Just like the 3405 quirk added in commit d3d2ab43ddae ("PCI: Add DMA
> alias quirk for Adaptec 3405").
> 
> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
> Link: https://www.redhat.com/archives/vfio-users/2016-July/msg00046.html

Applied to pci/virtualization for v4.8, thanks, Alex!

> ---
>  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 }
>  };
>  
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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 }
 };