]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
i40evf: enable bus master after reset
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 23 Dec 2015 20:05:52 +0000 (12:05 -0800)
committerTim Gardner <tim.gardner@canonical.com>
Wed, 6 Apr 2016 09:20:20 +0000 (10:20 +0100)
commit7e2922b6521afdc0cd9fcb1d886e0553e9ff447b
tree4b195cf6897cdf34dfd45db19d9ef9eb34be296f
parentc8fb02233ed90a7bc6b11192df15a7aaacdd31a8
i40evf: enable bus master after reset

BugLink: http://bugs.launchpad.net/bugs/1547674
If the VF is reset via VFLR, the device will be knocked out of bus
master mode, and the driver will fail to recover from the reset. Fix
this by enabling bus mastering after every reset. In a non-VFLR case,
the bus master bit will not be disabled, and this call will have no effect.

Change-ID: Id515859ac7a691db478222228add6d149e96801a
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from net-next commit 509a447ae80c2e48b991fa7556a1b0d2a7ee8a51)
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c