Commit 9045f6b4 authored by Yaniv Rosner's avatar Yaniv Rosner Committed by 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: default avatarYaniv Rosner <yanivr@broadcom.com>
Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bac27bd9
This diff is collapsed.
...@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment