Yuval Mintz 5f6db130b5 bnx2x: More Shutdown revisions
Submission d9aee59 "bnx2x: Don't release PCI bars on shutdown" separated
the PCI remove and shutdown flows, but pci_disable_device() is still
being called on both.
As a result, a dev_WARN_ONCE will be hit during shutdown for every bnx2x
VF probed on a hypervisor (as its shutdown callback will be called and later
pci_disable_sriov() will call its remove callback).

This calls the pci_disable_device() only on the remove flow.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-01-27 12:57:31 -08:00
..
2014-01-27 12:57:31 -08:00
2014-01-16 16:22:53 -08:00
2013-12-11 00:19:17 -05:00
2014-01-23 13:28:29 -08:00
2014-01-23 16:13:09 -08:00
2014-01-17 18:13:58 -08:00
2013-08-30 17:43:38 -04:00
2013-08-30 17:43:35 -04:00
2013-11-07 02:14:32 -05:00
2013-08-11 21:38:12 -07:00