]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - drivers/net/ethernet/mellanox/mlx4/fw.c
mlx4_core: Check firmware command interface revision
authorRoland Dreier <rolandd@cisco.com>
Fri, 8 Jun 2007 06:24:36 +0000 (23:24 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 8 Jun 2007 06:24:36 +0000 (23:24 -0700)
commitfe40900f408642e772739088d30636e2f3f7d0d8
treee4fb317dcfd9c7145ab8a6a75f7e6c5a64e429d9
parent3e1db334dca97df9034ebeec4657329a2b37a811
mlx4_core: Check firmware command interface revision

HCA firmware with incompatible changes to the FW commmand interface is
coming soon.  Add a check of the interface revision during
initialization and bail out if the firmware advertises a revision that
the driver doesn't know about.  This will avoid strange failures later
if the driver goes on using the wrong interface revision.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/net/mlx4/fw.c