projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0bad0f
)
sky2: PCI irq issues
author
Stephen Hemminger
<shemminger@vyatta.com>
Wed, 17 Jun 2009 07:30:34 +0000
(07:30 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 18 Jun 2009 01:46:50 +0000
(18:46 -0700)
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>
drivers/net/sky2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/sky2.c
b/drivers/net/sky2.c
index e4e24ee00fb2b27603d74459b22f01119a98b0bf..cc1c8d13845f99bcca52c546e94420fe0f10ba7e 100644
(file)
--- 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);