提交 9045f6b4 编写于 作者: Y Yaniv Rosner 提交者: David S. Miller

bnx2x: Fix grammar and relocate code

This patch relocates some functions as a preparation for next patches, and also fixes some grammar mistakes.
Signed-off-by: NYaniv Rosner <yanivr@broadcom.com>
Signed-off-by: NEilon Greenstein <eilong@broadcom.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 bac27bd9
此差异已折叠。
...@@ -121,8 +121,8 @@ struct bnx2x_phy { ...@@ -121,8 +121,8 @@ struct bnx2x_phy {
/* Loaded during init */ /* Loaded during init */
u8 addr; u8 addr;
u8 def_md_devad;
u8 flags; u16 flags;
/* Require HW lock */ /* Require HW lock */
#define FLAGS_HW_LOCK_REQUIRED (1<<0) #define FLAGS_HW_LOCK_REQUIRED (1<<0)
/* No Over-Current detection */ /* No Over-Current detection */
...@@ -134,8 +134,6 @@ struct bnx2x_phy { ...@@ -134,8 +134,6 @@ struct bnx2x_phy {
#define FLAGS_REARM_LATCH_SIGNAL (1<<6) #define FLAGS_REARM_LATCH_SIGNAL (1<<6)
#define FLAGS_SFP_NOT_APPROVED (1<<7) #define FLAGS_SFP_NOT_APPROVED (1<<7)
u8 def_md_devad;
u8 reserved;
/* preemphasis values for the rx side */ /* preemphasis values for the rx side */
u16 rx_preemphasis[4]; u16 rx_preemphasis[4];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册