From: Stephen Hemminger Date: Fri, 12 Oct 2007 02:48:04 +0000 (-0700) Subject: [SKY2]: fiber advertise bits initialization (trivial) X-Git-Tag: v2.6.24-rc1~1448^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=df3fe1f318b226453b8dc48622c2b6eb78d75dbb;p=linux-2.6-omap-h63xx.git [SKY2]: fiber advertise bits initialization (trivial) Put initialization in sequential order (same as other constants). Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index c9ee8a2c24b..55cda58bf59 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c @@ -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 */