diff options
author | Yuval Mintz <[email protected]> | 2014-01-27 17:11:58 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-01-27 12:57:31 -0800 |
commit | 5f6db130b5dab96eb1fe6b2c1d1131a74149f949 (patch) | |
tree | 134ff10a15842cda7db8f92fd84a438112357a2d /lib/mpi/mpi-internal.h | |
parent | 27d79f3b1071b2a2d58443a130e92c381c838e5d (diff) |
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 <[email protected]>
Signed-off-by: Ariel Elior <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions