提交 624f28be 编写于 作者: C Chad Dupuis 提交者: James Bottomley

[SCSI] scsi_transport_fc: Add 32Gbps speed definition.

Signed-off-by: NChad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: NSaurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
上级 3b1bef64
...@@ -261,6 +261,7 @@ static const struct { ...@@ -261,6 +261,7 @@ static const struct {
{ FC_PORTSPEED_10GBIT, "10 Gbit" }, { FC_PORTSPEED_10GBIT, "10 Gbit" },
{ FC_PORTSPEED_8GBIT, "8 Gbit" }, { FC_PORTSPEED_8GBIT, "8 Gbit" },
{ FC_PORTSPEED_16GBIT, "16 Gbit" }, { FC_PORTSPEED_16GBIT, "16 Gbit" },
{ FC_PORTSPEED_32GBIT, "32 Gbit" },
{ FC_PORTSPEED_NOT_NEGOTIATED, "Not Negotiated" }, { FC_PORTSPEED_NOT_NEGOTIATED, "Not Negotiated" },
}; };
fc_bitfield_name_search(port_speed, fc_port_speed_names) fc_bitfield_name_search(port_speed, fc_port_speed_names)
......
...@@ -130,6 +130,7 @@ enum fc_vport_state { ...@@ -130,6 +130,7 @@ enum fc_vport_state {
#define FC_PORTSPEED_4GBIT 8 #define FC_PORTSPEED_4GBIT 8
#define FC_PORTSPEED_8GBIT 0x10 #define FC_PORTSPEED_8GBIT 0x10
#define FC_PORTSPEED_16GBIT 0x20 #define FC_PORTSPEED_16GBIT 0x20
#define FC_PORTSPEED_32GBIT 0x40
#define FC_PORTSPEED_NOT_NEGOTIATED (1 << 15) /* Speed not established */ #define FC_PORTSPEED_NOT_NEGOTIATED (1 << 15) /* Speed not established */
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册