net/mlx4_core: Implement pci_resume callback
authorDaniel Jurgens <danielj@mellanox.com>
Wed, 20 Apr 2016 13:01:15 +0000 (16:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2016 19:02:39 +0000 (15:02 -0400)
commitc12833acff62cff83a8b728253e7ebbc1264d75e
treed5ec727e9459ba5b6fce7d54fb3bd93916624a15
parenta1459c1c9ebcd72f3d488fd10673e64b2bfcbd27
net/mlx4_core: Implement pci_resume callback

Move resume related activities to a new pci_resume function instead of
performing them in mlx4_pci_slot_reset.  This change is needed to avoid
a hotplug during EEH recovery due to commit f2da4ccf8bd4 ("powerpc/eeh:
More relaxed hotplug criterion").

Fixes: 2ba5fbd62b25 ('net/mlx4_core: Handle AER flow properly')
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Signed-off-by: Yishai Hadas <yishaih@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