From: Eilon Greenstein Date: Wed, 14 Jan 2009 06:44:04 +0000 (+0000) Subject: bnx2x: Read chip ID X-Git-Tag: MMI-PSA29.97-13-9~29752^2~74 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5a40e08e666e8caa1227333de41fd1e2cd84d4f5;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git bnx2x: Read chip ID Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index 8f8271d76db6..7ee6a211f9ba 100644 --- a/drivers/net/bnx2x_main.c +++ b/drivers/net/bnx2x_main.c @@ -6975,7 +6975,7 @@ static void __devinit bnx2x_get_common_hwinfo(struct bnx2x *bp) id |= ((val & 0xf) << 12); val = REG_RD(bp, MISC_REG_CHIP_METAL); id |= ((val & 0xff) << 4); - REG_RD(bp, MISC_REG_BOND_ID); + val = REG_RD(bp, MISC_REG_BOND_ID); id |= (val & 0xf); bp->common.chip_id = id; bp->link_params.chip_id = bp->common.chip_id;