diff options
author | David S. Miller <davem@davemloft.net> | 2008-11-26 01:17:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-26 01:17:01 -0800 |
commit | bd51126957eeac96d056c670545ff798c89f63f5 (patch) | |
tree | c99dcca2d46c673f7a37473cb601d5765fe3c9aa /drivers/net/sungem.c | |
parent | 8f480c0e4e120911a673ed7385359bf76ae01963 (diff) |
sungem: Fix PCS_MIICTRL register write in gem_init_phy().
Use writel not writeb.
Noticed by Hermann Lauer.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sungem.c')
-rw-r--r-- | drivers/net/sungem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index 4291458955ef..1349e419673c 100644 --- 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; - writeb(val, gp->regs + PCS_MIICTRL); + writel(val, gp->regs + PCS_MIICTRL); limit = 32; while (readl(gp->regs + PCS_MIICTRL) & PCS_MIICTRL_RST) { |