Add a new CCP/PSP PCI device ID and corresponding entry in the dev_vdata struct.
Unified · Split
| @@ -360,6 +360,12 @@ static const struct sp_dev_vdata dev_vdata[] = { · 359 unmodified lines | |||
| 360 | #endif | 360 | #endif |
| 361 | #ifdef CONFIG_CRYPTO_DEV_SP_PSP | 361 | #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 | #endif | 369 | #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 | }; |