Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290154
b: refs/heads/master
c: 04f2d51
h: refs/heads/master
v: v3
  • Loading branch information
Mintz Yuval authored and David S. Miller committed Feb 15, 2012
1 parent 21ccb9f commit f1dc0b1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 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: 10bd1f243c3a5ea1aebae88d21932e5614afa9cc
refs/heads/master: 04f2d51313938d004983652ea6162d4940d83a04
11 changes: 0 additions & 11 deletions trunk/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -11352,17 +11352,6 @@ static void bnx2x_eeh_recover(struct bnx2x *bp)

mutex_init(&bp->port.phy_mutex);

bp->common.shmem_base = REG_RD(bp, MISC_REG_SHARED_MEM_ADDR);
bp->link_params.shmem_base = bp->common.shmem_base;
BNX2X_DEV_INFO("shmem offset is 0x%x\n", bp->common.shmem_base);

if (!bp->common.shmem_base ||
(bp->common.shmem_base < 0xA0000) ||
(bp->common.shmem_base >= 0xC0000)) {
BNX2X_DEV_INFO("MCP not active\n");
bp->flags |= NO_MCP_FLAG;
return;
}

val = SHMEM_RD(bp, validity_map[BP_PORT(bp)]);
if ((val & (SHR_MEM_VALIDITY_DEV_INFO | SHR_MEM_VALIDITY_MB))
Expand Down

0 comments on commit f1dc0b1

Please sign in to comment.