Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45407
b: refs/heads/master
c: 261dd5c
h: refs/heads/master
i:
  45405: 5016368
  45403: 5545df0
  45399: 1c45fad
  45391: 4073421
  45375: 6edf834
v: v3
  • Loading branch information
Michael Chan authored and David S. Miller committed Jan 9, 2007
1 parent 45feac3 commit 1d6a87b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 2a2f11c227bdf292b3a2900ad04139d301b56ac4
refs/heads/master: 261dd5ca05c6f36c9216f2d60b018f59f92620c4
6 changes: 3 additions & 3 deletions trunk/drivers/net/bnx2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1345,8 +1345,6 @@ bnx2_init_copper_phy(struct bnx2 *bp)
{
u32 val;

bp->phy_flags |= PHY_CRC_FIX_FLAG;

if (bp->phy_flags & PHY_CRC_FIX_FLAG) {
bnx2_write_phy(bp, 0x18, 0x0c00);
bnx2_write_phy(bp, 0x17, 0x000a);
Expand Down Expand Up @@ -5880,7 +5878,9 @@ bnx2_init_board(struct pci_dev *pdev, struct net_device *dev)
if (reg & BNX2_SHARED_HW_CFG_PHY_2_5G)
bp->phy_flags |= PHY_2_5G_CAPABLE_FLAG;
}
}
} else if (CHIP_NUM(bp) == CHIP_NUM_5706 ||
CHIP_NUM(bp) == CHIP_NUM_5708)
bp->phy_flags |= PHY_CRC_FIX_FLAG;

if ((CHIP_ID(bp) == CHIP_ID_5708_A0) ||
(CHIP_ID(bp) == CHIP_ID_5708_B0) ||
Expand Down

0 comments on commit 1d6a87b

Please sign in to comment.