summaryrefslogtreecommitdiffstats
path: root/drivers/net/mlx4/en_resources.c
diff options
context:
space:
mode:
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>2009-04-20 04:30:03 +0000
committerDavid S. Miller <davem@davemloft.net>2009-04-21 01:47:05 -0700
commit966508f7a591399a0b0dcfc0336e88480e5ed520 (patch)
treecc76e654db0aeac2c124c59cbfe98cdbc0eb5169 /drivers/net/mlx4/en_resources.c
parent1e338db56e5a6a5bb93884c1fb3b0b9f01958f93 (diff)
mlx4_en: Assign dummy event handler for TX queue
The low level driver always assumes this handler exists. The lack of it could cause kernel panic Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/en_resources.c')
-rw-r--r--drivers/net/mlx4/en_resources.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/mlx4/en_resources.c b/drivers/net/mlx4/en_resources.c
index a0545209e50..65ca706c04b 100644
--- a/drivers/net/mlx4/en_resources.c
+++ b/drivers/net/mlx4/en_resources.c
@@ -94,3 +94,9 @@ void mlx4_en_unmap_buffer(struct mlx4_buf *buf)
vunmap(buf->direct.buf);
}
+
+void mlx4_en_sqp_event(struct mlx4_qp *qp, enum mlx4_event event)
+{
+ return;
+}
+