summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2005-08-01 13:20:47 -0500
committerJon Loeliger <jdl@freescale.com>2005-08-01 13:20:47 -0500
commitde1d0a69956a63cea6a62043ae5d5afb584efe93 (patch)
tree1914348ff43c309890deb6ecad206e37b2bc3a51 /drivers
parentb0e32949239c7870d409ca687a2dfc1261a3d838 (diff)
downloadu-boot-imx-de1d0a69956a63cea6a62043ae5d5afb584efe93.zip
u-boot-imx-de1d0a69956a63cea6a62043ae5d5afb584efe93.tar.gz
u-boot-imx-de1d0a69956a63cea6a62043ae5d5afb584efe93.tar.bz2
Fix style issues primarily in 85xx and 83xx boards.
- C++ comments - Trailing white space - Indentation not by TAB - Excessive amount of empty lines - Trailing empty lines
Diffstat (limited to 'drivers')
-rw-r--r--drivers/tsec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/tsec.c b/drivers/tsec.c
index f5067b3..0c8b0de 100644
--- a/drivers/tsec.c
+++ b/drivers/tsec.c
@@ -524,11 +524,11 @@ static void adjust_link(struct eth_device *dev)
regs->maccfg2 = ((regs->maccfg2&~(MACCFG2_IF))
| MACCFG2_MII);
- /* If We're in reduced mode, we
- * need to say whether we're 10
- * or 100 MB. */
- if ((priv->speed == 100)
- && (priv->flags & TSEC_REDUCED))
+ /* If We're in reduced mode, we need
+ * to say whether we're 10 or 100 MB.
+ */
+ if ((priv->speed == 100)
+ && (priv->flags & TSEC_REDUCED))
regs->ecntrl |= ECNTRL_R100;
else
regs->ecntrl &= ~(ECNTRL_R100);