Commit 48529680 authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller

r6040: place comments before code

checkpatch.pl complained about the line exceding 80 columns, and the
comment was actually on the same line as the code, fix that.
Signed-off-by: default avatarFlorian Fainelli <florian@openwrt.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 853d5dc9
...@@ -735,9 +735,10 @@ static void r6040_mac_address(struct net_device *dev) ...@@ -735,9 +735,10 @@ static void r6040_mac_address(struct net_device *dev)
void __iomem *ioaddr = lp->base; void __iomem *ioaddr = lp->base;
u16 *adrp; u16 *adrp;
/* MAC operation register */ /* Reset MAC */
iowrite16(MAC_RST, ioaddr + MCR1); /* Reset MAC */ iowrite16(MAC_RST, ioaddr + MCR1);
iowrite16(MAC_SM_RST, ioaddr + MAC_SM); /* Reset internal state machine */ /* Reset internal state machine */
iowrite16(MAC_SM_RST, ioaddr + MAC_SM);
iowrite16(0, ioaddr + MAC_SM); iowrite16(0, ioaddr + MAC_SM);
mdelay(5); mdelay(5);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment