aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/vnic_intr.h
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2008-11-22 00:29:25 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-22 00:29:25 -0500
commit21fc578dcaa66dd30bad3c2f2cd7578e2865e8f2 (patch)
treed489df6cd83a4cc1cf3558898747404660c690a9 /drivers/net/enic/vnic_intr.h
parent845964515a76381e204d3399af82c149f8abcc1c (diff)
enic: misc cleanup items:
Clarrify reading PBA has no side-effect (clearing). Add missing GPL license text. Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/vnic_intr.h')
-rw-r--r--drivers/net/enic/vnic_intr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/enic/vnic_intr.h b/drivers/net/enic/vnic_intr.h
index ccc408116af8..ce633a5a7e3c 100644
--- a/drivers/net/enic/vnic_intr.h
+++ b/drivers/net/enic/vnic_intr.h
@@ -78,7 +78,7 @@ static inline void vnic_intr_return_credits(struct vnic_intr *intr,
78 78
79static inline u32 vnic_intr_legacy_pba(u32 __iomem *legacy_pba) 79static inline u32 vnic_intr_legacy_pba(u32 __iomem *legacy_pba)
80{ 80{
81 /* get and ack interrupt in one read (clear-and-ack-on-read) */ 81 /* read PBA without clearing */
82 return ioread32(legacy_pba); 82 return ioread32(legacy_pba);
83} 83}
84 84