[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 4628fd5e068859c4cec9cead369cb9a67a9409c8..f80908f74ca97549b3a2df449752e0da5750485b 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 b797e8fad66961e6667407cea45fc21a1ce568d8..8c79980dc8f2827072deea5b981dddc1e5b07ae4 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 */
 
 /*