cxl: Enable PCI device ID for future CAPI adapter

Message ID 1512493568-1751-1-git-send-email-clombard@linux.vnet.ibm.com
State Rejected
Headers show
Series
  • cxl: Enable PCI device ID for future CAPI adapter
Related show

Commit Message

Christophe Lombard Dec. 5, 2017, 5:06 p.m.
Add support for future Coherent Accelerator device with an
ID of 0x060e.

Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
---
 drivers/misc/cxl/pci.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Frederic Barrat Dec. 5, 2017, 5:44 p.m. | #1
Le 05/12/2017 à 18:06, Christophe Lombard a écrit :
> Add support for future Coherent Accelerator device with an
> ID of 0x060e.
> 
> Signed-off-by: Christophe Lombard <clombard@linux.vnet.ibm.com>
> ---

mpe, you can drop that patch, it's not needed. Christophe and I have 
sync'd up.

   Fred


>   drivers/misc/cxl/pci.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c
> index 19969ee..5f5b9aa 100644
> --- a/drivers/misc/cxl/pci.c
> +++ b/drivers/misc/cxl/pci.c
> @@ -123,6 +123,7 @@ static const struct pci_device_id cxl_pci_tbl[] = {
>   	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x044b), },
>   	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x04cf), },
>   	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x0601), },
> +	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x060e), },
>   	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x0623), },
>   	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x0628), },
>   	{ PCI_DEVICE_CLASS(0x120000, ~0), },
>

Patch

diff --git a/drivers/misc/cxl/pci.c b/drivers/misc/cxl/pci.c
index 19969ee..5f5b9aa 100644
--- a/drivers/misc/cxl/pci.c
+++ b/drivers/misc/cxl/pci.c
@@ -123,6 +123,7 @@  static const struct pci_device_id cxl_pci_tbl[] = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x044b), },
 	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x04cf), },
 	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x0601), },
+	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x060e), },
 	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x0623), },
 	{ PCI_DEVICE(PCI_VENDOR_ID_IBM, 0x0628), },
 	{ PCI_DEVICE_CLASS(0x120000, ~0), },