Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150614
b: refs/heads/master
c: fbcc0e2
h: refs/heads/master
v: v3
  • Loading branch information
Haiying Wang authored and David S. Miller committed Jun 3, 2009
1 parent 270a066 commit 3e19357
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 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: 32d0c1e1bee16781e94c7ea8c75499696bce0a33
refs/heads/master: fbcc0e2ce5a4fde63c7f33153bd7e3a4791e01c8
6 changes: 5 additions & 1 deletion trunk/drivers/net/fsl_pq_mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,17 @@ static int fsl_pq_mdio_probe(struct of_device *ofdev,
of_device_is_compatible(np, "ucc_geth_phy")) {
#ifdef CONFIG_UCC_GETH
u32 id;
static u32 mii_mng_master;

tbipa = &regs->utbipar;

if ((err = get_ucc_id_for_range(addr, addr + size, &id)))
goto err_free_irqs;

ucc_set_qe_mux_mii_mng(id - 1);
if (!mii_mng_master) {
mii_mng_master = id;
ucc_set_qe_mux_mii_mng(id - 1);
}
#else
err = -ENODEV;
goto err_free_irqs;
Expand Down

0 comments on commit 3e19357

Please sign in to comment.