Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123130
b: refs/heads/master
c: e51f47a
h: refs/heads/master
v: v3
  • Loading branch information
Wolfram Sang authored and Grant Likely committed Dec 21, 2008
1 parent 90e4473 commit d5020fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6b61e69e7bc1cfe80ab54c6321f19061f9487ed3
refs/heads/master: e51f47a5c695b76905aadc2be47c7dc774f3e5af
5 changes: 1 addition & 4 deletions trunk/drivers/net/fec_mpc52xx_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ static int mpc52xx_fec_mdio_probe(struct of_device *of,
out_be32(&priv->regs->mii_speed,
((mpc52xx_find_ipb_freq(of->node) >> 20) / 5) << 1);

/* enable MII interrupt */
out_be32(&priv->regs->imask, in_be32(&priv->regs->imask) | FEC_IMASK_MII);

err = mdiobus_register(bus);
if (err)
goto out_unmap;
Expand Down Expand Up @@ -156,7 +153,7 @@ static int mpc52xx_fec_mdio_remove(struct of_device *of)

iounmap(priv->regs);
for (i=0; i<PHY_MAX_ADDR; i++)
if (bus->irq[i])
if (bus->irq[i] != PHY_POLL)
irq_dispose_mapping(bus->irq[i]);
kfree(priv);
kfree(bus->irq);
Expand Down

0 comments on commit d5020fe

Please sign in to comment.