]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Refactor mlx4_load_one
authorMatan Barak <matanb@mellanox.com>
Thu, 13 Nov 2014 12:45:30 +0000 (14:45 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Nov 2014 20:16:18 +0000 (15:16 -0500)
commit9d11c1b2aa4953699f031f78bb9e6f18c23f0b94
treed08477c1bd0d431303c10c13a60dddac8130cb80
parent6d3e9ac189b0db9f8776f28a20955a763c67f5b6
net/mlx4_core: Refactor mlx4_load_one

Refactor mlx4_load_one, as a preparation step for a new and
more complicated load function. The goal is to support both
newer firmware that required init_hca to be done before
enable_sriov and legacy firmwares that requires things to
be done the other way around.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/main.c