aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-07-22 19:26:07 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-07-31 00:40:53 -0400
commit2c66851460c9438823e39b76887376d1511fb67c (patch)
tree5a1028f8abb4ef03772f9f09c7e77cc7c110ca2b /drivers/net/skge.c
parent382317138b3ade02c9c319531ab0619e95dbc672 (diff)
[PATCH] skge: whitespace fixes
Minor whitespace cleanups. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/skge.c')
-rw-r--r--drivers/net/skge.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c
index 0857be8f99f2..6b04b89cbb4f 100644
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
@@ -248,7 +248,7 @@ static int skge_set_settings(struct net_device *dev, struct ethtool_cmd *ecmd)
248 } else { 248 } else {
249 u32 setting; 249 u32 setting;
250 250
251 switch(ecmd->speed) { 251 switch (ecmd->speed) {
252 case SPEED_1000: 252 case SPEED_1000:
253 if (ecmd->duplex == DUPLEX_FULL) 253 if (ecmd->duplex == DUPLEX_FULL)
254 setting = SUPPORTED_1000baseT_Full; 254 setting = SUPPORTED_1000baseT_Full;
@@ -1026,7 +1026,7 @@ static void bcom_check_link(struct skge_hw *hw, int port)
1026 } 1026 }
1027 1027
1028 /* Check Duplex mismatch */ 1028 /* Check Duplex mismatch */
1029 switch(aux & PHY_B_AS_AN_RES_MSK) { 1029 switch (aux & PHY_B_AS_AN_RES_MSK) {
1030 case PHY_B_RES_1000FD: 1030 case PHY_B_RES_1000FD:
1031 skge->duplex = DUPLEX_FULL; 1031 skge->duplex = DUPLEX_FULL;
1032 break; 1032 break;
@@ -1097,7 +1097,7 @@ static void bcom_phy_init(struct skge_port *skge, int jumbo)
1097 r |= XM_MMU_NO_PRE; 1097 r |= XM_MMU_NO_PRE;
1098 xm_write16(hw, port, XM_MMU_CMD,r); 1098 xm_write16(hw, port, XM_MMU_CMD,r);
1099 1099
1100 switch(id1) { 1100 switch (id1) {
1101 case PHY_BCOM_ID1_C0: 1101 case PHY_BCOM_ID1_C0:
1102 /* 1102 /*
1103 * Workaround BCOM Errata for the C0 type. 1103 * Workaround BCOM Errata for the C0 type.