aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/vnic_intr.c
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2009-09-03 13:02:35 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-03 23:19:23 -0400
commitd73149f51e165f5872bc431ae181650396145265 (patch)
treef737b65590919989546fdea996e76407e67b14d8 /drivers/net/enic/vnic_intr.c
parent9f63a7c6aef00a8eafa7521342099f199f68c575 (diff)
enic: changes to driver/firmware interface
Deprecate some old APIa; change arguments to stats dump all API; add new interrupt assert API 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.c')
-rw-r--r--drivers/net/enic/vnic_intr.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/enic/vnic_intr.c b/drivers/net/enic/vnic_intr.c
index ddc38f8f4656..1f8786d7195e 100644
--- a/drivers/net/enic/vnic_intr.c
+++ b/drivers/net/enic/vnic_intr.c
@@ -60,3 +60,8 @@ void vnic_intr_clean(struct vnic_intr *intr)
60{ 60{
61 iowrite32(0, &intr->ctrl->int_credits); 61 iowrite32(0, &intr->ctrl->int_credits);
62} 62}
63
64void vnic_intr_raise(struct vnic_intr *intr)
65{
66 vnic_dev_raise_intr(intr->vdev, (u16)intr->index);
67}