net/mlx5_core: Modify enable/disable hca functions
authorEli Cohen <eli@mellanox.com>
Tue, 1 Dec 2015 16:03:08 +0000 (18:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 17:08:43 +0000 (12:08 -0500)
commit0b10710603b27e86ddd89fb87742997594892e50
tree97b1931e3276215d60a8f239d47e023dfdec0e7d
parent24e2416e5ad2142bd1ab71ed8344c3fb9001c0ca
net/mlx5_core: Modify enable/disable hca functions

Modify these functions to have func_id argument to state which device we
are referring to. This is done as a preparation for SRIOV support where
a PF driver needs to control its virtual functions.

Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h