History

crypto: ccp - Add support for new CCP/PSP device ID

Add a new CCP/PSP PCI device ID and corresponding entry in the dev_vdata struct.

John Allen committed 5 years ago

Commit 3438de01 parent 5b2efa21 file · +7 −0Browse files

Unified · Split

drivers/crypto/ccp/sp-pci.c+7−0
@@ -360,6 +360,12 @@ static const struct sp_dev_vdata dev_vdata[] = { · 359 unmodified lines
360#endif360#endif
361#ifdef CONFIG_CRYPTO_DEV_SP_PSP361#ifdef CONFIG_CRYPTO_DEV_SP_PSP
362 .psp_vdata = &pspv3,362 .psp_vdata = &pspv3,
363#endif
364 },
365 { /* 5 */
366 .bar = 2,
367#ifdef CONFIG_CRYPTO_DEV_SP_PSP
368 .psp_vdata = &pspv2,
363#endif369#endif
364 },370 },
365};371};
@@ -370,6 +376,7 @@ static const struct pci_device_id sp_pci_table[] = { · 4 unmodified lines
370 { PCI_VDEVICE(AMD, 0x1486), (kernel_ulong_t)&dev_vdata[3] },376 { PCI_VDEVICE(AMD, 0x1486), (kernel_ulong_t)&dev_vdata[3] },
371 { PCI_VDEVICE(AMD, 0x15DF), (kernel_ulong_t)&dev_vdata[4] },377 { PCI_VDEVICE(AMD, 0x15DF), (kernel_ulong_t)&dev_vdata[4] },
372 { PCI_VDEVICE(AMD, 0x1649), (kernel_ulong_t)&dev_vdata[4] },378 { PCI_VDEVICE(AMD, 0x1649), (kernel_ulong_t)&dev_vdata[4] },
379 { PCI_VDEVICE(AMD, 0x14CA), (kernel_ulong_t)&dev_vdata[5] },
373 /* Last entry must be zero */380 /* Last entry must be zero */
374 { 0, }381 { 0, }
375};382};