]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SKY2]: fiber advertise bits initialization (trivial)
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 12 Oct 2007 02:48:04 +0000 (19:48 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 12 Oct 2007 05:17:18 +0000 (22:17 -0700)
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>
drivers/net/sky2.c

index c9ee8a2c24b564e049429f366f13f995550778d4..55cda58bf59f32fc75dba4e6fd8d980ddecab674 100644 (file)
@@ -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 */