summaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/vnic_intr.h
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2008-11-21 21:29:25 -0800
committerDavid S. Miller <davem@davemloft.net>2008-11-21 21:29:25 -0800
commit21fc578dcaa66dd30bad3c2f2cd7578e2865e8f2 (patch)
treed489df6cd83a4cc1cf3558898747404660c690a9 /drivers/net/enic/vnic_intr.h
parent845964515a76381e204d3399af82c149f8abcc1c (diff)
downloadlinux-21fc578dcaa66dd30bad3c2f2cd7578e2865e8f2.tar.gz
linux-21fc578dcaa66dd30bad3c2f2cd7578e2865e8f2.tar.bz2
linux-21fc578dcaa66dd30bad3c2f2cd7578e2865e8f2.zip
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,
static inline u32 vnic_intr_legacy_pba(u32 __iomem *legacy_pba)
{
- /* get and ack interrupt in one read (clear-and-ack-on-read) */
+ /* read PBA without clearing */
return ioread32(legacy_pba);
}