]> err.no Git - linux-2.6/commit
mlx4_code: Add missing FW status return code
authorJack Morgenstein <jackm@dev.mellanox.co.il>
Tue, 22 Jul 2008 21:19:39 +0000 (14:19 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 22 Jul 2008 21:19:39 +0000 (14:19 -0700)
commit899698dad72340b562478b8b770317f2f0fe0c09
tree117856054c5b6c41b3be86c43846abff004d9f39
parent47b374752aed1c029f995473c7c463ee3ae5fbaa
mlx4_code: Add missing FW status return code

Add ICM_ERROR firmware status code.  In mapping to errnos, -ENFILE
seems closest.

This is in preparation for providing more detailed log info using
mlx4_err() in low-level driver when a non-zero status is returned.

Signed-off-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/cmd.c