mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-11-30 15:53:22 -05:00
scsi: qla2xxx: Fix wrong FDMI data for 64G adapter
commit 1cfbbacbee2d6ea3816386a483e3c7a96e5bd657 upstream. Corrected transmission speed mask values for FC. Supported Speed: 16 32 20 Gb/s ===> Should be 64 instead of 20 Supported Speed: 16G 32G 48G ===> Should be 64G instead of 48G Link: https://lore.kernel.org/r/[email protected] Cc: [email protected] Reviewed-by: Himanshu Madhani <[email protected]> Signed-off-by: Bikash Hazarika <[email protected]> Signed-off-by: Nilesh Javali <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
8e561cbb78
commit
e67e9620a0
1 changed files with 5 additions and 1 deletions
|
|
@ -2725,7 +2725,11 @@ struct ct_fdmiv2_hba_attributes {
|
|||
#define FDMI_PORT_SPEED_8GB 0x10
|
||||
#define FDMI_PORT_SPEED_16GB 0x20
|
||||
#define FDMI_PORT_SPEED_32GB 0x40
|
||||
#define FDMI_PORT_SPEED_64GB 0x80
|
||||
#define FDMI_PORT_SPEED_20GB 0x80
|
||||
#define FDMI_PORT_SPEED_40GB 0x100
|
||||
#define FDMI_PORT_SPEED_128GB 0x200
|
||||
#define FDMI_PORT_SPEED_64GB 0x400
|
||||
#define FDMI_PORT_SPEED_256GB 0x800
|
||||
#define FDMI_PORT_SPEED_UNKNOWN 0x8000
|
||||
|
||||
#define FC_CLASS_2 0x04
|
||||
|
|
|
|||
Loading…
Reference in a new issue