diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-06-17 07:30:34 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-17 18:46:50 -0700 |
commit | 1fd82f3cafa8e7854db08eccbdb8a9218225e1ef (patch) | |
tree | 3bb1e16a67381ceaa56c7bb44a4909b551c6933f /drivers/net | |
parent | c0bad0f2e4366d5bbfe0c4a7a80bca8f4b05272b (diff) | |
download | op-kernel-dev-1fd82f3cafa8e7854db08eccbdb8a9218225e1ef.zip op-kernel-dev-1fd82f3cafa8e7854db08eccbdb8a9218225e1ef.tar.gz |
sky2: PCI irq issues
Add some read's to avoid any PCI posting issues when controlling
irq's.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/sky2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index e4e24ee..cc1c8d1 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c @@ -1495,6 +1495,7 @@ static int sky2_up(struct net_device *dev) imask = sky2_read32(hw, B0_IMSK); imask |= portirq_msk[port]; sky2_write32(hw, B0_IMSK, imask); + sky2_read32(hw, B0_IMSK); sky2_set_multicast(dev); @@ -1812,6 +1813,7 @@ static int sky2_down(struct net_device *dev) imask = sky2_read32(hw, B0_IMSK); imask &= ~portirq_msk[port]; sky2_write32(hw, B0_IMSK, imask); + sky2_read32(hw, B0_IMSK); synchronize_irq(hw->pdev->irq); |