]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx4: Handle FW command interface rev 3
authorRoland Dreier <rolandd@cisco.com>
Mon, 18 Jun 2007 15:15:02 +0000 (08:15 -0700)
committerRoland Dreier <rolandd@cisco.com>
Mon, 18 Jun 2007 15:15:02 +0000 (08:15 -0700)
commitcb4f3dd795b47d6df6ea4d1f13139e1114b3d5fd
tree655b94b9a016cec92f319761afe6bb3000f5f4fa
parent49f53b03aef5e4abb82c8d0b36ae9c1b49ca3526
IB/mlx4: Handle FW command interface rev 3

Upcoming firmware introduces command interface revision 3, which
changes the way port capabilities are queried and set.  Update the
driver to handle both the new and old command interfaces by adding a
new MLX4_FLAG_OLD_PORT_CMDS that it is set after querying the firmware
interface revision and then using the correct interface based on the
setting of the flag.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/qp.c
drivers/net/mlx4/fw.c
drivers/net/mlx4/fw.h
drivers/net/mlx4/main.c
include/linux/mlx4/cmd.h
include/linux/mlx4/device.h