Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 352043
b: refs/heads/master
c: 7614fe8
h: refs/heads/master
i:
  352041: 582f359
  352039: 0360399
v: v3
  • Loading branch information
Mahesh Bandewar authored and David S. Miller committed Feb 3, 2013
1 parent 6018ce4 commit 6ccf446
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: daef2262a730144af851ef352b003ecadbdff005
refs/heads/master: 7614fe8888840a78ad4730d82adcc679c1af1894
6 changes: 6 additions & 0 deletions trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -4748,6 +4748,12 @@ void bnx2x_link_status_update(struct link_params *params,
vars->link_status = REG_RD(bp, params->shmem_base +
offsetof(struct shmem_region,
port_mb[port].link_status));

/* Force link UP in non LOOPBACK_EXT loopback mode(s) */
if (bp->link_params.loopback_mode != LOOPBACK_NONE &&
bp->link_params.loopback_mode != LOOPBACK_EXT)
vars->link_status |= LINK_STATUS_LINK_UP;

if (bnx2x_eee_has_cap(params))
vars->eee_status = REG_RD(bp, params->shmem2_base +
offsetof(struct shmem2_region,
Expand Down

0 comments on commit 6ccf446

Please sign in to comment.