projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f480c0
)
sungem: Fix PCS_MIICTRL register write in gem_init_phy().
author
David S. Miller
<davem@davemloft.net>
Wed, 26 Nov 2008 09:17:01 +0000
(
01:17
-0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 26 Nov 2008 09:17:01 +0000
(
01:17
-0800)
Use writel not writeb.
Noticed by Hermann Lauer.
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sungem.c
patch
|
blob
|
history
diff --git
a/drivers/net/sungem.c
b/drivers/net/sungem.c
index 4291458955ef7ac9ae1cf5201b3e72a998d61bde..1349e419673ca348dbe5aa22b3b5b27f1a1056dd 100644
(file)
--- a/
drivers/net/sungem.c
+++ b/
drivers/net/sungem.c
@@
-1714,7
+1714,7
@@
static void gem_init_phy(struct gem *gp)
/* Reset PCS unit. */
val = readl(gp->regs + PCS_MIICTRL);
val |= PCS_MIICTRL_RST;
- write
b
(val, gp->regs + PCS_MIICTRL);
+ write
l
(val, gp->regs + PCS_MIICTRL);
limit = 32;
while (readl(gp->regs + PCS_MIICTRL) & PCS_MIICTRL_RST) {