scsi: lpfc: Add support for ATTO Fibre Channel devices
Subsystems (2)
PATCH 1/1 scsi: lpfc: Add support for ATTO Fibre Channel devices
Update pci_device_id table and generate reporting strings for ATTO Celerity and ThunderLink Fibre Channel devices.
Co-developed-by Jason Seba <[email protected]>
Signed-off-by Jason Seba <[email protected]>
Signed-off-by Bradley Grove <[email protected]>
--- drivers/scsi/lpfc/lpfc_hw.h | 22 +++++++++ drivers/scsi/lpfc/lpfc_ids.h | 30 ++++++++++++ drivers/scsi/lpfc/lpfc_init.c | 89 +++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+)
drivers/scsi/lpfc/lpfc_hw.h +22 -0
@@ -1738,6 +1738,28 @@ struct lpfc_fdmi_reg_portattr {#define PCI_DEVICE_ID_TOMCAT 0x0714#define PCI_DEVICE_ID_SKYHAWK 0x0724#define PCI_DEVICE_ID_SKYHAWK_VF 0x072c +#define PCI_VENDOR_ID_ATTO 0x117c +#define PCI_DEVICE_ID_CLRY_16XE 0x0064 +#define PCI_DEVICE_ID_CLRY_161E 0x0063 +#define PCI_DEVICE_ID_CLRY_162E 0x0064 +#define PCI_DEVICE_ID_CLRY_164E 0x0065 +#define PCI_DEVICE_ID_CLRY_16XP 0x0094 +#define PCI_DEVICE_ID_CLRY_161P 0x00a0 +#define PCI_DEVICE_ID_CLRY_162P 0x0094 +#define PCI_DEVICE_ID_CLRY_164P 0x00a1 +#define PCI_DEVICE_ID_CLRY_32XE 0x0094 +#define PCI_DEVICE_ID_CLRY_321E 0x00a2 +#define PCI_DEVICE_ID_CLRY_322E 0x00a3 +#define PCI_DEVICE_ID_CLRY_324E 0x00ac +#define PCI_DEVICE_ID_CLRY_32XP 0x00bb +#define PCI_DEVICE_ID_CLRY_321P 0x00bc +#define PCI_DEVICE_ID_CLRY_322P 0x00bd +#define PCI_DEVICE_ID_CLRY_324P 0x00be +#define PCI_DEVICE_ID_TLFC_2 0x0064 +#define PCI_DEVICE_ID_TLFC_2XX2 0x4064 +#define PCI_DEVICE_ID_TLFC_3 0x0094 +#define PCI_DEVICE_ID_TLFC_3162 0x40a6 +#define PCI_DEVICE_ID_TLFC_3322 0x40a7#define JEDEC_ID_ADDRESS 0x0080001c#define FIREFLY_JEDEC_ID 0x1ACC
drivers/scsi/lpfc/lpfc_ids.h +30 -0
@@ -124,5 +124,35 @@ const struct pci_device_id lpfc_id_table[] = { PCI_ANY_ID, PCI_ANY_ID, }, {PCI_VENDOR_ID_EMULEX, PCI_DEVICE_ID_SKYHAWK_VF, PCI_ANY_ID, PCI_ANY_ID, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_16XE, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_161E, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_16XE, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_162E, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_16XE, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_164E, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_16XP, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_161P, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_16XP, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_162P, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_16XP, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_164P, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_32XE, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_321E, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_32XE, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_322E, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_32XE, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_324E, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_32XP, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_321P, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_32XP, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_322P, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_32XP, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_CLRY_324P, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_TLFC_2, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_TLFC_2XX2, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_TLFC_3, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_TLFC_3162, }, + {PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_TLFC_3, + PCI_VENDOR_ID_ATTO, PCI_DEVICE_ID_TLFC_3322, }, { 0 } };
drivers/scsi/lpfc/lpfc_init.c +89 -0
101 lines not on this page · raw message
Signature · 1 line
2.36.0
Quoted 12 lines · Bradley Grove
Update
pci_device_idtable and generate reporting strings for ATTO Celerity and ThunderLink Fibre Channel devices.Co-developed-by Jason Seba <[email protected]>Signed-off-by Jason Seba <[email protected]>Signed-off-by Bradley Grove <[email protected]>--- drivers/scsi/lpfc/lpfc_hw.h | 22 +++++++++ drivers/scsi/lpfc/lpfc_ids.h | 30 ++++++++++++ drivers/scsi/lpfc/lpfc_init.c | 89 +++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+)
Reviewed-by Hannes Reinecke <[email protected]>
Cheers,
Hannes
Signature · 4 lines
Dr. Hannes Reinecke Kernel Storage Architect [email protected] +49 911 74053 688 SUSE Software Solutions Germany GmbH, Maxfeldstr. 5, 90409 Nürnberg HRB 36809 (AG Nürnberg), GF: Felix Imendörffer
Quoted 12 lines · Bradley Grove
Update
pci_device_idtable and generate reporting strings for ATTO Celerity and ThunderLink Fibre Channel devices.Co-developed-by Jason Seba <[email protected]>Signed-off-by Jason Seba <[email protected]>Signed-off-by Bradley Grove <[email protected]>--- drivers/scsi/lpfc/lpfc_hw.h | 22 +++++++++ drivers/scsi/lpfc/lpfc_ids.h | 30 ++++++++++++ drivers/scsi/lpfc/lpfc_init.c | 89 +++++++++++++++++++++++++++++++++++ 3 files changed, 141 insertions(+)
Reviewed-by James Smart <[email protected]>
-- james
Martin K. Petersen
AppliedBradley,
Quoted 2 lines
Update
pci_device_idtable and generate reporting strings for ATTO Celerity and ThunderLink Fibre Channel devices.
Applied to 5.19/scsi-staging, thanks!
Signature · 1 line
Martin K. Petersen Oracle Linux Engineering