Commit df3fe1f3 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller

[SKY2]: fiber advertise bits initialization (trivial)

Put initialization in sequential order (same as other constants).
Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ff35164e
...@@ -296,10 +296,10 @@ static const u16 copper_fc_adv[] = { ...@@ -296,10 +296,10 @@ static const u16 copper_fc_adv[] = {
/* flow control to advertise bits when using 1000BaseX */ /* flow control to advertise bits when using 1000BaseX */
static const u16 fiber_fc_adv[] = { static const u16 fiber_fc_adv[] = {
[FC_BOTH] = PHY_M_P_BOTH_MD_X, [FC_NONE] = PHY_M_P_NO_PAUSE_X,
[FC_TX] = PHY_M_P_ASYM_MD_X, [FC_TX] = PHY_M_P_ASYM_MD_X,
[FC_RX] = PHY_M_P_SYM_MD_X, [FC_RX] = PHY_M_P_SYM_MD_X,
[FC_NONE] = PHY_M_P_NO_PAUSE_X, [FC_BOTH] = PHY_M_P_BOTH_MD_X,
}; };
/* flow control to GMA disable bits */ /* flow control to GMA disable bits */
......
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