[SCSI] scsi_transport_fc: Add 32Gbps speed definition.
authorChad Dupuis <chad.dupuis@qlogic.com>
Wed, 26 Feb 2014 09:15:05 +0000 (04:15 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:17:50 +0000 (10:17 -0700)
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_transport_fc.c
include/scsi/scsi_transport_fc.h

index 4628fd5..f80908f 100644 (file)
@@ -261,6 +261,7 @@ static const struct {
        { FC_PORTSPEED_10GBIT,          "10 Gbit" },
        { FC_PORTSPEED_8GBIT,           "8 Gbit" },
        { FC_PORTSPEED_16GBIT,          "16 Gbit" },
+       { FC_PORTSPEED_32GBIT,          "32 Gbit" },
        { FC_PORTSPEED_NOT_NEGOTIATED,  "Not Negotiated" },
 };
 fc_bitfield_name_search(port_speed, fc_port_speed_names)
index b797e8f..8c79980 100644 (file)
@@ -130,6 +130,7 @@ enum fc_vport_state {
 #define FC_PORTSPEED_4GBIT             8
 #define FC_PORTSPEED_8GBIT             0x10
 #define FC_PORTSPEED_16GBIT            0x20
+#define FC_PORTSPEED_32GBIT            0x40
 #define FC_PORTSPEED_NOT_NEGOTIATED    (1 << 15) /* Speed not established */
 
 /*