scsi: ufs: ufs-pci: Add AMD device ID support
PATCH 1/1 scsi: ufs: ufs-pci: Add AMD device ID support
Add PCI device ID 0x1022:0x1B29 for AMD UFS controllers.
Signed-off-by Rajeshkumar Sambandham <[email protected]>
--- drivers/ufs/host/ufshcd-pci.c | 1 + 1 file changed, 1 insertion(+)
drivers/ufs/host/ufshcd-pci.c +1 -0
@@ -684,6 +684,7 @@ static const struct pci_device_id ufshcd_pci_tbl[] = { {PCI_VENDOR_ID_REDHAT ,0x0013 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , (kernel_ulong_t)&ufs_qemu_hba_vops }, { PCI_VENDOR_ID_SAMSUNG, 0xC00C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, + { PCI_VENDOR_ID_AMD, 0x1B29, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VDEVICE(INTEL, 0x9DFA), (kernel_ulong_t)&ufs_intel_cnl_hba_vops }, { PCI_VDEVICE(INTEL, 0x4B41), (kernel_ulong_t)&ufs_intel_ehl_hba_vops }, { PCI_VDEVICE(INTEL, 0x4B43), (kernel_ulong_t)&ufs_intel_ehl_hba_vops },
Signature · 1 line
2.34.1
Quoted 3 lines · Rajeshkumar Sambandham
Add PCI device ID 0x1022:0x1B29 for AMD UFS controllers.
Signed-off-by Rajeshkumar Sambandham <[email protected]>
Does not apply anymore since "scsi: ufs: ufshcd-pci: Use PCI_VDEVICE and named initializers for pci array"
Quoted 16 lines
--- drivers/ufs/host/ufshcd-pci.c | 1 + 1 file changed, 1 insertion(+)drivers/ufs/host/ufshcd-pci.c +1
-0@@ -684,6 +684,7 @@ static const struct pci_device_id ufshcd_pci_tbl[] = { {PCI_VENDOR_ID_REDHAT ,0x0013 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , (kernel_ulong_t)&ufs_qemu_hba_vops }, { PCI_VENDOR_ID_SAMSUNG, 0xC00C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, + { PCI_VENDOR_ID_AMD, 0x1B29, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VDEVICE(INTEL, 0x9DFA), (kernel_ulong_t)&ufs_intel_cnl_hba_vops }, { PCI_VDEVICE(INTEL, 0x4B41), (kernel_ulong_t)&ufs_intel_ehl_hba_vops }, { PCI_VDEVICE(INTEL, 0x4B43), (kernel_ulong_t)&ufs_intel_ehl_hba_vops },
Quoted 6 lines · Adrian Hunter
Quoted 3 lines · Rajeshkumar Sambandham
Add PCI device ID 0x1022:0x1B29 for AMD UFS controllers.
Signed-off-by Rajeshkumar Sambandham <[email protected]>Does not apply anymore since "scsi: ufs: ufshcd-pci: Use
PCI_VDEVICEand named initializers for pci array"
Ack, I will update the patch accordingly and send v2.
Quoted 17 lines
Quoted 17 lines
--- drivers/ufs/host/ufshcd-pci.c | 1 + 1 file changed, 1 insertion(+)drivers/ufs/host/ufshcd-pci.c +1
-0@@ -684,6 +684,7 @@ static const struct pci_device_id ufshcd_pci_tbl[] = { {PCI_VENDOR_ID_REDHAT ,0x0013 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , (kernel_ulong_t)&ufs_qemu_hba_vops }, { PCI_VENDOR_ID_SAMSUNG, 0xC00C, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, + { PCI_VENDOR_ID_AMD, 0x1B29, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { PCI_VDEVICE(INTEL, 0x9DFA), (kernel_ulong_t)&ufs_intel_cnl_hba_vops }, { PCI_VDEVICE(INTEL, 0x4B41), (kernel_ulong_t)&ufs_intel_ehl_hba_vops }, { PCI_VDEVICE(INTEL, 0x4B43), (kernel_ulong_t)&ufs_intel_ehl_hba_vops },