commit | 5ae2a7a836be660ff1621cce1c46930f19200589 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Mon Jun 18 08:15:02 2007 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Mon Jun 18 08:15:02 2007 -0700 |
tree | 655b94b9a016cec92f319761afe6bb3000f5f4fa | |
parent | 082dee3216c99a838af40be403799f60bcea2e97 [diff] |
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>