aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r--drivers/net/sky2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index e4e24ee00fb2..cc1c8d13845f 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -1495,6 +1495,7 @@ static int sky2_up(struct net_device *dev)
1495 imask = sky2_read32(hw, B0_IMSK); 1495 imask = sky2_read32(hw, B0_IMSK);
1496 imask |= portirq_msk[port]; 1496 imask |= portirq_msk[port];
1497 sky2_write32(hw, B0_IMSK, imask); 1497 sky2_write32(hw, B0_IMSK, imask);
1498 sky2_read32(hw, B0_IMSK);
1498 1499
1499 sky2_set_multicast(dev); 1500 sky2_set_multicast(dev);
1500 1501
@@ -1812,6 +1813,7 @@ static int sky2_down(struct net_device *dev)
1812 imask = sky2_read32(hw, B0_IMSK); 1813 imask = sky2_read32(hw, B0_IMSK);
1813 imask &= ~portirq_msk[port]; 1814 imask &= ~portirq_msk[port];
1814 sky2_write32(hw, B0_IMSK, imask); 1815 sky2_write32(hw, B0_IMSK, imask);
1816 sky2_read32(hw, B0_IMSK);
1815 1817
1816 synchronize_irq(hw->pdev->irq); 1818 synchronize_irq(hw->pdev->irq);
1817 1819