summaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/vnic_intr.c
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2009-09-03 17:02:35 +0000
committerDavid S. Miller <davem@davemloft.net>2009-09-03 20:19:23 -0700
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 ddc38f8f465..1f8786d7195 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)
{
iowrite32(0, &intr->ctrl->int_credits);
}
+
+void vnic_intr_raise(struct vnic_intr *intr)
+{
+ vnic_dev_raise_intr(intr->vdev, (u16)intr->index);
+}