[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YGuwDHuxQd01sLQu@epycbox.lan>
Date: Mon, 5 Apr 2021 17:49:16 -0700
From: Moritz Fischer <mdf@...nel.org>
To: matthew.gerlach@...ux.intel.com
Cc: hao.wu@...el.com, trix@...hat.com, mdf@...nel.org,
linux-fpga@...r.kernel.org, linux-kernel@...r.kernel.org,
yilun.xu@...el.com, jdelvare@...e.com, linux@...ck-us.net,
lee.jones@...aro.org, linux-hwmon@...r.kernel.org,
russell.h.weight@...ux.intel.com,
Russ Weight <russell.h.weight@...el.com>
Subject: Re: [PATCH 1/3] fpga: dfl: pci: add DID for D5005 PAC cards
On Mon, Apr 05, 2021 at 04:52:59PM -0700, matthew.gerlach@...ux.intel.com wrote:
> From: Russ Weight <russell.h.weight@...el.com>
>
> This patch adds the approved PCI Express Device IDs for the
> PF and VF for the card for D5005 PAC cards.
>
> Signed-off-by: Russ Weight <russell.h.weight@...el.com>
> Signed-off-by: Matthew Gerlach <matthew.gerlach@...ux.intel.com>
> ---
> drivers/fpga/dfl-pci.c | 18 +++++++++++-------
> 1 file changed, 11 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/fpga/dfl-pci.c b/drivers/fpga/dfl-pci.c
> index 04e47e2..b44523e 100644
> --- a/drivers/fpga/dfl-pci.c
> +++ b/drivers/fpga/dfl-pci.c
> @@ -69,14 +69,16 @@ static void cci_pci_free_irq(struct pci_dev *pcidev)
> }
>
> /* PCI Device ID */
> -#define PCIE_DEVICE_ID_PF_INT_5_X 0xBCBD
> -#define PCIE_DEVICE_ID_PF_INT_6_X 0xBCC0
> -#define PCIE_DEVICE_ID_PF_DSC_1_X 0x09C4
> -#define PCIE_DEVICE_ID_INTEL_PAC_N3000 0x0B30
> +#define PCIE_DEVICE_ID_PF_INT_5_X 0xBCBD
> +#define PCIE_DEVICE_ID_PF_INT_6_X 0xBCC0
> +#define PCIE_DEVICE_ID_PF_DSC_1_X 0x09C4
> +#define PCIE_DEVICE_ID_INTEL_PAC_N3000 0x0B30
> +#define PCIE_DEVICE_ID_INTEL_PAC_D5005 0x0B2B
> /* VF Device */
> -#define PCIE_DEVICE_ID_VF_INT_5_X 0xBCBF
> -#define PCIE_DEVICE_ID_VF_INT_6_X 0xBCC1
> -#define PCIE_DEVICE_ID_VF_DSC_1_X 0x09C5
> +#define PCIE_DEVICE_ID_VF_INT_5_X 0xBCBF
> +#define PCIE_DEVICE_ID_VF_INT_6_X 0xBCC1
> +#define PCIE_DEVICE_ID_VF_DSC_1_X 0x09C5
> +#define PCIE_DEVICE_ID_INTEL_PAC_D5005_VF 0x0B2C
>
> static struct pci_device_id cci_pcie_id_tbl[] = {
> {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_PF_INT_5_X),},
> @@ -86,6 +88,8 @@ static void cci_pci_free_irq(struct pci_dev *pcidev)
> {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_PF_DSC_1_X),},
> {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_VF_DSC_1_X),},
> {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_PAC_N3000),},
> + {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_PAC_D5005),},
> + {PCI_DEVICE(PCI_VENDOR_ID_INTEL, PCIE_DEVICE_ID_INTEL_PAC_D5005_VF),},
> {0,}
> };
> MODULE_DEVICE_TABLE(pci, cci_pcie_id_tbl);
> --
> 1.8.3.1
>
Applied to for-next,
Thanks
Powered by blists - more mailing lists