Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298490
b: refs/heads/master
c: 2240eb4
h: refs/heads/master
v: v3
  • Loading branch information
Lino Sanfilippo authored and David S. Miller committed Apr 2, 2012
1 parent a28381c commit 2f5c271
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 085f1afc56619bda424941412fdeaff1e32c21dc
refs/heads/master: 2240eb4ae3dc4acff20d1a8947c441c451513e37
5 changes: 3 additions & 2 deletions trunk/drivers/net/ethernet/marvell/sky2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1767,13 +1767,14 @@ static int sky2_open(struct net_device *dev)

sky2_hw_up(sky2);

/* Enable interrupts from phy/mac for port */
imask = sky2_read32(hw, B0_IMSK);

if (hw->chip_id == CHIP_ID_YUKON_OPT ||
hw->chip_id == CHIP_ID_YUKON_PRM ||
hw->chip_id == CHIP_ID_YUKON_OP_2)
imask |= Y2_IS_PHY_QLNK; /* enable PHY Quick Link */

/* Enable interrupts from phy/mac for port */
imask = sky2_read32(hw, B0_IMSK);
imask |= portirq_msk[port];
sky2_write32(hw, B0_IMSK, imask);
sky2_read32(hw, B0_IMSK);
Expand Down

0 comments on commit 2f5c271

Please sign in to comment.