mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 11:49:32 +00:00
[SKY2]: fiber advertise bits initialization (trivial)
Put initialization in sequential order (same as other constants). Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
ff35164e72
commit
df3fe1f318
1 changed files with 2 additions and 2 deletions
|
@ -296,10 +296,10 @@ static const u16 copper_fc_adv[] = {
|
|||
|
||||
/* flow control to advertise bits when using 1000BaseX */
|
||||
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_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 */
|
||||
|
|
Loading…
Reference in a new issue